Skip to main content

Posts

Showing posts with the label Selendroid

Selendroid Setup for Mobile Web Automation

We have already covered Selendroid setup for native Android apps on  this article . As Selendroid can also be used for mobile web automation, we will see Selendroid setup to test hybrid/web application in this post. This setup process is performed on Android emulator. However, you can use actual device as well. We will use TestNG framework in our setup and write a test on Selenium WebDriver using Java. For our example, we have taken Google website where we will perform a simple search operation. But before we proceed further, let’s ensure we have below prerequisites met for Selendroid setup. Prerequisites: Java SDK installed in the system and JAVA_HOME configured to point to JDK. Android SDK installed in the system and ANDROID_HOME set. Selendroid client and server JAR files  and  TestNG JAR file . Eclipse ( with TestNG configured ) We can now start with Selendroid setup in Eclipse. Perform below steps for it. Start an emulator to run your test on or con...