How do you know which locator strategy to use to find an element? One method is by examining the app source.
- [Man] Earlier in the course we showed … how to automate a login screen using Appium. … I've got that code, loaded up now as chapter four, six … page source before dot Java. … You might recall that we're finding … elements primarily by accessibility ID. … You can see, for example, down here in our test method, … that we're finding an element using a username selector … here and another one using a password selector here. … But how do we know that these … selectors are correct for our app? … Earlier you had to just take my word for it … and now we'll explore one way to check for ourselves, … using a special driver method called get page source. … Even though mobile apps are not webpages, … Appium can give you an XML representation … of the UI hierarchy, including lots of interesting … information about particular elements on-screen. … We can call the get page source method anytime we want … and we'll get back an XML string showing us … everything Appium can see about the app, … at that point in time. …
- 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.