If you want to test the same workflow with varied test data, you can use test cases when building your UI tests.
Adding test cases to a test
1. Record or generate the steps you need for testing your workflow.
2. Open the test cases side panel by clicking on the table icon.
3. Click the "New test case" button. This will open the test cases table.
4. Click "Add variable" and supply a name.
β
5. Enter a value for your variable.
β
6. Add as many variables and values as required.
β
7. Add the variables to the relevant steps.
Test case variables can be inserted like any other test variable or you can create variables for test cases directly from a step.
Creating custom variables for test cases from a step
1. Type "{" in the step like you are inserting any other variable.
2. Click "New custom variable".
3. Name the variable and click "Create and insert".
4. The variable will be added to the test cases table.
Running tests with test cases
Tests containing test cases can be ran like any other test in three places.
1. From the builder. Here you can run individual test cases to check the test you are building or editing.
2. On demand from the test dashboard.
3. As part of a test job.
When you run a test on demand or as part of a test job, each of its test cases will run once. This means a test with ten test cases will run a total of ten times
β







