You are reading the article Testlink Tutorial: A Complete Guide updated in September 2023 on the website Cersearch.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested October 2023 Testlink Tutorial: A Complete GuideWhat is TestLink?
Test-link is most widely used web based open source test management tool. It synchronizes both requirements specification and test specification together. User can create test project and document test cases using this tool. With Test-Link you can create an account for multiple users and assign different user roles. Admin user can manage test cases assignment task.
It supports both automated and manual execution of Test cases. The testers can generate Test Plan and Test Report in a fraction of the time with this tool. It supports test reports in various formats like Excel, MS word, and HTML formats. Apart from these, it also supports integration with many popular Defect tracking system like JIRA, MANTIS, BUGZILLA, TRAC, etc. Since it is a web based tool, multiple users can access its functionality at the same time with their credentials and assigned roles.
In this tutorial we will learnAdvantages of TestLink
It supports multiple projects
Easy export and import of test cases
Easy to integrate with many defect management tools
Automated test cases execution through XML-RPC
Easy filtration of test cases with version, keywords, test case ID and version
Easy to assign test cases to multiple users
Easy to generate test plan and test reports in various formats
Provide credentials to multiple users and assign roles to themLogin to TestLink
Step 1 : Open the Testlink home-page and enter the login details
Enter the userID – admin
Enter the passwordCreating a Test Project
This will create your project “Guru99” successfully.Creating a Test Plan
Test plan holds the complete information like the scope of Software testing, milestone, test suites and test cases. Once you have created a Test Project, next step is to create Test plan.
Step 4: Guru 99 Test Plan is created successfullyBuild Creation
A build is a specific release of a software
Enter the title name
Enter the description about the software release
Mark the check-box for status- Active
Mark the check-box for status- Open
Choose the date of release
Once you have a release the software it will appear like thisCreating Testsuite
Test suite is a collection of test cases which may be testing or validating the same component. Following steps will explain how to create test suite for your project.
Enter the test suite name
Enter the details about your test suite
You can see the test suite for Guru 99 is created
Your test suite appears on the left side of the panel under folder structure treeCreating a Testcase
Testcase holds a sequence of test steps to test a specific scenario with an expected result. Below steps will explain how to create a test-case along with test steps.
Step 4: Enter the details in the test case specification page
Step 7) It will open another window on the same page, in that window you have to enter the following details
Enter the step-action for your test case
Enter the details about the step action
Step 8) Once you save and exit the test step, it will appear like thisAssigning test case to test plan
For test case to get executed, it should be assigned to test plan. Here we will see how we can assign a test-case to test plan.
Step 3) New window will open, search your project “Guru99”
Mark the checkbox against your test plan
This will add your test case to your Test Plan.Creating Users and Assigning Roles in TestLink
Testlink provides User management and authorization features.
Below is list of default roles in Testlink and their rights –
Role Test Cases Test Metrics
Guest View View
Tester Execute View
Senior Tester Edit & Execute View
Leader & Admin Edit & Execute Edit & Execute
Here in the list, we can see the users have been created
Step 4: Allotting test project role to the user,
Choose the project name
Select the user role from the drop downWriting Requirements:
Step 1: From the navigation bar select the “Requirements Link”, it opens the Requirement page.
Step 3: A new window will open, enter all the details like
For the type, you can choose the option from the drop-down- here we chose “User Requirement Specification”
Step 4: It should create Requirement specification and displayed on the left side panel under the project “Guru99”.
Step 5: Select the setting button from requirements specification home-page. It will open another window.
Enter the document ID
Enter the title name
Enter the description
Enter the status-whether it’s in draft, rework, review, not testable, etc. Here we chose valid
Enter the type – user interface, non-functional, informational, feature, etc. Here we chose use case
Enter the number of test cases needed
Enter “Save” button at the end
On the left side of the panel, we can see that the requirement is added.
Assigning requirement to test-cases
In Testlink, Requirement can be connected to test cases. It is a very crucial feature in order to track test coverage based on requirements. In test reports, you can verify which requirements are not covered and act on them to apend in test suites for maximum test coverage
Step 2: To assign requirements specification to test case you have to follow the following steps
Scroll the drop down box to select the requirements specification
Mark the requirement checkboxExecuting a test case
In TestLink, we can run a test case and change execution status of a test case. Status of a test-case can be set to “blocked” “Passed”, or “failed”. Initially, it will be in “not run” status but once you have updated it, it cannot be altered to “not run” status again.
Step 2: Pick the Test case you want to run from the left side panel
Step 3: Once you have selected the test cases, it will open a window.
Step 4: Follow the following steps
Enter the notes related to test case executed
Select its statusGenerating Test Reports
Test link supports various test report formats like
Step 2: From the left side panel, select “Test Report” link
Step 3: To generate a report follow the following steps
Mark and unmark the option you want to highlight in your test report
The test report will look like thisExport Test case/ Test Suite
Testlink provides the features to export test projects/test suites in your Testlink and then you can import them into another Testlink project on different server or system. In order to do that you have to follow the following step
Step 1: Choose the test case you want to export in the Test specification page
Following XML is generatedImporting Test case/ Test suite
Step 1: Select the Test suite folder inside which you want to import the test case
Use the browse option to attach the XML test case file that you have exported from testlink
When you upload a file, it will open window stating import test cases
Step 5: Test case will be uploaded and displayed on the right-hand side of the panelSummary:
In this tutorial, we have covered various aspects of TestLink- like how you can use Testlink-as a test management. It explains you step by step how to manage test plan for your project, how to create a user and assign them their roles accordingly or even how to import or export test cases to your project. Other useful features like generating reports, defining requirement, etc. are also demonstrated well in this tutorial.
You're reading Testlink Tutorial: A Complete Guide
Update the detailed information about Testlink Tutorial: A Complete Guide on the Cersearch.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!