O'Reilly logo

Appium Essentials by Manoj Hans

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Advanced User Interactions

In the preceding chapters, we covered a lot of things that are quite straightforward with Appium. In this chapter, we will take a look at mobile gestures, such as long press, zoom, and swipe.

In this chapter, we will learn about the following topics:

  • The advanced user interactions API
  • Mobile gestures, such as long press, drag and drop, so on
  • Handling alerts, spinners (dropdowns), the switch button, and the slide seekBar.
  • Capturing screenshots
  • Capturing screenshots on test failure

Exploring advanced user interactions

In Appium, the advanced user interactions API allows you to perform complex mobile gestures, such as drag and drop, swipe, and zoom by using the TouchAction and MultiTouchAction classes. It simply builds ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required