Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Aug 03, 2017 15:08

By Daniel Tourgman

How to get the device position through automation?

The device position can be retrieved by using the Device info function. Below you can find how to do it through automation.

Native Automation script:

 

 

UFTMobile:

 

'Retrieves the position property of the Device object.
Print Device("DUT").GetROProperty("position")