Questions tagged [selendroid]

Selendroid is a test automation framework for native or hybrid Android apps and the mobile web.

Selendroid is a test automation framework which drives off the UI of Android native and hybrid applications (apps) and the mobile web. Tests are written using the Selenium 2 client API!

Selendroid can be used on emulators and real devices and can be integrated as a node into the Selenium Grid for scaling and parallel testing.

210 questions
1
vote
1 answer

Selendroid enter infinite loop when trying to start session

I was trying to start a tutorial with Selendroid, using maven. But it turns into an infinite loop when parsing the desired capabilities into JSONObjects in io.selendroid.standalone.server.handler.CreateSessionHandler line 43 : return new…
Incepter
  • 2,711
  • 15
  • 33
1
vote
3 answers

How to add allow site on location of chrome content setting with selenium

I want to add site "a.com" on mobile chrome using selenium. Option - [Advanced-content setting-location-ask before accessing-allow site] Because i want to rid of the popup on my testing Does anyone know?
LeBronPark
  • 15
  • 1
  • 4
1
vote
0 answers

Location permission in Android Automated test

I am new to Android Automated test. Currently I am writing a project which allows me to automated post staff on an Android app. I have tried using maven or gradle to build a Java project. And I used Selendroid to automated click the app on Android…
qwer1234
  • 11
  • 4
1
vote
1 answer

Can Selendroid be used to develop an app? (e.g. instead of WebView)

I developed an app using WebView, WebViewClient, WebChromeClient and many other classes... just to automate some aspect of web browsing. The implementation has become so cumbersome that I am thinking perhaps use Selenium instead to automate any…
WebViewer
  • 761
  • 7
  • 21
1
vote
1 answer

SelendroidDriver cannot be resolved

I am trying to test a Selendroid test on Eclipse and followed the necessary steps on how to run it. Unfortunately, the two libraries that are mentioned above cannot be resolved to a type. I have added all the necessary jar files in the build path…
1
vote
1 answer

Selendroid - Can't connect to Selendroid server, assuming it is not running

I'm trying to automate some actions in a browser, using selendroid. I managed to get the server going. If I go to http://localhost:4444/wd/hub/status, here's the…
icebox19
  • 493
  • 3
  • 6
  • 15
1
vote
2 answers

Not able to navigate in mobile chrome browser

I have the following code which will start an application and will switch to mobile chrome browser and will navigate to www.google.com DesiredCapabilities capabilities = new…
manutd
  • 291
  • 1
  • 5
  • 18
1
vote
0 answers

Does Selendroid require an android device?

Does Selendroid allow developers to run tests in a simulator or does the developer need an Android device? I am working on Mac, and I don't own an Android device, so I'm debating if Selendroid is a framework I can work with.
User
  • 23,729
  • 38
  • 124
  • 207
1
vote
1 answer

apk does not have INTERNET permissions. Selendroid needs internet permission to proceed

I am using android 4.1.2 whose APK level is 16. This is my python code: def setUp(self): "Setup for the test" desired_caps = {} desired_caps['automationName']='Selendroid' desired_caps['browserName']='' …
Karthik
  • 315
  • 1
  • 4
  • 16
1
vote
1 answer

Selendroid setup in Android Studio

Can I use to test my application using Selendroid by writing the test case in Android Studio. I couldn't find much examples and tutorials for the implementation for Android Studio. I've refer to these website for the initial…
Mei Yi
  • 341
  • 3
  • 14
1
vote
1 answer

How can I use selendroid and seleniumhq in same pom.xml?

I want to run in same time on PC browser and Mobile. How can I use selendroid and seleniumhq in same pom.xml I tried in my pom.xml to define dependencies like this org.seleniumhq.selenium
SelenUser
  • 638
  • 5
  • 13
1
vote
1 answer

Connection Error when starting selendroid server

I am trying to run android hybrid app tests with selendroid standalone server. When I start the server it successfully starts but I get the following error for the emulators. - WARNING: Could not get avdName for device emulator-5672…
xyz
  • 11
  • 1
1
vote
1 answer

Could not find load main class GridLauncher for selendroid grid

I want to test my native android app parallelly using Selenium grid .Is there any option to do the same in Selenium grid or in selendroid. I tried steps mentioned in selendroid.io/scale.html and i encounter below mentioned…
user2659110
1
vote
2 answers

WiFi connecting automation on Android

I am writing tests via Python + Selendroid. I am looking for way how to automate connecting Android device to Wi-Fi network. The product feature is: firstly we need to connect to X network, do something, and then connect to Y network. Does it…
yar_resh
  • 41
  • 5
1
vote
1 answer

Find if the Layout has particular text view or not

I am having Linear Layouts like this : Now some Linear Layouts have sub category and some don't have it. Similary some have discount and same don't have it. So when I do something like this : List allFieldsInLayout =…
GitCoder
  • 121
  • 2
  • 13