1

I need to write selenium test scripts for an android app and test them using appium. I have so far written selenium test scripts for web applications where we perform "Inspect Element" to locate web elements and include them in our test scripts. But I have no idea how to locate the elements on the android app to write test scripts for it. Can anyone please tell me how to locate elements and write a selenium script for an android app???

1 Answer 1

1

Assuming you have Android SDK installed in you machine, please open uiautomatorviewer.bat file from /adt-bundle-windows-x86-20140702/sdk/tools and make sure that android app is running on the real device or mobile emulator. In order to start scripting for Mobile automation, you many want to refer the following link:Appium and Appium guide

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.