I want to test android app using selenium webdriver. I don't have source code. I have only apk file.
Question:
You may want to look at Appium if Selenium is what's most familiar to you. Appium allows you to use Selenium client libraries to automate Android apps.
You have an APK
file, therefore I'm going to assume you are trying to automate tests against an actual native Android application.
If so, Selenium is not what you want to be using. It is a web application automated testing framework. It isn't going to work with native applications.
Robotium, is probably the best one to be using for this:
https://code.google.com/p/robotium/
Set it up, come back and post a new question if you have any issues.
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