From the course: Mobile Testing with Appium
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Touch actions: Theory - Selenium Tutorial
From the course: Mobile Testing with Appium
Touch actions: Theory
[Instructor] One of the big differences between mobile apps and traditional desktop apps is the input style. Desktop apps typically use a mouse and a keyboard. Whereas mobile apps are driven almost entirely by one or two fingers. What this means is that automating mobile app test scenarios might involve simulating the input of a human finger or two or three. Luckily the Appium API supports a totally general way of describing touch actions. Here's my test app again. This time, on a view which has a scrollable list. A scrollable list is a great example of a mobile app component that a user would interact with, using their finger. Lets say I wanted to automate this list of cloud types, but the particular cloud type I want to tap is not present on the screen. What would I do as a human user? Well, I'd first place one of my fingers near the lower half of the screen. Then I'd drag up, then I'd release my finger. All together the app interprets this as a scroll and will move the content so I…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.