Studio:Script Timeout Considerations: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
m (Text replace - 'Category: Scripting' to 'Category:Studio:Scripting')
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[#Ascript.Arguments|File Properties]] | [[#Ascript.Arguments|Overview: Script Files]]
The following table describes the situations in which a script within [[STRIDE Studio]] timeout period applies or does not apply:


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:
[[Image:execute.bmp]]
{| cellspacing="0" cellpadding="10" width="100%" border="1"
{| cellspacing="0" cellpadding="10" width="100%" border="1"
|-
|-
Line 10: 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 '''studio.RunBlocking()'''.
| Yes
| Yes
|-
|-
Line 16: Line 12:
| Yes
| Yes
|-
|-
| Script is run from within a test suite by clicking [[Image:RunAll.png]]
| Script is run from within a test suite by clicking the [[Image:RunAll.png]] (Run All) button.
| Yes
| Yes
|-
|-
| Script is run from within an Editor window by clicking [[Image:Run.png]]  
| Script is run from within an Editor window by clicking the [[Image:Run.jpg]] (Run) button.
| No
| No
|-
|-
| Script is run from within another script using RunNonBlocking()  
| Script is run from within another script using '''studio.RunNonBlocking()'''.
| No
|-
| A timeout script is run
| No
| No
|}
|}


<br>
 
 
[[Category:Studio:Scripting]]

Latest revision as of 23:46, 20 August 2009

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

Action
Timeout Period Applies
Script is run from within another script using studio.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 the File:RunAll.png (Run All) button. Yes
Script is run from within an Editor window by clicking the Run.jpg (Run) button. No
Script is run from within another script using studio.RunNonBlocking(). No