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

Does SelendroidDriver constructor requires two arguments to be passed? URL and capabilities?

As per the documentation, I see that SelendroidDriver requires two arguments to be passed. I am not sure if I have got confused, but the editor is simply not allowing me to add just driver = new SelendroidDriver(capa); When I mouse hover on the…
Sandeep
  • 153
  • 2
  • 4
  • 16
0
votes
0 answers

How to swipe a page from left ot right and vice-versa?

I have tried with below coding for swipe a page.But,it doesn't works for me.How can i make a swipe? //Swipe Right to Left side of the Media Viewer WebElement pages = driver.findElement(By.id("media-container")); TouchActions…
selvi
  • 1,271
  • 2
  • 21
  • 41
0
votes
1 answer

How to get the text from first column of the table?

I have tried with below coding to obtain the text from table.It works fine.But ,i want pick the data from first column alone.How can i grab the text from first column. . WebElement tableContents = pubDriver.findElements(By.id("view_table")); …
selvi
  • 1,271
  • 2
  • 21
  • 41
0
votes
2 answers

Setup Node for android on Selendroid on Selenium GRID

Setting up android as a node on Selenium GRID remains the last part by adding the .json configuration file to the selendroid .bat file left me confused. I ave tried it in several ways but still remain dump not responding as expected. These are the…
ken4ward
  • 2,246
  • 5
  • 49
  • 89
0
votes
0 answers

Selendroid file upload/download

How to perform file Upload and download in Selendroid with Java? I'm testing the mobile version of a site.. I did upload and download using Selenium webdriver, and it was working perfectly. Please give me a solution for upload/download in…
Ann
  • 1
  • 3
0
votes
1 answer

Selendroid server works manually, but not when starting it from code

So I'm having trouble here. When I manually start the selendroid server the tests run fine. When I'm starting the server from code it just fails. The code starts the server, the emulator boots up, it removes the screen lock and after that the test…
Madis Kangro
  • 293
  • 3
  • 12
0
votes
1 answer

How can I use wait condition?

First I have uploaded one image and then i made assertion to check my image get uplaoded or not in the same program itself.For that assertion ,I have defined following coding,but it throws the following error message as Failed tests:Timed out after…
selvi
  • 1,271
  • 2
  • 21
  • 41
0
votes
1 answer

Selendroid - How to capture logcat

I have a need to capture and parse information that is written to the logcat for the app that I am testing with Selendroid. I want capture the request response pairs that are sent to the web service that my mobile app uses. My mobile app records the…
user1469297
  • 101
  • 1
  • 2
  • 4
0
votes
1 answer

SelendroidDriver cannot be resolved to a type

SelendroidDriver cannot be resolved to a type. I am facing this problem in selendroid, when i am trying to crate a selendroid driver object using WebDriver driver = new SelendroidDriver(capa);. I have added both…
Poras Bhardwaj
  • 1,073
  • 1
  • 15
  • 33
0
votes
1 answer

isClickable with Selendroid

I am looking for a way in Selendroid to get the current view dump of an app running on real device. Now I know, that you can get the whole page source with driver.getPageSource() That is, what I am currently using. This method gives me an…
namarath
  • 121
  • 2
  • 10
0
votes
1 answer

Eclipse out of memory when trying to launch Selendroid application

I'm trying to implement an app following these instructions from Selendroid official website but I am not able to make it work. When I try to launch my app, Eclipse gets stucked in Launching 100% and I have to wait like 5-10 minutes until I can get…
lucasdc
  • 1,032
  • 2
  • 20
  • 42
0
votes
1 answer

What is the capture button element id in the view finder of the camera in selendroid. I am not able to inspect it

I want to know what is the capture button element id in the view finder of the camera in selendroid. I am not able to inspect it. How to inspect the system apps. Here I am invoking the camera native app through my application to store the photo. But…
Karjol GT
  • 1
  • 1
0
votes
1 answer

How to list the web element and how to click the particular link in a web page if we don't have id for that particular link in a web page?

I have tried with some coding.But ,I don't know how to render the web element and how to make the click event. List element=driver.findElement(By.cssSelector("")); //for loop el.click();
selvi
  • 1,271
  • 2
  • 21
  • 41
0
votes
1 answer

how to start selendroid inspector and find the webelement in UI

how to start selendroid inspector i am getting error "Selendroid inspector can only be used if there is an active test session running. To start a test session, add a break point into your test code and run the test in debug mode.
0
votes
1 answer

Is it possible to automate pre-installed android apps such as Gallery, Clock, etc. using Selendroid?

I am using Selendroid(and a Perl script) and want to know if it's possible to automate pre-installed android apps such as Gallery, Clock, etc. using Selendroid?