"SET_TIMEOUTS" Command

Description: This command allows default values for page timeout, locator timeout or Runtime Speed to be modified with "Manual" option for Web, Mobile and Desktop commands. In order to go back to default values set either in local or cloud runs, use "Default" option.

Usage Scenario: Suppose we want to navigate to Reference app and click a button which is not visible (so that full 5 second locator timeout period is reached) and change locator timeout to 10 seconds and click the button again so we can see the duration of each click step.

Procedure: Define your click step and enter locator timeout as 5 seconds in Manual option. Change the click steps to "Continue on failure" so that your execution will continue running. Your step will look like this:

image-20240606-172512.png

Sample SLL Snippet (Click Advanced View on your test and paste on Commands Editor tab)

WEB GOTO_URL "https://reference.subject-7.com" HALT ON ERROR WEB CLICK TARGET LOCATOR subject7_reference_general.button.login_button CONTINUE_WARN ON ERROR SET_TIMEOUTS MANUAL WEB LOCATOR_TIMEOUT 10 PAGE_TIMEOUT 30 RUNTIME_SPEED 200 HALT ON ERROR WEB CLICK TARGET LOCATOR subject7_reference_general.button.login_button CONTINUE_WARN ON ERROR

 

SLL stands for SQL-Like Language which is used to author steps in text.