Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android app test using selenium webdriver [closed]

I want to test android app using selenium webdriver. I don't have source code. I have only apk file.

Question:

  1. Is it possible to record the test steps and run it using selenium webdriver?
  2. Is it possible to test a android app using apk file and selenium webdriver?
like image 841
Sakib Espak Avatar asked Jan 14 '23 00:01

Sakib Espak


2 Answers

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.

like image 77
sah Avatar answered Jan 16 '23 02:01

sah


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.

like image 24
Arran Avatar answered Jan 16 '23 02:01

Arran