Configuring timeouts for tests and test steps

You can configure timeouts for tests and individual steps to define the duration of the time that the system should wait before marking an action as failed due to timeout.

Before you begin

About this task

You can configure timeouts at two levels:
  • Test level: You can set a global timeout for the entire test by using the Configure settings and data step.

  • Step level: You can override the global timeout for individual steps directly within the step settings.

Procedure

  1. Click the Edit button displayed on the Test Editor page.

    The Edit button appears only when no active edit branch is selected.

    Alternatively, right-click the test in the test navigator panel and select Edit.

    The Edit branch dialog is displayed.
    If the Edit branch dialog is not displayed, then go to step 2.
  2. Perform any of the following actions:
    Action Description
    Configure timeout for the test Click the Configure settings and data step in Test Editor

    The timeout details are displayed with Duration and Unit fields. By default, the timeout is set to 30 seconds. You can select the Override Timeout checkbox to modify this value.

    Configure timeout for a test step Select a step and select the Advanced tab.

    The Timeout Details section including the Duration and Unit fields, is displayed.

  3. Select the Override Timeout checkbox.
  4. Specify the duration of time that Test Hub must wait for the step to be completed in Duration.
  5. Select the unit of time for the timeout in Unit.
  6. Optional: Select the Code checkbox to enter the timeout and unit.
  7. Close the step details pane.
  8. Click the Save icon to save the modifications.

Results

You have configured timeout settings for your test or individual test steps.