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
2 answers

Getting index of Linear Layouts using appium

I am having LinearLayouts. So I want index of those Linear Layouts which have content-desc as "product-list". So what I did was : List allIdsOnCurrentScreen = driver.findElements(By.xpath("//*[@class='android.widget.LinearLayout']")); …
GitCoder
  • 121
  • 2
  • 13
1
vote
1 answer

Unable to click a webelement using selendroid . But Selendroid is able to identify that the Ui Element exists

Selendroid is unable to click on a UI Element in WebView, but is able to identify the web element. Following is the stack trace . Please help. org.openqa.selenium.WebDriverException: CATCH_ALL: java.lang.NumberFormatException: Invalid int:…
Sagar Raj
  • 11
  • 1
1
vote
0 answers

Selendroid Inspector tree Internal Server Error

I've successfully loaded my test app on Android emulator and real device using Selendroid. When i run my test case in debug mode and get into the inspector, the left panel (app's image) works fine, but loading the tree gets 500 error, Internal…
Avraham
  • 11
  • 1
1
vote
0 answers

Appication hangs when switching to Web View in Selendroid

I am trying to test Hybrid App with Selendroid. When I am switching to Web View with driver.switchTo().window("WEBVIEW"); it does not give any error on switching , however , my application hangs and do not open any web page. What could be the…
MKay
  • 818
  • 9
  • 32
1
vote
1 answer

How to do swipe gestures using selendroid web driver?

I have tried with below codings for swiping a mobile pages. While running the test case, the swipe action doesn't occurs and i am also not getting any error message. 3.How can I swipe on both side from left to right and vice-versa. 1. //Swipe…
1
vote
0 answers

How to get the size of an article has been displayed in the mobile web page using java?

I want to get an total article size that get displayed in the mobile web page using java in selendroid web driver. My mobile page contains an article exactly 21 articles. But, in page view it displays only 10 articles. Next 11 get displayed in the…
1
vote
1 answer

Selendroid server can't start on device: Permission Denial: starting instrumentation

Looking at automating our android device testing using Selendroid. As I'm just at the research phase I'm using the selendroid-test-app downloaded from their website. I recently got a new machine. My code and setup worked just fine on the previous…
RekaB
  • 438
  • 5
  • 14
1
vote
0 answers

Selendroid: Deleted AVD's from AVD Manager but they are still displayed in http://localhost:4444/wd/hub/status

Step 1 : java -jar selendroid-standalone-0.15.0-with-dependencies.jar -app app-release.apk When I run the server from command prompt I see expected one Nexus_5_API_17 device is displayed in log. Step 2:checking local host status…
DEN24
  • 11
  • 1
1
vote
0 answers

Not able to click on a Iframe button– Java- Appium

I was trying to click on a button which is present inside an Iframe. Test is showing successful but not clicking on that button. I am writing scripts using Java. Please find the below code. First I switched to webview from native app…
1
vote
2 answers

Unable to find IDs of a hybrid App

I have been using Selendroid; it works perfectly for native apps, but for some of the hybrid apps, it is not working properly. With the Employee Directory.apk, Selendroid Inspector works fine (able to get all the IDs), but for another hybrid app…
1
vote
0 answers

Setup test environment using Selendroid, Selenium Grid in Android Studio

Just a quick one, I want to setup test environment for mobile testing using Selenium Grid, Selendroid in the android Studio environment. Does anyone have detail tutorial, video or a presentation that can serve for easy learning?
1
vote
2 answers

Getting Selendroid standalone to run, Command 'aapt' was not found inside the Android SDK

I have been trying to work on things using selendroid, but I can't get the standalone to run. I have been trying to run the command "java -jar selendroid-standalone-0.15.0-with-dependencies.jar -app selendroid-test-app-0.14.0.apk". But I just keep…
user2217874
  • 141
  • 4
  • 11
1
vote
1 answer

Is it possible to verify toast in appium, using selendroid mode?

Is it possible to verify toast in appium, using selendroid mode? If it does, can someone explain how it's done?
yatestUser
  • 41
  • 4
1
vote
1 answer

Appium : unable to run script in multiple android device connected

Created multiple instance of appium. from console i run : node . -p 4722 -U Z*****K --chromedriver-port 9 515 -bp 2251 node . -p 4723 -U T*****K --chromedriver-port 9 516 -bp 2252 Instances are created on both the devices but the URL opens only on…
Arpan Buch
  • 1,380
  • 5
  • 19
  • 41
1
vote
0 answers

How to loop the drop down option elements?

I am having a table which contains 3 columns.In the 3rd column i am having dropdown menu.I want to choose delete option.I need to loop the dropdown to delete the all element.So i tried to loop the element by using id Actions.I have tried to get the…
selvi
  • 1,271
  • 2
  • 21
  • 41