3. Your Topic www.company.com
AGENDA
Introduction1
What is Appium?2
How does Appium work?3
Compare Appium versus other testing mobile tools4
Testing web and app on local and cloud5
Tips to work in automation testing on mobile6
2
5. Your Topic www.company.com
Introduction
• How does Appium work? • Can make a mobile
testing on local and cloud
• Basic knowledge to go further
• What is Appium? • Appium’s highlight
4
11. Your Topic www.company.com
What is Appium?
•Open-source tool
•Test native, hybrid application and mobile web on
both iOS and Android platform
•Support many program languages
•Cross-platform
12. Your Topic www.company.com
Native app
• applications
developed
specifically for a
mobile OS
• fastest, most
reliable and
responsive
experience
• cost more, and
take longer to build
Hybrid app
• websites packaged
into a native
wrapper
• save time, money,
easier to scale
• performance,
experience to user
Web app
• accessed via a
web browser over
a network
• doesn’t take
memory, storage,
simple
• can’t work offline,
lack of experience
to users
Web App, Native and Hybrid App
11
21. Your Topic www.company.com
Installation and Configuration For iOS device
1. Mac OS X 10.7 (minimum version required)
2. Enroll for iOS Developer program with valid Apple id account.
3. Download and Install Xcode updated version (prefer)
4. Create a provisioning profile for the launcher
5. Find UDID of iOS device
6. Turn on Web Inspector on IOS Device
7. Install brew
8. Install ios_webkit_debug_proxy
17
22. Your Topic www.company.com
Installation and Configuration for Android
1. Android SDK (install suitable packages)
2. Enable USB debugging option
3. Check the Google USB Driver box, and click the Install button
4. Create a provisioning profile for the launcher
5. Find UDID of iOS device
6. Turn on Web Inspector on IOS Device
7. Install brew
8. Install ios_webkit_debug_proxy
18
25. Your Topic www.company.com
Web
• Open google web
• Search “B4U Conference”
• Verify searching result
App
• Open app
• Go to a function
• Do some actions
• Verify the result
Scenarios
21
30. Your Topic www.company.com
Identify Element on Mobile Apps
1. Tools
• UIAutomator Viewer
• Appium inspector
• Chrome-devtools
2. Api
• getPageSource()
25
31. Your Topic www.company.com
Identify Element on Mobile Apps (Cont.)
1. By ID (resource-id)
2. By name (text)
3. By className (class)
4. By AccessibilityId (content-desc)
5. By AndroidUIAutomator
6. By Xpath
26