Method Close
Closes the application instanceUsage
Function Close(
Boolean Report [Optional],
Boolean DontWaitForObject [Optional]
)
Parameters
Report (optional)
Type: Boolean
Default value: true
Report this step into the Test Results
DontWaitForObject (optional)
Type: Boolean
Default value: false
By default, if the application window is not found, this step will wait 45 seconds before it gives up and moves on to the next one. Set this parameter to true if you do not wish to wait until the AUT window is found
Returns
No return value
Example
VBScript
Application("Demo").Close true, false
JavaScript
Application("Demo").Close(true, false);
Comment
Close application without any parameters