The Complete Guide To XPath

Learn how to create robust XPath selectors for your automation and much more...

    • Sanjay Kumar's profile
  • Intermediate
  • 12
  • 0
  • 12
454 already enrolled
Defining XPath
  • Describe what XPath is
Basic XPath Syntax And Different XPath Functions
  • Use the basic features of XPath
What Is The Right Platform To Write And Verify XPath
  • Identify the right platform for creating and verifying XPath
Writing XPath using XPath functions
  • Create XPath selectors for different contexts
Learn To Write Relative XPath Without Axes
  • Use XPath without the use of Axes
Learn To Write XPath For SVG Elements
  • Create XPath Selectors for SVG elements
Learn To Write XPath For Shadow DOM Elements
  • Create XPath Selectors for shadow DOM elements
Learn To Write XPath For Iframes And Iframe Elements
  • Create XPath Selectors for iframes and iframe elements
Learn To Write XPath For Invisible Dynamic Elements
  • Create XPath selectors for invisible dynamic elements
Tips And Tricks To Write XPath Efficiently
  • Use different techniques to improve creating XPath selectors
Locators Challenge
  • Create XPath for different contexts

XPaths can be used in a wide range of activities in our products. They can be used for setting up queries for NoSQL databases, search for content in XML documents and, most commonly for testers, used for UI automation. There are many rules and tricks that can be employed with XPath, but it requires an understanding of what XPath are and how they work. That's why in this course you'll have the opportunity to learn all about XPath with Sanjay, to help you become more comfortable in analysing and using XPath in your project.

TestBash Brighton 2025 image
On the 1st & 2nd of October 2025 we're back in Brighton for TestBash: the largest software testing conference in the UK
Explore MoT
Webinar: Beyond the Dashboard - Efficient GUI Testing for Android Automotive image
Tue, 24 Jun
Testing Android Automotive apps is getting more complex. In just 45 minutes, see how Squish helps QA teams automate testing across embedded systems—efficiently and at scale.
MoT Foundation Certificate in Test Automation image
Unlock the essential skills to transition into Test Automation through interactive, community-driven learning, backed by industry expertise
Leading with Quality
A one-day educational experience to help business lead with expanding quality engineering and testing practices.
This Week in Testing image
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community
Founder & Creator
Founder and Creator of SelectorsHub | Testing Daily | TestCase Studio | Check My Links | Page Load Timer | AutoTestData and ChroPath
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.