XPath for Testers #3 | Text-Based XPath, text(), contains(), normalize-space() & Multiple Conditions
Jul 31, 2025•Channel
AI Analysis
Data from YouTube Data API v3•Updated Just now
Video Overview
Video Details
Published11 months ago
Duration16:31
Video IDlmmBTliNH7k
Languageen
CategoryScience & Technology
PrivacyPublic
Made for KidsNo
Video TypeRegular Video
Performance Metrics
Views51
Likes3
Comments0
Engagement Rate5.88%
Likes per 100 views5.88
Comments per 1K views0.00
Video Tags
#xpath for testers#text-based xpath tutorial#xpath text() function#xpath contains() with text#xpath normalize-space()#multiple conditions in xpath#dynamic xpath locators#custom xpath tutorial#automation testing xpath#xpath for qa engineers#advanced xpath techniques#xpath following-sibling#xpath functions explained#xpath for automation testers#software testing xpath locators.#xpath for testers#text-based xpath#xpath text function#xpath contains text#xpath
Description
#XPathForTesters #TextBasedXPath #XPathTutorial #XPathInSelenium #XPathInPlaywright #XPathInCypress #AutomationTesting #SeleniumTesting #PlaywrightTesting #CypressTesting #XPathFunctions #NormalizeSpaceXPath #ContainsInXPath #TextFunctionXPath #DynamicXPath #CustomXPath #AutomationTesters #XPathLocators #SoftwareTesting #QAEngineer
In this XPath for Testers #3 tutorial, we will deep dive into Text-Based XPath using text(), contains(), normalize-space(), and multiple conditions. XPath is a crucial skill for testers working with automation tools like Selenium, Playwright, and Cypress. This video will help you master Text-Based XPath strategies for locating dynamic elements efficiently.
Timestamps:
0:08 - Introduction to Text-Based XPath
Learn what Text-Based XPath is and why it's important for testers. Understand how XPath using text() function helps in locating elements by their exact text.
0:36 - Using text() Function in XPath
Explore how to use the text() function in XPath to identify elements uniquely when attributes like ID or class are missing.
1:16 - Using contains() with text()
Understand how the contains() function with text() can be applied when the text is part of a longer string. This is one of the most useful techniques for dynamic elements.
3:00 - Using normalize-space() in XPath
Discover how normalize-space() in XPath removes leading, trailing, and multiple spaces from text while matching elements.
4:03 - Multiple Text Conditions in XPath
Learn how to combine multiple conditions using or/and operators in XPath for more complex scenarios.
6:02 - Practical Examples in Browser
Watch real-time examples of Text-Based XPath using text(), contains(), normalize-space(), and multiple conditions on form elements like First Name, Email, and Phone Number.
11:01 - Complex XPath with Siblings and Conditions
Understand how to use following-sibling and multiple text conditions to write advanced custom XPath expressions.
14:10 - Summary and Key Takeaways
Recap all Text-Based XPath techniques including text(), contains(), normalize-space(), and multiple conditions.
This XPath for Testers #3 tutorial will strengthen your XPath knowledge and help you write robust automation scripts. XPath is a powerful locator strategy, and mastering Text-Based XPath is essential for Selenium, Playwright, and Cypress automation testers.
Watch till the end and practice all the examples shared for Text-Based XPath using text(), contains(), and normalize-space().
Subscribe to our channel for the latest videos
==================================
https://www.youtube.com/c/TestingFunda
#selenium #tutorials #free #2022 #training
Watch more free Selenium Tutorials
https://www.youtube.com/watch?v=5hyEnZT9AkQ&list=PLBw1ubD1J1UjP1rZMbU8NSh2ajE12Yjjf
#JMeter #performance #testing #tutorials #free #2022 #training
Step-by-step free JMeter performance tutorials
https://www.youtube.com/watch?v=s33Bqz0vAUw&list=PLBw1ubD1J1UgVniCSUlg_LKRzlF11CZZB
#postman #API #testing #tutorial #manual #automation #free #2022 #training
Step-by-step free postman API manual and Automation Testing tutorials
https://www.youtube.com/playlist?list=PLBw1ubD1J1UgVniCSUlg_LKRzlF11CZZB
#java #programming #tutorials #free #2022 #training
Step-by-step free Java programming tutorials
https://www.youtube.com/watch?v=C8HRfmJ_ZZQ&list=PLBw1ubD1J1UjGNxe10eY-H7e9cQ12Qk_l
#cypress.io #automation #testing #tutorials #free #2022 #training
Step-by-step free cypress.io automation testing tutorials
https://www.youtube.com/watch?v=OvCLwh5vN8g&list=PLBw1ubD1J1Ujws5XLs7BGJqQkQVpJtmBJ
#agile #Youtube #series #free #2022 #training
Learn about agile from the free YouTube series
https://www.youtube.com/playlist?list=PLBw1ubD1J1Uif-cFY6BJRbjc3Ah9bKpSd
#learn #software #testing #innovative #animated #videos #free #2022
Learn software testing free from innovative animated videos
https://www.youtube.com/watch?v=jRcsuCrQI_s&list=PLBw1ubD1J1UhnuUX3Kd5OP5r9qaDHie-T