Application control statements perform actions at the application level.
| Statement | Description |
|---|---|
| BoundaryChecks | Activates or inactivates boundary checking for mouse coordinates, which prevents entering coordinates outside a control's boundary. |
| CaptureScreenshot | Captures a screenshot after a statement runs and saves it as a PNG file. |
| GetControlSearchTimeout | Returns the maximum time set to find a window or control in the application. |
| GetCurrentBrowserType | Returns an integer that indicates the browser running the script. |
| GetLowLevelSpeed | Returns the playback speed set for low-level actions. |
| GetPlaybackDelay | Returns the delay set between each statement. |
| GetPropertyMap | Returns a map of all property names and values from a window or control. Additional statements can be called on a PropertyMap, but are not available in the Add Statement dialog box. |
| GetPropertyNames | Returns an array of all property names from a window or control. |
| IgnoreAutocompleteDropDowns | Ignores autocomplete drop-down lists in web applications. |
| IsIgnoringAutocompleteDropDowns | Returns True or False to indicate if autocomplete drop-down lists are ignored. |
| Property | Returns a window or control property value. |
| Script.ClearContext | Terminates the existing connection to an application in the application repository. |
| Script.ClearLoadTestContext | Terminates the existing connection to an application in the application repository when running a load test. |
| Script.CloseApp
|
Closes all applications QA Wizard Pro is currently connected to. |
| Script.ConnectToProcess | Connects to an application running on the test computer. |
| Script.GetContext | Returns the application name and version number the script is running against. |
| Script.GetLoadTestContext | Returns the application name and version number the load test is running against. |
| Script.RunApp | Starts the application to use during playback. |
| Script.SetBrowser | Sets the browser used to run the script. |
| Script.SetContext | Establishes a connection to the application repository and specifies the application name and version to use. |
| Script.SetLoadTestContext | Establishes a connection to the application repository and specifies the URL and version number to use for a load test. |
| SetControlSearchTimeout | Sets the maximum time to wait for QA Wizard Pro to search for a window or control in the application. |
| SetLowLevelSpeed | Sets the playback speed of low-level actions. |
| SetPlaybackDelay | Sets the number of milliseconds to wait between statements during playback. |
| WaitForExists | Waits a period of time for a window or control to exist before continuing with the next statement and returns True or False to indicate if it is found. |
| WaitForExistsTimed | Waits a period of time for a window or control to exist before continuing with the next statement and returns the number of milliseconds it took to find it. |
| WaitForProperty | Waits a period of time to find a value in a window or control property before continuing with the next statement and returns True or False to indicate if it is found. |