Add or remove a step during execution
You can add or remove a test step on the fly, while the execution is running. All you need is a breakpoint to pause the test or wait until the run is complete.
To add a test step:
- Make sure the execution is running and on a breakpoint.
- If the execution is not on a breakpoint, add a breakpoint: Click the circle to the left of a test step and then wait until the test has reached that step and paused.
- Click an element in the browser.
- From the quick action bar, select the action to use, such as keyboard input, checking element text, or checking if an element is present.
- If the Add Flow Element dialog box opens, you may need to provide more information. For example, if your step involves keyboard input, enter information into the Keys to send field, and then click ADD.
- Verify that the element was added as a step in the left pane. The test should immediately proceed and display a checkmark next to the new step.
To remove a test step:
- Do one of the following:
- Make sure the execution is running and on a breakpoint. If the execution is not on a breakpoint, add a breakpoint: Click the circle to the left of a test step and then wait until the test has reached that step and paused.
- Wait until the test run has finished.
- In the left pane, click the test step you want to remove.
- At the top right of the test step, click the trash can icon.
- When prompted for confirmation, click YES.