Version 8.0.1 |
Apart from defining single test cases you can also specify the entire test scenario in Excel files or even within your test management tool.
In our sample we will go on using Excel to keep things simple.
Of course it's also possible to use your testmanagement tool there.
For reasons of simplification we have used Excel files again. You can find a sample test suite at
qftest-8.0.1/demo/keywords/generic_with_scenario/
Keywords_With_Generics.qft
.
The scenario itself can be found in qftest-8.0.1/demo/keywords/generic_with_scenario/
scenario.xlsx
.
All used test cases are described in a separate excel file, see
qftest-8.0.1/demo/keywords/generic_with_scenario/
keywords-generic-testcases.xlsx
.
Please take care to copy the demo folder to a project-related folder first and modify them there.
The provided scenario consists of two test cases using the concept of generic procedures and components (see section 30.3). You can use any other approach, if you want.
Let's take a look at the scenario Excel file.
Figure 30.8: Excel file as scenario file |
The worksheet "Scenario" contains a column "testcase". This value will be used as variable later. Each subsequent row represents a test case name.
Those test cases correspond with the worksheets in keywords-generic-testcases.xlsx
.
The worksheets "tc_createvehicle" and "tc_createvehicle_cheap" contain the respective test case description.
How does the test suite look like?
Figure 30.9: Test suite scenario file |
| |||||||||||||||||||||||||
Table 30.6: Structure of Keywords_With_Generics.qft |
Last update: 9/10/2024 Copyright © 1999-2024 Quality First Software GmbH |
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.