Studio:Script Timeout Considerations: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
| Yes
| Yes
|-
|-
| Script is run from within a test suite by clicking [[Image:Example.jpg]]
| Script is run from within a test suite by clicking [[Image:execute.bmp]]
| Yes
| Yes
|-
|-
| Script is run from within an Editor window by clicking [[Image:Run.png|This is the run button]]  
| Script is run from within an Editor window by clicking [[Image:Run.png]]  
| No
| No
|-
|-

Revision as of 18:18, 8 July 2008

File Properties | Overview: Script Files

The File Properties window allows you to set a timeout period in milliseconds for scripts to run, as well as specify a timeout script to run when the timeout period expires.

The following table describes the situations in which a timeout period applies or does not apply:

Action
Timeout Period Applies
Script is run from within another script using RunBlocking() Yes
Script is run by selecting the script in the Files Pane, right-clicking and choosing Run Yes
Script is run from within a test suite by clicking File:Execute.bmp Yes
Script is run from within an Editor window by clicking File:Run.png No
Script is run from within another script using RunNonBlocking() No
A timeout script is run No