无论如何使用uiautomator android执行倾斜动作?我查看了 uiautomatorAPI,但找不到任何直接方法。
问问题
1814 次
1 回答
2
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
于 2013-08-11T11:41:47.513 回答