Test link

60
TestLink – test management system

description

 

Transcript of Test link

Page 1: Test link

TestLink – test management system

Page 2: Test link

HOW TO WORK WITH TESTLINK

1. Create a Project2. Create Test Cases (Test Suites) for this

Project3. Create Test Plan4. Specify Build of the Project you are going to

test5. Add Test Cases to the Test Plan6. Assign Test Cases to Test Engineers7. Execute Test Cases (Test Engineers)8. See Reports and Charts

Page 3: Test link

HOW TO WORK WITH TESTLINK

Additional facilities: Assigning Keywords (we may form a group of

Test Cases for Regression tests) Specifying Requirements (we may bind them

with Test Cases in the many-to-many relation and see if our Test Cases cover our requirements)

Events log (you can see here the history of all the changes)

Page 4: Test link

STEP 1. CREATE A PROJECT

To create a project go to the Test Project Management section:

Page 5: Test link

STEP 1. CREATE A PROJECT

Page 6: Test link

STEP 1. CREATE A PROJECT. IMPORTANT FIELDS

Name ID (used for forming a unique Test Cases ID)E.g. ET-03 means that the Test Case is created

for Easy Test project and it has ID=3 Project Description (what is the aim of the

Project, what is the target group, what is the business logic, what is the Test Environment)

Page 7: Test link

STEP 1. CREATE A PROJECT. IMPORTANT FIELDS

Enhanced features: Requirements feature – we may specify

requirements and see if they are well-covered by Test Cases

Testing priority – we may assign priority to Test Cases (high, medium, low)

Test Automation – we may specify whether the test should be performed manually or automatically

Inventory – to tell the truth, I didn’t understand what it means

Page 8: Test link

STEP 1. CREATE A PROJECT. IMPORTANT FIELDS

You can now set this project here, like in Mantis, in the top right corner

Page 9: Test link

STEP 2. CREATE TEST CASES

Page 10: Test link

STEP 2. CREATE TEST CASES. CREATING TEST SUITE

Page 11: Test link

STEP 2. CREATE TEST CASES. CREATING TEST SUITE

Page 12: Test link

STEP 2. CREATE TEST CASES

Page 13: Test link

STEP 2. CREATE TEST CASES

Test Case Title Summary

Preconditions Execution type

(manual or automated) Test importance

(High, Medium or Low)

Page 14: Test link

STEP 2. CREATE TEST CASES

Page 15: Test link

STEP 2. CREATE TEST CASES

Page 16: Test link

STEP 2. CREATE TEST CASES

We may also import & export Test Suites & Test Cases (in the .XML format):

We import them from one project

And export the file in other

Unfortunately, now it’s the only way to transfer them from one project to another

Page 17: Test link

STEP 3.SPECIFY TEST PLAN

TestLink won’t allow you to execute Test Suites if you don’t create a Test Plan and specify Test Build.

How to do that? Elementary my dear Watson! Let’s begin from the Plan

Page 18: Test link

STEP 3.SPECIFY TEST PLAN

Page 19: Test link

STEP 3. SPECIFY TEST PLAN

Current Test Plan will appear in the top right corner

Page 20: Test link

STEP 4. SPECIFY BUILD After you’ve added a Test Plan menu for

adding Test Build appears:

Add a new build there

Page 21: Test link

STEP 4. SPECIFY BUILD

Page 22: Test link

STEP 5. ADD TEST CASES TO THE PLAN

Unfortunately, only Test Cases, not Test Suites or the whole Test Specification can be added to a Test plan. So, until you don’t select one separate TC the button “Add to Test Plans” will not appear.

Page 23: Test link

STEP 5. ADD TEST CASES TO THE PLAN

Then you can choose what Test Plans you want to add the selected TC to.

Page 24: Test link

STEP 6. ASSIGN TEST CASE EXECUTION TO TESTERS

Before assigning TC to testers you should create a DB of users with appropriate roles here:

Or here:

Page 25: Test link

STEP 6. ASSIGN TEST CASE EXECUTION TO TESTERS

Add the users you need filling in the form:

Page 26: Test link

STEP 6. ASSIGN TEST CASE EXECUTION TO TESTERS

Then you can assign TC execution here:

Page 27: Test link

STEP 6. ASSIGN TEST CASE EXECUTION TO TESTERS

You can assign test cases to testers and send them email notifiactions:

Page 28: Test link

STEP 7. EXECUTE TESTS To start executing tests Test Engineer should

go to test Execution section:

Then choose a TC and you will face:

Page 29: Test link

STEP 7. EXECUTE TESTS We may also connect TestLink with our bug-

tracking system Mantis, then during execution you will see:

Page 30: Test link

STEP 7. EXECUTE TESTSAfter click on

“Create new bug”,

creating the bug

using Mantis

user interface

and reorganinzing

the windows.

Page 31: Test link

STEP 7. EXECUTE TESTS Test engineer writes the issue ID on Testlink:

And it looks like here after saving:

Page 32: Test link

STEP 7. EXECUTE TESTS

Execution history is being saved:

Page 33: Test link

STEP 8. SEE REPORTS AND CHARTS

After test case execution is finished you may see the results of it using Test Reports section

Or here:

Page 34: Test link

STEP 8. SEE REPORTS AND CHARTS You’ll face the following page:

Page 35: Test link

STEP 8. SEE REPORTS AND CHARTS

Test Plan Rerport - the document has options to define a content and a document structure. You may choose the info you wanna get

and you will surely get it!

Page 36: Test link

STEP 8. SEE REPORTS AND CHARTS

Test Plan report (part of it)

Page 37: Test link

STEP 8. SEE REPORTS AND CHARTS The document 'Test Report' has options to

define a content and document structure. It includes Test cases together with test results.

Page 38: Test link

STEP 8. SEE REPORTS AND CHARTS Test result matrix

Page 39: Test link

STEP 8. SEE REPORTS AND CHARTS Charts

Page 40: Test link

STEP 8. SEE REPORTS AND CHARTS

Charts – results by tester (there are only unassigned test cases in the diagram):

Page 41: Test link

STEP 8. SEE REPORTS AND CHARTS

Charts – Results for top level suites:1. Log in the application2. News module

Page 42: Test link

STEP 8. SEE REPORTS AND CHARTS

Blocked, Failed, and Not Run Test Case Reports

These reports show all of the currently blocked, failing, or not run test cases.

E.g.

Page 43: Test link

STEP 8. SEE REPORTS AND CHARTS

General Test Plan MetricsThis page shows you only the most current

status of a Test plan by test suite, owner, and keyword.

Page 44: Test link

STEP 8. SEE REPORTS AND CHARTS

Query metrics – work like filters in Mantis

Page 45: Test link

STEP 8. SEE REPORTS AND CHARTS

Requirements based reportIf we have some requirements specified and

have connected them with TC we can see the following report:

Page 46: Test link

ADDITIONAL FACILITIES. ASSIGNING KEYWORDS

1. Go to the “Assign Keywords” section

2. Select some Test Suite and then you’ll be able o go to “Keywords Management”

Page 47: Test link

ADDITIONAL FACILITIES. ASSIGNING KEYWORDS

Add keywords if there are no KW at all or if there are no KW you need:

Page 48: Test link

ADDITIONAL FACILITIES. ASSIGNING KEYWORDS

Now you can add Keywords both to Test Suites & Test Cases, either all the Keywords (>>) or only one KW (>)

Page 49: Test link

ADDITIONAL FACILITIES. ASSIGNING KEYWORDS

Then you’ll be able to see such a useful chart demonstrating the Results by KW:

Page 50: Test link

ADDITIONAL FACILITIES. SPECIFYING REQUIREMENTS

You can open the section in this way:

Or in this:

Page 51: Test link

ADDITIONAL FACILITIES. SPECIFYING REQUIREMENTS

Requirements Specification adding

Page 52: Test link

ADDITIONAL FACILITIES. SPECIFYING REQUIREMENTS

Then we create Requirements:

Page 53: Test link

ADDITIONAL FACILITIES. SPECIFYING REQUIREMENTS

Then we create Requirements:

Page 54: Test link

ADDITIONAL FACILITIES. SPECIFYING REQUIREMENTS

Pay attention that there are different types of the Requirements:

Page 55: Test link

ADDITIONAL FACILITIES. SPECIFYING REQUIREMENTS

Then assign requirements to Test Cases:

Page 56: Test link

ADDITIONAL FACILITIES. SPECIFYING REQUIREMENTS

Select Test Suite or Test Case and assign it to 1 or more requirements (R. can be assign to TC in the relation man-to-many)

Page 57: Test link

ADDITIONAL FACILITIES. EVENTS LOG

Page 58: Test link

WHAT BENEFITS DO WE HAVE?

1. We have all the documentation structured and organized.

2. We solve the problem of version control.3. We can control the testing process (Events

log + different kinds of Reports)4. We can see if all the requirements are

covered with Test Cases5. We can select Test Cases for Regression

Testing6. We can see the results of testing in a very

clear and easy-to-use form.etc.

Page 59: Test link

SOURCES http://blog.testlink.org/ http://testlink.org/demo/ http://lib.custis.ru/TestLink#.D0.9D.D0.B0.D0.

B7.D0.BD.D0.B0.D1.87.D0.B5.D0.BD.D0.B8.D0.B5_.D1.82.D0.B5.D1.81.D1.82.D0.BE.D0.B2_.D0.B4.D0.BB.D1.8F_.D0.BF.D1.80.D0.BE.D0.B3.D0.BE.D0.BD.D0.B0

Page 60: Test link

THANK YOU FOR YOUR

ATTENTION!