4.53 out of 5
4.53
59 reviews on Udemy

XPath locators for Selenium

Build complex XPath locators for Selenium automation that will work on any web element
Instructor:
Dmitry Shyshkin
294 students enrolled
Build complex XPath locators
Locate ANY element on the page with XPath
Automate testing of any element on the web page

XPath or XML Path Language is a query language for selecting nodes from an XML document.  It also may be used to compute values from the content of an XML document.
XPath is the most complicated method of identifying elements, but it  can find the location of ANY element on a web page, even those without class, name, or id attributes. It produces reliable locators if used correctly.

In this course you will learn how to build reliable complex XPath locators, that can help you automate testing of any web application.

1
Helpful tips before we start

Introduction

1
Page elements

Preparation and code walk through

2
Selenium Locators

Review of different selenium locator strategies

3
Locating Web Elements

Using different tools and methods to help locate elements on the page

4
What is XPath?

What is XPath or XML Path Language

5
Types of XPath

Difference between Absolute XPath and Relative XPath

6
Types of XPath Quiz
7
XPath Terminology

Different types of nodes and XPath terminology

8
Basic XPath

XPath syntax and creating basic XPath

9
Basic XPath Quiz
10
Single and double forward slash

Difference between Single and double forward slash in front and inside of XPath

11
Basic Syntax Examples

Few examples of creating basic XPath locators

12
Position and index

Using XPath position and index

13
Text

Using Text to create XPath locators

14
Partial values

Using part of values to create XPath locators

15
XPath test
16
XPath Operators

Using OR and AND operators in XPath

17
XPath Axes

Using XPath Axes to find parent, child or sibling element

18
Advanced Syntax Examples
19
XPath in Selenium test

Using XPath in Selenium Tests

20
Autro
21
Bonus Lecture
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.5
4.5 out of 5
59 Ratings

Detailed Rating

Stars 5
42
Stars 4
14
Stars 3
3
Stars 2
0
Stars 1
0
b80d759ceab6f5a0752d0a65eefd151b
30-Day Money-Back Guarantee

Includes

1 hours on-demand video
3 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion