test case timeout

Specify the timeout value for an individual test case.
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 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
&nbsp		
	interface	
use interface	Car Rental	
&nbsp		
config		
        
    
        
        	window	control	value
enter	login	user name	john
enter	login	password	
&nbsp			
	window	control	
click	login	login	
        
    
        
        	window	control
click	welcome	view cars
&nbsp		
	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 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.

Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333