QA Tools/HowTo Testlink
This page will guide you through the required steps to use Testlink
This is the URL http://testlink.openbravo.com/testlink/login.php to get the test link. Enter the Login Name and Password provided by the Openbravo to login to the testlink. Click the Login button.
After logging into the Testlink the page will appear as following.
Verify the Test Project is Community Sandbox.
Creation of a Test Suite
Now you are ready to upload a test suite with a set of Test cases. Click the "Specification" tab. If the test suite should come under 2.50 Test Suite then click the 2.50 Test Suite. Right side of the page we can see few buttons. Click the button New child Test Suite.
Enter the Test Suite Name as "New Test Suite" and click the button "Create Test Suite".
Creation of a Test Case
After creating the suite this will come under 2.50 Test Suite. Click this newly created suite. There you can see a button "Create Test Cases". Click the button Create Test Cases.
Here we can enter Test Case Title, Summary, Steps and Expected Results. Click the button "Create". After creating the testcase we will be able to view the test case has come under the suite "New Test Suite". But Still we need to check the check box "update tree after every operation". If we check this after a page refresh New Test Suite(1) will appear. Below to that the newly created testcase will appear. This means the test suite has one test case. If we create n number of testcases for this suite then this will have New Test Suite(n) will appear.
Creation of a Child Test Suite with Testcase inside
If we need we can create child test suite also for the suite New Test Suite. Click the "New Test Suite" and in the right side of the page click the button "New child Test Suite". Enter the Test Suite name as "child suite 1" and click the button "Create Test Suite". Now this child test suite will come under New Test Suite.
Click the child test suite and click "Create Test Cases". Here enter Test Case Title, Summary, Steps and Expected Results for the child test case. Click Create button and check the checkbox update tree after every operation.
Creation of Test Plan
By following the above steps we can create child suites and also test cases for the suites. Now it is time to create the Test plan for the test suite. Click the tab "Home" and click the folder "Test Plan Management" in Test Plan. There you can see number of Test plans.
Click Create button. Enter the name as "new project" and click Create button. The test plan will be created.
Go to the tab Home and select the test plan "new project" in the combo box Test plan.
Click "Add/Remove Test Cases" in Test Plan contents. We can see the newly created test suite there. Click the test suite. We can select there which test cases need to be added for this test plan and click the button "Add Selected".
Now the test cases came under the Test suite. The screen will appear as follows.
Creation of build for Test cases execution
We are ready to execute the test cases now. Click "Execute Tests" in Test Execution.
Click "Create a new build". In this window Enter the Title and Description as "New Test Build" and click the button "Create".
How To execute the testcases and report results
We can start execute the testcases and enter the results in this window. Once the testcase is executed successfully click the button "Passed" and Click "Save execution". If the testcase is failed then raise an issue in Mantis for the failure. This is where you can access the Mantis https://issues.openbravo.com. To report the issue in proper way follow the bug reporting guidelines http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines. After reporting the issue , an id will be generated for that issue. Click the button "Failed" , enter the issue id in Notes/Description and click "Save Execution". If the testcase is unable to run, Click the button "Not Run" and click "Save Execution". If the testcase is unable to test due to some other blocks then click "Blocked" and click "Save Execution".
New Test Suite contains 2 test cases. It is described as below New Test Suite (2) (2,0,0,0). The first 2 indicates the total no of testcases. The second 2 indicates the total no of testcases not run. The first 0 indicates no of testcases passed. The second 0 indicates no of testcases failed. The third 0 indicates no of testcases blocked.
For example if 1 testcase is passed and 1 testcase is failed the test suite will appear like following New Test Suite (2) (0,1,1,0)