get, runtime, x, coordinates, scriptless, script-less, scripted, step, view, stepview

Method GetRuntimeX

Returns runtime X coordinate, method has internal Exist() call for position recalculation.

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function GetRuntimeX( 
        Long MsTimeOut [Optional],
        Boolean Report [Optional]
)

Step

ZAP Object step

GetRuntimeX

1500

true

x

MsTimeOut

Report

Parameters

MsTimeOut (optional)

Type: Long

Default Value: -1

Optional timeout value in milliseconds

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Returns runtime X coordinate, 0 if object is not found

Example

VBScript

msgbox Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeX()

JavaScript

alert(Application("Demo").View("DemoView").Object("DemoObject").GetRuntimeX());

Comment

Fill all parameters

Script-Less next step

Step

ZAP Object step

GetRuntimeX

1500

true

x

Script-Less next step

Comment

First parameter is optional. Leave it empty

Script-Less next step

Step

ZAP Object step

GetRuntimeX

true

x

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552