Version 8.0.1 |
Describing test cases from business perspective using Behavior-Driven Testing (BDT) requires actions from a
user's point of view. So those actions contain several interactions likes mouse-clicks or text-inputs.
You can find a sample test suite at qftest-8.0.1/demo/keywords/behaviordriven_business/
BehaviorDrivenTesting-Business.qft
.
The respective test-plan can be found at qftest-8.0.1/demo/keywords/behaviordriven_business/
createvehicle-business.xlsx
.
Please take care to copy the demo folder to a project-related folder first and modify them there.
The "Create vehicle" test case looks like this if it's described in the BDT manner from a business perspective:
This approach uses the keywords Given
, When
, And
and Then
at the beginning of any sentence like the technical one.
The provided test suite therefore contains the packages Given
, When_And
and Then
.
Figure 30.7: Test suite Behavior-driven testing from business perspective |
In order to prevent annoying typos a Server-script read test steps and fix typos
formats any steps to lower case and tries
to replace multiple blanks by one. This script is called directly before the procedure call of $(teststep)
.
In order to run the test case on multiple test data the sample was extended.
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.