Delaying scenario test execution
You can delay the execution of a test to add latency to a web browser and actions on a web page. This prevents tests from failing when a dynamic web page does not load all page elements at once, but the test finds the page elements that render immediately.
Use this procedure to delay the execution of all the steps in all the scenario tests
in an application. To delay the execution of a specific step, configure the time of
delay on each step when you create or edit a scenario test.
Note: Delaying the
execution of a single step takes precedence over delaying all the steps at the
application level.
- In the header of Dev Studio, click .
- On the Application: Quality Settings page, in the Scenario test case execution section, select the Configure delay for scenario test execution check box.
- In the Milliseconds field, enter the number of milliseconds by which to delay the execution of all the steps in all your scenario tests.
- Click Save.