test case timeout

Description

Specify the timeout value for an individual test case.

Value units

seconds

Default value

0
Indicates an infinite timeout period.

Notes

  • Applies to TestArchitect 8.3 Update 4 and higher.
  • When this setting is not declared or its value is omitted, the value of 0 is used.
  • The specified timeout value affects all test cases, as well as the INITIAL and FINAL sections, as long as they are declared underneath the test case timeout setting. The test procedures which are declared above the built-in setting is unaffected by the timeout value.
  • The test case timeout setting, just like other built-in settings, once declared within a single test run, remains present throughout the execution of master test modules and subtest modules within the test run. If test case timeout is called twice in the master test module or the subtest modules, the second invocation merely assigns a new value to the existing timeout period.

Example

Suppose that you would like to set the timeout value, such as, 5 seconds, on all individual test cases, as well as INTIAL and FINAL.

When the timeout value of a test case is reached, the remaining lines of the timed-out test case stop instantly. The test run continues with the subsequent test case.

Action Lines

Result
When a test case timeout occurs, you will see the following warning message in test results. Additional, the test status is Not Finished.

The detailed log of the test execution, the Result Details tab, also informs a timeout event has occurred.