The document outlines mobile testing and automation, specifically focusing on Appium as an open-source test automation framework for native, hybrid, and mobile web applications. It discusses the benefits of automation testing, Appium architecture, desired capabilities, and provides a demo of the technology stack used. Additionally, it mentions AWS Device Farm for testing applications across various devices.
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.
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"
}
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