Join Jonathan Lipps for an in-depth discussion in this video Waiting for elements: Practice, part of Mobile Testing with Appium.
- [Instructor] Okay, let's see … how to wait for elements in practice. … First of all, I have my Appium server … and my Android emulator up and running. … So now let's go to our code editor. … We're starting off here … with the Ch_04_04_Waiting_For_Elements_Before.Java class. … What we want to do initially … is remove the Thread.sleep in the set-up method, … and remove any extraneous lines in our test method. … These two here, so that all we're doing … is launching the app and finding an element … using Driver.findElement. … Okay, now let's run our test just to see what happens. … The test is complete, let's head back to IntelliJ … to see what happened and as predicted we got a failure. … If we read the failure text, we will see … that the issue is that an element couldn't be found. … This is exactly the problem we expected, … without the Thread.sleep protecting us … our script tried to find the element before it was present. … Now we can apply our WebDriverWait knowledge … to fix the situation. …
- Appium server, clients, and drivers
- Appium setup
- Starting and stopping sessions
- Finding and using elements
- Intermediate Appium scripting
- Touch actions
- Mobile web testing
Skill Level Intermediate
Effective Android Testing for Mobile Developerswith Chiu-Ki Chan2h 56m Intermediate
Robot Framework Test Automation: Level 1 (Selenium)with Bryan Lamb6h 23m Intermediate
The Appium drivers4m 41s
2. Appium Setup
3. Appium Sessions
Session capabilities6m 22s
4. Finding and Using Elements
5. Intermediate Appium Scripting
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.