---
description: Have you ever developed an Android application and publish it to Google Play? What will you do if you get a user review like - When you publish an app to Google play, it must be well tested to avoid t
title: Selendroid Tutorial for Beginners with Example
image: https://www.guru99.com/images/1-2015/012615_0536_Introductio1.png
---

 

[Skip to content](#main) 

Have you ever developed an Android application and publish it to Google Play? What will you do if you get a user review like –

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio1.png)

When you publish an app to Google Play, it must be well tested to avoid the potential bugs. There’s a ton of test scenarios that should be executed before publishing an app. To save the[ Testing ](https://www.guru99.com/software-testing.html)effort, you need a testing tool. One of the best testing tools for Android app is **Selendroid.**

## What is Selendroid?

Selendroid is a test automation framework for multi-type of mobile application: **native** and **hybrid** Android app and **mobile** web.

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio2.png)

You can write the tests using the[ Selenium ](https://www.guru99.com/selenium-tutorial.html)2 client APIs. Because Selendroid still reuses of the existing Selenium infrastructure for the web

Selendroid is a powerful testing tool. It can be used on **emulators** and real **devices**

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio3.png)

## Why do we need Selendroid?

Selendroid is a great testing tool. But you may still doubt its usefulness.

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio4.png)

This section will introduce the important features of the Selendroid to answer the question why you need Selendroid.

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio5.png)

* You can test the application under test using Selendroid without any modification of the app. You just need the binary file ([APK](https://www.nextpit.com/android-for-beginners-what-is-an-apk-file)) installed on the computer. In order to install the binary file on the device, the test app and mobile app must be signed with same sign key
* Selendroid test app can interact with multiple devices or simulators simultaneously. It’s a great advantage of Selendroid. So you can test your app with various Android devices to check compatibility.
* Selendroid can simulate human-user actions on an app, such as touch, swipe, drag and drop on devices
* You can change the hardware devices (Plug and unplug) during the testing without restarting or stopping the test. Selendroid recognizes the new devices automatically
* Corresponding to the Android API version up, Selendroid also supports the new Android API (From API 10 to API 19)
* Selendroid also has some built-in inspector tool to help you identify the UI element of an application under test. For example the ID button, text field, text view…

### RELATED ARTICLES

* [Emulator vs Simulator – Difference Between Them ](https://www.guru99.com/real-device-vs-emulator-testing-ultimate-showdown.html "Emulator vs Simulator – Difference Between Them")
* [Free Mobile App Testing Tutorial ](https://www.guru99.com/mobile-testing.html "Free Mobile App Testing Tutorial")
* [Top 18 Appium Interview Questions and Answers (2026) ](https://www.guru99.com/appium-interview-questions.html "Top 18 Appium Interview Questions and Answers (2026)")
* [20 BEST Mobile App Development Tools & Software (2026) ](https://www.guru99.com/mobile-app-development-tools.html "20 BEST Mobile App Development Tools & Software (2026)")

## Selendroid Architecture

Selendroid is based on the [Android instrumentation framework](http://developer.android.com/tools/testing/testing%5Fandroid.html). Selendroid tests are written base on the Selenium Web driver client API, so it supports full integration with current Selenium frameworks.

The following figure describes the architecture of Selendroid

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio6.png)

Selendroid contains 4 major components:

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio7.png)

* Web Driver Client – The[ Java ](https://www.guru99.com/java-tutorial.html)client library based on Selenium. This library should be installed on the computer (which is used to develop the test cases)
* Selendroid-Server – The server which runs be in the app under test on Android device or simulator. This is the main components of a Selendroid architecture
* Android Driver-App – A built-in Android driver, Web View app to test the mobile web.
* Selendroid-Standalone – This component is used to install the Selendroid server and the application under test (AUT)

## Getting started with Selendroid

You already have known the importance of the Selendroid. Now let’s get our hands dirty with Selendroid.

There’re 3 steps should be done before the first test with Selendroid

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio8.png)

## Setting up a Selendroid environment

Selendroid can work on Window,[ Linux ](https://www.guru99.com/unix-linux-tutorial.html)and Mac OS. In this tutorial, we will setup Selendroid in Window OS.

Before using Selendroid, you need install following package first

[Java SDK](https://www.guru99.com/install-java.html) (minimum 1.6) 

You must accept the license agreement and download the java installer (Choose x64 or x86 base on your OS)

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio9.png)

Download and install the Java SDK as normal software 
* Latest version of [Android SDK](https://developer.android.com/studio?pkg=tools)
* Your computer must have at least one Android Virtual Device (AVD), or a real Android device plugged into the PC.
* [Selendroid Standalone with dependencies](https://github.com/selendroid/selendroid/releases/download/0.11.0/selendroid-standalone-0.11.0-with-dependencies.jar),[ Selendroid Client](https://repo1.maven.org/maven2/io/selendroid/selendroid-client/0.10.0/selendroid-client-0.10.0.jar), and [Selenium Client](http://selenium-release.storage.googleapis.com/2.44/selenium-java-2.44.0.zip)
* [Eclipse](https://eclipse.org/downloads/packages/eclipse-ide-java-developers/lunasr1) software
Set up the JAVA\_HOME and ANDROID\_HOME 

**Step 1)** On Window, right-click Computer **\->** Properties   **\->** Advanced System Setting

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio10.png)

**Step 2)** System Properties window display, select tab Advanced   **\->** Environment Variables

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio11.png)

**Step 3)** The Environment window display, click New   **\->** Enter a variable ANDROID\_HOME as following

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio12.png)

The variable value is the path to android-sdks which you already installed.

Find the system variable Path   **\->** Edit   **\->** Add the following line after the current line

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio13.png)

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio14.png)

Similar to ANDROID\_HOME, add new variable JAVA\_HOME with value as below

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio15.png)

The value is the Path to your Java JDK installation

Step 4) Restart your PC   **\->** Done 

## How to launch Selendroid

**Step 1) Getting an application under test** 

You can use existing Selendroid test app to check that how Selendroid works ([Link](http://search.maven.org/remotecontent?filepath=io/selendroid/selendroid-test-app/0.12.0/selendroid-test-app-0.12.0.apk) to sample application under test)

Once a download is complete, copy this APK and the above [Selendroid Standalone jar](https://github.com/selendroid/selendroid/releases/download/0.11.0/selendroid-standalone-0.11.0-with-dependencies.jar) file to a folder with the name “**Guru99″** 

**Step 2) Launch the Selendroid** 

Open the terminal on Windows & navigate to the folder Guru99 created in step 1.

Run the following command

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio16.png)

The output will display as following

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio17.png)

After running this command, Selendroid-standalone HTTP server starts! The default port number of this server is 4444\. All hardware device, as well as Android Virtual Device, will be scanned and recognized automatically. Selendroid will identify the Android target version and device screen size.

To check the Android target version as well as the device information, you can launch the following URL on a browser: `http://localhost:4444/wd/hub/status`.

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio18.png)

## Selendroid basic command

This section introduces you some basic Selendroid-Standalone command line. You may use them to set up the Selendroid testing environment

Setting port of Selendroid 

The default port of Selendroid is 4444\. But you can change to other port by adding a parameter to the command to launch Selendroid

Parameter: -port _\[port number\]_ 

For example:

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio19.png)

In above command, 5555 is the new port. 

So the URL to check the Android target version is changed to: `http://localhost:5555/wd/hub/status`

* Specify the location of the application under test (Binary APK file). Selendroid often required the absolute path for this file  
Parameter: -app _\[file path\]_  
For example:  
[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio20.png)  
In above command, the Selendroid automatically find the binary file base on the “C:\\Guru99App.apk” to get the information of the application under test.  
Check the URL `http://localhost:4444/wd/hub/status`, you will see this information  
[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio21.png)
Change the port the Selendroid uses to communicate with instrumentation server. Selendroid uses the port 8080 as the default 

Parameter: -selendroidServerPort _\[port number\]_ 

Example

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio22.png)

The port now is changed to 9000 Change the timeout to start emulators. The unit is milliseconds. 

Parameter: -timeoutEmulatorStart

By default, Selendroid will wait 300,000 milliseconds until the emulator starts. You can change to new timeout (200,000 ms) by command

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio23.png)

After this time our expired, if the emulator cannot start, the Selendroid will throw the exception error (Error occurred while looking for devices/emulators.) then stop running When you start the Selendroid command on terminal, you will see a log printed out on the screen. You can change the type of log you see by adding the following parameter 

Parameter: -logLevel _\[type of log\]_

The log level values are ERROR, WARNING, INFO, DEBUG, and VERBOSE. Default: ERROR.

For example, set Selendroid to print the WARNING log only, you can use this command

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio24.png)

The Selendroid only print the WARNING log 

## Start your first test with Selendroid

This section is a step by step guide to creating your first test script using Selendroid

Suppose we have an Android application under test name Guru99App. The application includes a text field and a button name “Show Text”.

[DOWNLOAD THE APK HERE](https://drive.google.com/uc?export=download&id=0B%5FvqvT0ovzHcWFpYeVN4Tmlwckk)

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio25.png)

We need to execute following[ Test Case ](https://www.guru99.com/test-case.html)using Selendroid

Test Cases

Condition

Expected output

1. Launch the application
2. Enter a text “**Guru99 Test**” to the text field
3. Press “Show Text” button

The binary of the application under test is available A device is connected to PC The text “Text Show here” is changed to the text 

which user enter in a text field 

**Step 1)** Create a Java project in Eclipse

**Step 2)** Add selenium and Selendroid jar file in eclipse environments

Right-click Guru99Test Project   **\->** Build Path   **\->** Add External Archives

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio26.png)

Navigate to the folder which stored the jar files

There’re 3 jar files should be added

* selendroid-client-0.10.0.jar : Selendroid java client library
* selendroid-standalone-0.11.0-with-dependencies : Selendroid standalone server library
* selenium-java-2.40.0.jar : Selenium Web Driver library

Select all   **\->** Choose Open to add a jar file to the project

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio27.png)

**Step 3)** after adding the above library, those libraries will be added to the Reference Libraries of the test project. A tester can use the APIs of those libraries to develop the test program

Create package “com.guru.test” and add java file “Guru99Test.java” like below

Right Click Guru99Test **\->** New **\->** Package

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio28.png)

Type com.guru.test to the Name field on New Java Package dialog à Finish

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio29.png)

The Eclipse will create list folders and subfolders like this in the source code structure

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio30.png)

**Step 4)** Install [TestNG](https://github.com/testng-team/testng) for Eclipse

In Eclipse, Help   **\->** Install New Software, in the Install Dialog, click Add and enter the following

* Name: TestNG
* Location: <https://github.com/selendroid/selendroid>

Press OK   **\->** Next to install the TestNG

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio31.png)

**Step 5)** Copy the Guru99App.apk to the folder of Test App

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio32.png)

**Step 6)** Get the ID of an application under test.

Suppose we have an APK file name Guru99App.apk. Follow the step which is described in previous section, execute the command on terminal

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio33.png)

Open following link in a browser: `http://localhost:4444/wd/hub/status`.

The information of the device is displayed, copy the appId value “com.guru99app:1.0”

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio34.png)

**Step 7)** Open the file Guru99Test.java (in the sample code) and change as following

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio35.png)

To create a new test session with Selendroid, you have to provide the app id in the format: com.guru99app:1.0\. This app Id can is identified in step 6\. If you don’t set the app Id matching the Android device, the test session will throw an error and will not start.

After initializing the found device, Selendroid creates a customized selendroid-server and installs the Selendroid server on it

Selendroid also installs the application under test and starts the selendroid-server on device

After initializing the test session successfully, the test command is started executing on a device. (Such as entering text, press button…). If the test appends the test session, the emulator will stop automatically

**Step 8)** Start the new test session

Launch the Selendroid server using the following command on terminal like step 6

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio36.png)

After the Selendroid Server started, open the sample test project Guru99test on Eclipse, set a breakpoint at line 77 on file Guru99Test.java by double click to the line 77   **\->** A dot will display like below

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio37.png)

Start a test session by right Click to Guru99Test project   **\->** Debug As   **\->**[ Testng ](https://www.guru99.com/all-about-testng-and-selenium.html)Test.

A test session will start like below

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio38.gif)

**Step 9)** Get the Id of GUI element of an application under test

After test session start successfully, open browser, navigate to the URL `http://localhost:4444/inspector`

You will see the Application Under Test is launched like below

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio39.png)

Use mouse hover to each UI element of AUT (Button, TextField, Text Label), the ID of each element will highlight on the right pane

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio40.gif)

After this step, you can get the ID of each above UI element

* Button Show Text ID: “**btnShow**“
* Text Field ID: “**edtText**“
* Label Text ID: “**txtView**“

Those IDs will be used in next step

**Step 10)** Enter the test program like below

A test program using Selendroid includes 3 sections

**Setup Test:** 

Following is the code for setup test, it will set up the condition for a test session.In case of an error, the Selendroid will throw the exception and the test app will stop.

The code includes the comments to explain each the statement.

package com.guru.test;
		
 import io.selendroid.SelendroidCapabilities;
		import io.selendroid.SelendroidConfiguration;
		import io.selendroid.SelendroidDriver;
		import io.selendroid.SelendroidLauncher;
		import io.selendroid.device.DeviceTargetPlatform;
		
		import org.openqa.selenium.By;
		import org.openqa.selenium.WebDriver;
		import org.openqa.selenium.WebElement;
		import org.testng.Assert;
		import org.testng.annotations.AfterSuite;
		import org.testng.annotations.BeforeSuite;
		import org.testng.annotations.Test;
		
 /**
		 * @author Guru99 Test App using Selendroid
			 * Application under test: Guru99App
		 *
		 */
		public
				class Guru99Test {
				
				     //Declare web driver variable
		    private WebDriver driver;
					   
   
		    /**
		     * Setup the environment before testing
		     * @throws Exception
			     */
		    @BeforeSuite
		    public
					void setUp() throws Exception {
							
        //Start selendroid-standalone during test
		        SelendroidConfiguration config = new SelendroidConfiguration();
			        
		      // Add the selendroid-test-app to the standalone server
		        config.addSupportedApp("Guru99App.apk");
			        
                 
		        //start the standalone server
		        SelendroidLauncher selendroidServer = new SelendroidLauncher(config);
			        selendroidServer.launchSelendroid();
		        
		       // Create the selendroid capabilities
		        SelendroidCapabilities capa = new SelendroidCapabilities();
			        
        
		       // Specify to use selendroid's test app
		        capa.setAut("com.guru99app:1.0");
			       
		       // Specify to use the Android device API 19
		        capa.setPlatformVersion(DeviceTargetPlatform.ANDROID19);
			        
		        // Don't request simulator, use real device
		        capa.setEmulator(false);
			        
         
		        //capa.wait(10000000);
		        
		        // Create instance of Selendroid Driver
		        driver = new SelendroidDriver(capa);
					       
		    }
		
**Execute Test** 

Below is the code to execute a test. The code includes the comments

Here are the test steps again

1. Enter the text “Hello Guru”
2. Click Show Text Button
3. Wait a while
4. Verify that the app displays the text as user enter to a text field (Ex. Display the text “Hello Guru”)

 /**
		     * Start execute the test case
		     * 01. Enter the text "Selendroid" to the textfield
		     * 02. Press OK button
		     * @throws Exception
			     */
		    @Test
		    public
					void selendroidTest() throws Exception {
							        
		        // Print the log 
		        System.out.print("Start executing test");
					        
		        // Find the input text field on screen
        // The id of this text field was get from step 9
		        WebElement inputField = driver.findElement(By.id("edtText"));
					        
		        // Verify that the text field enabled so user can enter text
		        Assert.assertEquals("true", inputField.getAttribute("enabled"));
					        
		        // Enter a text to text field
		        inputField.sendKeys("Hello Guru");        
			
         // click Show Text button
        // The id of this button was get from step 9
		        WebElement button = driver.findElement(By.id("btnShow"));
					        button.click();
		        
		        // Delay time to take effect
		        Thread.sleep(5000);
		        
		        //Find the label "Text Show Here" on screen
        // The id of this label was get from step 9
		        WebElement txtView = driver.findElement(By.id("txtView"));
					        
		        //Get the text display on screen
		        String expected = txtView.getText();
		        
		// Verify that the text which user enter on text field is same as text display on screen
		        Assert.assertEquals(expected, inputField.getText());        
		
     }

**Finish Test** 

The following code will complete the test by stopping the Selendroid driver.

 /**
		     * Stop the Selendroid driver
		     * 
		     */
		    @AfterSuite
		    public
					void tearDown() {
					        driver.quit();
			    }

You can see the detail in sample code included in this article.

**Step 10)** Connect Android device to the PC via USB cable. Points to observe –

* Please make sure the device has no screen lock configured.
* Devices must be plugged in via USB to the computer that the selendroid-standalone component is running on.
* The device should install at least Android Target Version API 10

**Step 11)** Run the Test App: Right click Guru99test   **\->** Run as   **\->** TestNG test

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio41.png)

**Step 10)** The Script start executed as following

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio42.gif)

**Step 12)** After test finishes execution, TestNG auto generates the test report as following

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio43.png)

[](https://www.guru99.com/images/1-2015/012615%5F0536%5FIntroductio44.png)

Good Job, you are done the test now.

## Summary

* Selendroid is a very powerful tool for testing Android native app, the hybrid app as well as the web app.
* It can be used on real devices as well as the simulator.
* It also allows you to run tests in parallel by running a test on multi devices.
* The entire Selendroid suite is comprised of four components:  
  * Web Driver client,
  * Selendroid-Server,
  * Android Driver App
  * Selendroid-stand alone
* To use Selendroid you need Java JDK, Android SDK and Eclipse installed.

#### Summarize this post with:

ChatGPT Perplexity Grok Google AI 

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.** 

##### Sign up for the newsletter

Subscribe for Free 

You have successfully subscribed.  
Please check your inbox. 

![AI-Newsletter]() Chosen by over **350,000+** professionals 

[Scroll to top ](#wrapper)Scroll to top 

× 

Toggle Menu Close 

Search for: 

Search

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/introduction-to-selendroid.png","url":"https://www.guru99.com/images/introduction-to-selendroid.png","width":"292","height":"180","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/introduction-to-selendroid.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/mobile-testing","name":"Mobile Apps Testing"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/introduction-to-selendroid.html","name":"Selendroid Tutorial for Beginners with Example"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/introduction-to-selendroid.html#webpage","url":"https://www.guru99.com/introduction-to-selendroid.html","name":"Selendroid Tutorial for Beginners with Example","dateModified":"2025-02-26T10:36:18+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/introduction-to-selendroid.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/introduction-to-selendroid.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/michael","name":"Michael Thompson","description":"I'm Michael Thompson, a software testing expert with over a decade of experience, sharing practical guides on functional testing and test automation.","url":"https://www.guru99.com/author/michael","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/michael-thompson-author.png","url":"https://www.guru99.com/images/michael-thompson-author.png","caption":"Michael Thompson","inLanguage":"en-US"},"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"Mobile Apps Testing","headline":"Selendroid Tutorial for Beginners with Example","description":"Have you ever developed an Android application and publish it to Google Play? What will you do if you get a user review like - When you publish an app to Google play, it must be well tested to avoid t","keywords":"mobile","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/michael","name":"Michael Thompson"},"dateModified":"2025-02-26T10:36:18+05:30","image":{"@id":"https://www.guru99.com/images/introduction-to-selendroid.png"},"copyrightYear":"2025","name":"Selendroid Tutorial for Beginners with Example","subjectOf":[{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Is Selendroid still maintained?","acceptedAnswer":{"@type":"Answer","text":"Selendroid is an older open-source Android test framework and is no longer actively maintained. Many teams now use Appium, which evolved from similar ideas and supports both Android and iOS."}},{"@type":"Question","name":"What is the difference between Selendroid and Appium?","acceptedAnswer":{"@type":"Answer","text":"Selendroid tests only Android native, hybrid, and web apps, while Appium is cross-platform, supporting Android and iOS. Both use the Selenium WebDriver API, but Appium has broader, ongoing support."}},{"@type":"Question","name":"What do you need to run Selendroid?","acceptedAnswer":{"@type":"Answer","text":"To run Selendroid you need the Java JDK, the Android SDK, and Eclipse, plus the Selendroid standalone and client JARs and the Selenium client. A real device or emulator is also required."}},{"@type":"Question","name":"How is AI used in mobile app test automation?","acceptedAnswer":{"@type":"Answer","text":"AI improves mobile testing by generating test cases, self-healing locators when UI changes, detecting visual defects, and prioritizing tests. This reduces maintenance and speeds up Android and iOS test automation."}},{"@type":"Question","name":"Can AI write Selenium or Selendroid test scripts?","acceptedAnswer":{"@type":"Answer","text":"Yes. AI assistants can generate WebDriver-based test scripts, suggest element locators, and convert manual test steps into automated code, helping testers build and maintain mobile automation suites faster."}}]}],"@id":"https://www.guru99.com/introduction-to-selendroid.html#schema-1126493","isPartOf":{"@id":"https://www.guru99.com/introduction-to-selendroid.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/introduction-to-selendroid.html#webpage"}}]}
```
