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
0
votes
1 answer

How to put App in Background&back to Foreground using Selendroid

How to put App in Background and back to Foreground using Selendroid Kindly advice me.
0
votes
1 answer

Can't find an element on a webview page of an android native app using Appium

I am not able to find the elements from android.webkit.webview package using java appium script. How to get the userText field and password field locators.so that i can pass the value to UI using the Appium script.
0
votes
1 answer

Unable to switch to WEBVIEW using Selendroid, getting WebDriverException

Im trying to automate hybrid application using Selendroid. Im getting exception at "driver.switchTo().window("WEBVIEW"). Below is the code. WebElement uname; WebElement password; @BeforeClass public static void setUp() throws Exception{ …
dheeraj
  • 324
  • 1
  • 9
0
votes
1 answer

Adding Selendroid to Android Studio gives error

I am trying to add Selendroid to my android application so that I can scrape dynamic web content. So, I added the Selendroid Standalone Jar from here, and then the client Jar from here. Now, when I run my project, the Gradle build seems to take much…
mlz7
  • 2,067
  • 3
  • 27
  • 51
0
votes
1 answer

Selendroid not able to find elements in webview

This may be strange question to ask. I am quite new to Mobile app testing. There are 2 hybrid apps.( One for Test purpose and one is deliverable app.) I am loading same URLs in WebView of both the apps. However, selendroid & appium are not able to…
MKay
  • 818
  • 9
  • 32
0
votes
0 answers

Getting an app in background on front using Selendroid

I am using Selendroid to test an android app. I am almost done with my test cases. But there is one situation when clicking on one button in the app opens up Play Store and I just want to go back to my app to continue my Test Cases. Please if anyone…
Sandeep Singh
  • 745
  • 4
  • 20
0
votes
0 answers

long press button can not precess

I am using selendroid and python to do automation test on the app, the app is running on Android system and on the SAMSUNG S6, I want to write a script to simulate the long press gesture on an element in the app. i am using TouchAction-> long_press…
user2823793
  • 203
  • 1
  • 2
  • 5
0
votes
2 answers

How to automate calculations in an Android calculator app using selenium or selendroid

I would like to automate the big calculation matrix[excel] which I have for testing using 'Selenium' in the native calculator app.
sun
  • 85
  • 1
  • 4
  • 15
0
votes
0 answers

Selendroid : Element not Found and refering to element id that i did not pass

Hi I am using selendroid to test my app but I am getting an error in that the element id is not found, and the id displayed in error is not passed by me anywhere in my code. Following is the trace of TestNG…
Sandeep Singh
  • 745
  • 4
  • 20
0
votes
1 answer

Selendroid wating for an element in native app

I am using Selendroid to test my android application. Its working fine but I am having a couple of problems. One is that when the app is opened an element is loaded after sometime, for now I am using Thread.sleep(); as a work around but I want to…
Sandeep Singh
  • 745
  • 4
  • 20
0
votes
1 answer

Add supported app at runtime in Selendroid

I'm using the code as from the Selendroid quickstart tutorial (pasted below) to launch the selendroid-standalone application. SelendroidConfiguration config = new SelendroidConfiguration(); // Add the selendroid-test-app to the standalone…
Riccardo T.
  • 8,907
  • 5
  • 38
  • 78
0
votes
0 answers

Test case fails while running from command line

I am new at selendroid and trying to run my tests using the command line. When I run my test from eclipse, it runs fine. But when I run them from the command line, they fail. I have already started the selendroid server. Please help me? What am I…
0
votes
0 answers

Selendroid: How to get image of RadioButton

I'm using selendroid to test native android application. I need to read displayed image of RadioButton (it's an icon that can change). I tried following approaches: 1) Using WebElement. WebElement interface doesn't have any method like getImage. I…
lopisan
  • 7,720
  • 3
  • 37
  • 45
0
votes
1 answer

Error occured while communicating with selendroid server on the device:

I am new in selendroid and i am getting following error when executed following script. I am working on selendroid for native app. It would be great if any one help me to solve this! Following is my script package com.peddlebuyer.test; import…
0
votes
0 answers

selendroid driver will get URL or not

I want to perform Webpage UI testing across browsers in Android Device using Selenium. So, I am using "Selendroid" to open the browser app(Firefox and Opera) unlike Chrome browser opened with chrome driver and I am getting the driver object for the…