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

Method GetRuntimeY

Returns runtime Y 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 GetRuntimeY( 
        Long MsTimeOut [Optional],
        Boolean Report [Optional]
)

Step

ZAP Object step

GetRuntimeY

1500

true

y

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 Y coordinate, 0 if object is not found

Example

VBScript

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

JavaScript

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

Comment

Fill all parameters

Script-Less next step

Step

ZAP Object step

GetRuntimeY

1500

true

y

Script-Less next step

Comment

First parameter is optional. Leave it empty

Script-Less next step

Step

ZAP Object step

GetRuntimeY

true

y

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552