Studio:Script Timeout Considerations: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[#Ascript.Arguments|File Properties]] | [[#Ascript.Arguments|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:
The following table describes the situations in which a timeout period applies or does not apply:
Line 9: Line 6:
| width="100" bgcolor="#66ff99" | '''Timeout Period Applies'''<br>
| width="100" bgcolor="#66ff99" | '''Timeout Period Applies'''<br>
|-
|-
| Script is run from within another script using RunBlocking()  
| Script is run from within another script using RunBlocking() from Studio.
| Yes
| Yes
|-
|-
Line 21: Line 18:
| No
| No
|-
|-
| Script is run from within another script using RunNonBlocking()  
| Script is run from within another script using RunNonBlocking() from Studio.
| No
| No
|-
|-

Revision as of 18:59, 8 July 2008

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() from Studio. 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:RunAll.png Yes
Script is run from within an Editor window by clicking Run.jpg No
Script is run from within another script using RunNonBlocking() from Studio. No
A timeout script is run No