Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Appium Essentials
  • Table Of Contents Toc
Appium Essentials

Appium Essentials

By : Hans
3.5 (19)
close
close
Appium Essentials

Appium Essentials

3.5 (19)
By: Hans

Overview of this book

This book is intended for automation testers and developers who want to enhance their skills from web-based automation to mobile application automation using Appium. Basic knowledge of mobile application testing, Selenium WebDriver, and programming is assumed.
Table of Contents (9 chapters)
close
close

Working with web apps


Web apps can be run on any device or platform. The only requirement for running them is a web browser and an Internet connection; the best part is that you don't need to install the app on the device. Web apps are generally designed with cross-browser compatibility.

Web apps on Android

We will take the example of the Gmail login page. In this section, we are going to take a look at how to load the Chrome browser on a real device and then type in invalid credentials and click on the Sign in button that is shown in the following screenshot:

Let's start with the following steps to automate the web apps:

  1. Set the desired capabilities to launch the Chrome browser:

    caps.setCapability(MobileCapabilityType.BROWSER_NAME, "Chrome");
  2. Now, we need to navigate to https://www.gmail.com using the driver.get("https://www.gmail.com"); command.

  3. We need to find the username box element (we can take a reference from Chapter 4, Finding Elements with Different Locators, to find an element); in this...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Appium Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon