Appium Automated Testing Setup Part 1

— 2 min read

Appium Mobile testing

 

Appium is an open source mobile application UI Automated Testing framework. Appium allows native, hybrid and web It offers cross-platform application testing, i.e. single API works for both Android and iOS platform test scripts. It has NO dependency on Mobile device OS. Appium uses a framework or wrapper that will translate Selenium Webdriver commands into UIAutomation (iOS) or UIAutomator (Android) commands depending on the device type.

 

Visually it does this

Learn Automated Testing: Appium Process

Source: medium

Appium is a ‘HTTP Server’ written using the NodeJS platform and is using an Ios and an Android session via Webdriver JSON wire protocol. Before starting the Appium Server, Node.js must be pre-installed on the system. Appium supports all languages that have Selenium client libraries like- Java, Objective-C,Javascript with node.js, PHP, Ruby, Python,C# etc.

What are the requirements for running Appium

 

  1. Install ANDROID SDK (Studio) (see link)
  2. Install latest JDK (Java Development Kit) (see link)
  3. Install an IDE (applicable for Java development like Eclipse), or  in Javascript
  4. Install Nodejs  (see link)
  5. Install Selenium Server JAR (see link)
  6. Appium Client Library (see link for java client) or use webdriver.io to set it up
  7. Install Visual studio code or any or editor tool of your preference(see link)
  8. Install appium desktop (see link)

If you follow these steps you should be able to run appium and executed automated test successfully In the next section I will be showing how you can install appium desktop