Reputation: 13294
I am facing some Issue during Appium Testing Using UIAutomator
I need to Automate payment page but After try to take screenshot during testing it show me error .
Help me please.
Upvotes: 1
Views: 146
Reputation: 36
By Using UI Automator file upload feature you can upload screenshot manually .
adb shell uiautomator dump && adb pull /sdcard/window_dump.xml && start window_dump.xml UI hierchary dumped to: /sdcard/window_dump.xml
3.Its open xml in browser copy that path.
4.Open your UI Automator and click on file and upload button and add screenshot and xml file.
5.You can see you screen and Element in UI Automator Viewer Now.
for More details check below link also:-
https://medium.com/@sagartripathi/appium-android-using-uiautomator-using-image-upload-ae5943f747c6
Upvotes: 1