What is Appium, Appium Setup for Mobile Automation?

Appium: It’s open-source mobile app automation engine. We can perform mobile app(Android & IOS) automation by code . It’s cross platform means we can use same command to perform actions Android or IOS Mobile Apps. It’s based on selenium web driver. Appium commands are superset of selenium commands. Appium support old and new W3C protocol.

Appium Server & Clients: It’s architecture very flexible & scalable. One Appium server work with multiple Clients with multiple language.  Helpful to run test remotely. You need to import few Appium client library .

Appium Drivers:  It support multiple Driver like Android Driver(Google UIAutomator, UIAutomator2 Driver, Google Expresso Driver) & IOS Driver(Apple XCUITest, XCUITestDriver), Windows App driver.

Appium Installation: IOS( Mac OS, XCode & IDE should be installed on machine. Carthage is required by Appium for internal operations & it’s require HomeBrew tool to install.) Android( Install Java, Android Studio, Install SKD tool like build tool, Emulator, platform tools).

Emulator Setup: Create a project in Android studio with No activity. Click on Device Manager Icon and create any virtual device . Select any api level to download & rename the emulator as Appium.

Download & Install Appium Desktop: Visit to link https://github.com/appium/appium-desktop/releases/tag/v1.22.3-4 and download Appium as per your OS. Run the setup. Check Android home and java home in edit configuration. Setup the Android Home and Java Home. Restart the server. Start the server and check Appium REST http interface listener started on 

Desire Capabilities & Session Setting:  We need to set few parameter for Appium server session like platfromName, platfromVersion, deviceName, app path as Capabilities. We will send all the defined capability in Appium Server session start.

      DesiredCapabilities capabilities = new DesiredCapabilities();



       capabilities.setCapability(“deviceName”,”Android Emulator (Appium)”);

       capabilities.setCapability(“app”,”apk path”);

We can start Appium session by using Appium driver: Android & IOS.

URL server=new URL(“http://localhost:4723/wd/hub”);  You can path Your Appium server path.

AndroidDriver driver=new AndroidDriver(server,capabilities);


Remaining part is next article.

Start typing and press Enter to search

Shopping Cart

No products in the cart.