Skip to main content
CourseFlix

XPath locators for Selenium

1h 8m 22s
English
Paid

XPath or XML Path Language is a query language for selecting nodes from an XML document.  XPath 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. XPath produces reliable locators if it 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.

Requirements:

  • Test Automation with Selenium
  • Basic HTML and XML understanding

Who this course is for:
  • Test Automation engineer who want to create better and easier to maintain locators

What you'll learn:

  • Build complex XPath locators
  • Locate ANY element on the page with XPath
  • Automate testing of any element on the web page

About the Author: udemy

udemy thumbnail

Udemy is a global online marketplace for teaching and learning. It connects students with instructors who share skills in many fields.

Who Uses Udemy

Millions of learners use Udemy to gain skills for work and personal growth. Companies, governments, and nonprofits also use Udemy to train their teams.

What Udemy Offers

Udemy provides a curated set of business and technical courses. These courses help teams build practical skills and support ongoing learning at work.

Watch Online 15 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 15 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Page elements
All Course Lessons (15)
#Lesson TitleDurationAccess
1
Page elements Demo
02:57
2
Selenium Locators
04:18
3
Locating Web Elements
07:14
4
What is XPath
00:54
5
Types of XPath
08:24
6
XPath Terminology
02:52
7
Basic XPath
06:54
8
Single and double forward slash
04:49
9
Position and index
05:02
10
Text
01:59
11
Partial values
05:24
12
XPath Operators
05:52
13
XPath Axes
06:06
14
XPath in Selenium test
04:44
15
Autro
00:53
Unlock unlimited learning

Get instant access to all 14 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription