更新时间:2021-07-02 20:35:08
coverpage
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Introduction to Appium
Native app
Mobile Web app
Hybrid app
Appium architecture
XCUITest
UiAutomator 2
Pros of using Appium
Summary
Setting Up the Machine
Machine setup for macOS
Installing Java
Installing Android SDK (using the Android command-line tool)
Installing Android SDK (using Homebrew) (Optional)
Creating Android Virtual Device (Optional)
Genymotion emulator
Debug help
Installing Appium
Installing Appium server (From Source) (Optional)
Selecting IDE
App under test
Machine setup for Windows
Installing Android SDK (using Android command-line tool)
Installing Node JS
Installing Appium server (via npm)
Installing Genymotion
Appium GUI app
Writing Your First Appium Test
Creating an Appium Java project (using gradle)
Introduction to Cucumber
Writing our first Appium test
Running the feature file
Refactoring
Implementing the remaining steps
Running the scenario
Automating a mobile web app using Appium
Automating the iOS app using Appium
Build the app
Deploying the app on the iOS Simulator
Via xcrun command
Using Appium
Generating Boilerplate code for iOS
Understanding Desired Capabilities
Refactoring -1
Server argument
Refactoring -2
Server capabilities
Refactoring -3
Android-only capabilities
Refactoring -4
iOS-only capabilities
Understanding Appium Inspector to Find Locators
Appium inspector
Implementing the other steps
UI Automator Viewer
Debugging mobile web apps using Chrome Inspect
How to Synchronize Tests
AppiumDriver
Implicit wait
Explicit wait
Fluent wait
How to Automate Gestures
Gestures
TouchAction
MultiTouch
Scroll
Swipe
Orientation
Design Patterns in Test Automation
Refactor -1
Page Object pattern