is there anyway to perform tilt action using uiautomator android? I looked at the uiautomatorAPI but i am unable to find any direct method.
There are methods that change the device orientation. I assume this is what you want. You could try:
getUiDevice().setOrientationRight();
getUiDevice().setOrientationLeft();
getUiDevice().setOrientationNatural();
For more details on how to use them you can access the link: auiautomator UiDevice
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With