Method GetRuntimeY

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

Usage

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

Step

ZAP Object step

GetRuntimeY

1500

true

y

Long MsTimeOut [Optional]

Boolean Report [Optional]

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