Cargando…

Mobile Test Automation with Appium.

Automate your mobile app testingAbout This Book* How to automate testing with Appium* Apply techniques for creating comprehensive tests* How to test on physical devices or emulatorsWho This Book Is ForAre you a mobile developer or a software tester who wishes to use Appium for your test automation?...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Verma, Nishant
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing, 2017.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • www.PacktPub.com
  • Customer Feedback
  • Table of Contents
  • Preface
  • Chapter 1: Introduction to Appium
  • Native app
  • Mobile Web app
  • Hybrid app
  • Appium architecture
  • XCUITest
  • UiAutomator 2
  • Pros of using Appium
  • Summary
  • Chapter 2: 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 Java
  • Installing Android SDK (using Android command-line tool)
  • Installing Node JS
  • Installing Appium
  • Installing Appium server (via npm)
  • Installing Genymotion
  • Selecting IDE
  • Appium GUI app
  • Summary
  • Chapter 3: 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
  • Implementing the remaining steps
  • 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
  • Summary
  • Chapter 4: Understanding Desired Capabilities
  • Refactoring -1
  • Server argument
  • Refactoring -2
  • Server capabilities
  • Refactoring -3
  • Android-only capabilities
  • Refactoring -4
  • iOS-only capabilities
  • Summary
  • Chapter 5: Understanding Appium Inspector to Find Locators
  • Appium inspector
  • Implementing the other steps
  • UI Automator Viewer.
  • Debugging mobile web apps using Chrome Inspect
  • Summary
  • Chapter 6: How to Synchronize Tests
  • AppiumDriver
  • Implicit wait
  • Explicit wait
  • Fluent wait
  • Summary
  • Chapter 7: How to Automate Gestures
  • Gestures
  • TouchAction
  • MultiTouch
  • Scroll
  • Swipe
  • Orientation
  • Summary
  • Chapter 8: Design Patterns in Test Automation
  • Refactor -1
  • Page Object pattern
  • Refactor-2
  • Assertions
  • Implementing assertions in Page Object
  • Implementing assertion in test script
  • Avoiding dependencies between tests
  • Introducing set up and tear down
  • Summary
  • Chapter 9: How to Run Appium Test on Devices and Emulators
  • Emulator
  • Running test on the Genymotion emulator
  • Devices
  • Running a test on actual Android devices
  • Running a test on actual iOS devices
  • Summary
  • Chapter 10: Continuous Integration with Jenkins
  • Refactoring -1
  • Setting up Jenkins
  • Moving a project to Git
  • Adding Jenkins plugin
  • Setting up the Jenkins task
  • Viewing reports in Jenkins
  • Summary
  • Chapter 11: Appium Tips and Tricks
  • Switching between views
  • web and native
  • Taking screenshots
  • Recording video execution
  • Interacting with another app
  • Running the test in parallel
  • Network conditioning
  • Summary
  • Chapter 12: Appium Desktop App
  • Installing the new Appium app
  • Starting a simple server
  • Start New Session
  • Attach to an existing session
  • Desired Capabilities
  • Appium Inspector
  • Starting the server with advanced options
  • Appium Endpoints
  • Summary
  • Appendix
  • Introduction to Cucumber
  • How does Cucumber work?
  • Feature
  • Scenario
  • Background
  • Scenario Outline
  • Hooks in Cucumber
  • Running Cucumber
  • CLI Runner
  • JUnit Runner
  • Third-Party Runner (Via IntelliJ)
  • Finding an app's package name and launch activity
  • Using the ManifestViewer app
  • Using the Appium GUI app.
  • Installing Google Play services in the Genymotion emulator
  • Summary
  • Index.