fbpx

Method Close

Closes the application instance

Usage

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);

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo