Method GetRuntimeY
Returns runtime Y coordinate, method has internal Exist() call for position recalculation.Usage
Function GetRuntimeY(
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