Test for Android apps using selenium webdriver

I want to test an android application using selenium webdriver. I have no source code. I have only apk file.

Question:

  • Can I record the test steps and run it using the WebDriver selenium?
  • Is it possible to test an Android application using apk file and selenium webdriver?
+4
source share
2 answers

You can watch Appium if Selenium is what you are most familiar with. Appium allows you to use Selenium client libraries to automate Android applications.

+5
source

You have an APK file, so I'm going to assume that you are trying to automate tests against a real Android application.

If so, Selenium is not what you want to use. This is an automated web application testing system. It will not work with native applications.

Robotium is probably the best you can use for this:

https://code.google.com/p/robotium/

Install it, go back and send a new question if you have any problems.

+4
source

Source: https://habr.com/ru/post/1489637/


All Articles