test case timeout
Specify the timeout value for an individual test case.
Default Value: 0 seconds (Indicates an infinite timeout period)
Default Value: 0 seconds (Indicates an infinite timeout period)
Suppose that you would like to set the timeout value, such as, 5 seconds, on all individual test cases, as well as
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.
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.
setting value
setting test case timeout 5
 
interface
use interface Car Rental
 
config
window control value
enter login user name john
enter login password
 
window control
click login login
window control
click welcome view cars
 
window
check window exists view cars
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.
- 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
andFINAL
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.