TABLE OF CONTENTS
2. How to Generate Test Cases?
1. Overview
Once the scenario is recorded using FollowMe feature, the next step is generating test cases.
Test cases are generated with BDD format in Gherkin language (GWT).
Example of Feature File generated in BDD format:
Given I have access to an application When I selected a Button in file And I selected New File in file Then verify New page is displayed in file |
The generated test cases will be stored in the Test Cases Folder.
You can generate test cases using Generate button. To access Generate button, navigate to Main canvas > click Generate button.
2. How to Generate Test Cases?
To generate a test case, perform the following:
- In the Main canvas, click Generate button.
- Click OK.
- The generated test cases are stored in the Test Cases folder. This folder includes a spreadsheet which contains GWT steps in XLSX or XLS format and Feature File in TXT format.
Note that .xls file supports storage up to 7000 rows (GWT lines) of data. You can modify and save the lines, download the file without any issues. - Test Case Generation might fail for the following reasons:
If you have not selected the feature of a particular scenario to generate test cases.
If you have not selected the mapped UI elements in a Node.
If you have not selected the required scenarios in the Edit Scenario.
For more information, see Test Case Generation Issues.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article