Mobile Test Automation with Appium by Nishant Verma

Mobile Test Automation with Appium by Nishant Verma

Author:Nishant Verma [Verma, Nishant]
Language: eng
Format: azw3
Tags: COM051460 - COMPUTERS / Programming / Mobile Devices, COM051280 - COMPUTERS / Programming Languages / Java, COM051390 - COMPUTERS / Programming / Open Source
Publisher: Packt Publishing
Published: 2017-06-30T04:00:00+00:00


Understanding Appium Inspector to Find Locators

In the last chapter, we saw how to start Appium server programmatically and use the desired capabilities to set the context for test execution. We saw how to launch an emulator from code and invoke the test on an app that is preinstalled. We also took a look at detailed Android-specific capabilities and iOS-specific capabilities and refactored the test to use a few.

To write tests, we need to find the locators, and sometimes these locators are not easily available. We need to make our own locators using xPath in that case. In this chapter, we will take a look at the following:

How to use Appium inspector to find locators

How to use UI Automator Viewer

How to use Chrome browser to debug mobile web apps



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.