|This method is available in legacy mobile tests that work with devices connected to the local computer. To learn how to simulate user actions in newer cloud-compatible mobile tests, see the Simulating user actions in tests section.|
Use this method to get coordinates relative to the mobile device's screen from coordinates that are relative to the object.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameters:
Specifies the horizontal coordinate of the point that is relative to the mobile object.
The vertical coordinate of the point that is relative to the mobile object.
Point object that contains the resultant screen-related coordinates.