The following steps explain how to create test steps using BDD Gherkin scripts.
-
Open a test case, and click the Test Script tab.
-
Select BDD - Gherkin from the Type dropdown.
The Gherkin editor appears. -
Write your test case. Remember not to include Feature or Scenario.
-
Click Save when you are finished, and close the test case.
-
Click More > Export Feature Files (BDD - Gherkin) to download the feature file for your new test case (or the selected test cases).
The zip file downloads to your computer. Developers using your company’s supported BDD tool can reference this information when writing automated tests related to the test case.