close, exit, shutdown, scriptless, script-less, scripted, step, view, stepview

Method Close

Closes the application instance

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Close( 
    Boolean Report [Optional],
    Boolean DontWaitForObject [Optional]
)

Application

Close

true

false

Report

Boolean DontWaitForObject

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

Application

Close

Comment

Remove this step from report

Application

Close

false

false

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227