Abhishek Baranwal
Software Consultant
Knoldus Inc.
Automation with
Appium
Our Agenda
01 Mobile Testing
02 Automation Testing
03 Introduction To Appium
04 Appium Architecture
05
Demo
06 Capabilities
08
Why Appium
09 Bonus
Mobile Testing
● Mobile application testing is a process by which application software developed for
handheld mobile devices is tested for its functionality, usability and consistency.
● Mobile application testing can be an automated or manual type of testing.
Types Of Mobile Testing
● Hardware Testing
● Software or Application Testing
Automation Testing
Automation testing can be achieved by writing test scripts or using any automation testing tool.
Test automation is used to automate repetitive tasks and other testing tasks which are difficult to
perform manually.
Benefits:
● ROI
● RUNNING TESTS 24/7:
● REUSABILITY
● BUGS
● RELIABILITY , etc.
What is Appium?
Appium is an open source test automation framework for use with native, hybrid and mobile web
apps.
It drives iOS, Android, and Windows apps using the WebDriver protocol.
Appium Clients
● client libraries (in Java, Ruby, Python, PHP, JavaScript, and C#) which support Appium's
extensions
Appium Desktop
● GUI wrapper around the Appium server that can be downloaded for any platform.
Appium Architecture
Why Appium??
Desired Capabilities
Desired capabilities are a set of keys and values (i.e., a map or hash) sent to the Appium server to tell the
server what kind of automation session we're interested in starting up.
E.g.
{
"platformName": "iOS",
"platformVersion": "11.0",
"deviceName": "iPhone 7",
"automationName": "XCUITest",
"app": "/path/to/my.app"
}
Demo: Supportive Stacks Used
● JAVA 8
● ANDROID SDK
● ADB
● MAVEN
● ALLURE
● TESTNG
BONUS: AWS Device Farm
AWS Device Farm is an app testing
service that lets you test and interact with
your Android, iOS, and web apps on many
devices at once, or reproduce issues on a
device in real time.
● View video
● Screenshots
● Logs
● Performance data
How it Works
References
● http://appium.io/docs/en/about-appium/intro/
● https://aws.amazon.com/device-farm/
● https://medium.com/@kokodede/running-automation-tests-on-aws-
device-farm-using-appium-and-testng-ae0445689c26
Thank You!

Automation With Appium

  • 1.
  • 2.
    Our Agenda 01 MobileTesting 02 Automation Testing 03 Introduction To Appium 04 Appium Architecture 05 Demo 06 Capabilities 08 Why Appium 09 Bonus
  • 3.
    Mobile Testing ● Mobileapplication testing is a process by which application software developed for handheld mobile devices is tested for its functionality, usability and consistency. ● Mobile application testing can be an automated or manual type of testing. Types Of Mobile Testing ● Hardware Testing ● Software or Application Testing
  • 6.
    Automation Testing Automation testingcan be achieved by writing test scripts or using any automation testing tool. Test automation is used to automate repetitive tasks and other testing tasks which are difficult to perform manually. Benefits: ● ROI ● RUNNING TESTS 24/7: ● REUSABILITY ● BUGS ● RELIABILITY , etc.
  • 7.
    What is Appium? Appiumis an open source test automation framework for use with native, hybrid and mobile web apps. It drives iOS, Android, and Windows apps using the WebDriver protocol. Appium Clients ● client libraries (in Java, Ruby, Python, PHP, JavaScript, and C#) which support Appium's extensions Appium Desktop ● GUI wrapper around the Appium server that can be downloaded for any platform.
  • 8.
  • 9.
  • 10.
    Desired Capabilities Desired capabilitiesare a set of keys and values (i.e., a map or hash) sent to the Appium server to tell the server what kind of automation session we're interested in starting up. E.g. { "platformName": "iOS", "platformVersion": "11.0", "deviceName": "iPhone 7", "automationName": "XCUITest", "app": "/path/to/my.app" }
  • 11.
    Demo: Supportive StacksUsed ● JAVA 8 ● ANDROID SDK ● ADB ● MAVEN ● ALLURE ● TESTNG
  • 12.
    BONUS: AWS DeviceFarm AWS Device Farm is an app testing service that lets you test and interact with your Android, iOS, and web apps on many devices at once, or reproduce issues on a device in real time. ● View video ● Screenshots ● Logs ● Performance data
  • 13.
  • 14.
    References ● http://appium.io/docs/en/about-appium/intro/ ● https://aws.amazon.com/device-farm/ ●https://medium.com/@kokodede/running-automation-tests-on-aws- device-farm-using-appium-and-testng-ae0445689c26
  • 15.