TestCoeUs1337
11 months agoOccasional Contributor
Parametrising just one step while using BDD does not work for me
Hello everyone, my issue is: Im trying to run tests using BDD and javascript I got a step Then <user> is present in the results: | user | | User1 | | User2 ...
- 11 months ago
See Gherkin Syntax in TestComplete, you need to use the keyword Examples.
For example,
Scenario Outline: Check discounts Given The list of orders is clear And I select Edit > New Order from the main menu And The New Order form is visible When I enter <Count> in the Quantity text box Then The Discount label should display the <Percent> value Examples: | Count | Percent | | 10 | 7 | | 20 | 10 | | 30 | 15 |