APPIUM Tutorial For Beginners

APPIUM is a freely distributed open source mobile application UI Testing framework.

Appium allows native, hybrid and web application testing and supports automation test on physical devices as well as on emulator or simulator both.

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. Because, APPIUM has framework or wrapper that translate Selenium  Webdriver commands into UIAutomation (iOS) or UIAutomator (Android) commands depending on the device type not any OS type.

Appium supports all languages that have Selenium client libraries like- Java, Objective-C, JavaScript with node.js, PHP, Ruby, Python, C# etc.

APPIUM Design Concepts


  • Appium is an 'HTTP Server' written using Node.js platform and drives iOS and Android session using Webdriver JSON wire protocol. Hence, before initializing the Appium Server, Node.js must be pre-installed on the system.
  • When Appium is downloaded and installed, then a server is setup on our machine that exposes a REST API.
  • It receives connection and command request from the client and execute that command on mobile devices (Android / iOS).
  • It responds back with HTTP responses. Again, to execute this request, it uses the mobile test automation frameworks to drive the user interface of the apps. Framework like:-
    • Apple Instruments for iOS (Instruments are available only in Xcode 3.0 or later with OS X v10.5 and later)
    • Google UIAutomator for Android API level 16 or higher
    • Selendroid for Android API level 15 or less
  • Prerequisite to use APPIUM

    1. ANDROID SDK [Link]-
    2. JDK (Java Development Kit) [Link]
    3. TestNG [Link]
    4. Eclipse [Link]
    5. Selenium Server JAR [Link]
    6. Webdriver Language Binding Library [Link]
    7. APPIUM For Windows [Link]
    8. APK App Info On Google Play [Link]
    9. Node.js (Not Required - Whenever Appium server is installed, it by default comes with "Node.exe" & NPM. It's included in Current version of Appium.)

Comments

Post a Comment

Popular posts from this blog

Handling Dynamic Web Tables Using Selenium WebDriver

Verify Specific Position of an Element

Read it out for TESTNG before going for an iterview