>> YOUR LINK HERE: ___ http://youtube.com/watch?v=f0oCvbuXmJI
In this video, I have explained about XPath Full Course in ΰ°€ΰ±ΰ°²ΰ±ΰ°ΰ± . • Video Timeline: • 00:00 Chapter 0 - Getting Started • 10:14 Chapter 1 - Introduction • 15:54 Chapter 2 - Types of XPath • 29:38 Chapter 3 - XPath using Attributes • 52:11 Chapter 4 - XPath Operators • 01:09:11 Chapter 5 - XPath Conditions • 01:25:37 Chapter 6 - XPath with Index • 01:38:04 Chapter 7 - XPath Functions • 02:10:06 Chapter 8 - XPath Axes • 02:43:05 Chapter 9 - XPath Shortcuts • 02:58:48 Chapter 10 - Third Party XPath Tools • 03:26:31 Chapter 11 - Common Mistakes • The below website is used for practice: π • https://www.hyrtutorials.com/p/add-pa... • You can find the program used in this video at the below location: π • https://bit.ly/2SCrhxD • XPath (XML Path Language) is a query language for selecting nodes from an XML document. • Or in other words, XPath is a query language for finding elements in an HTML web page. • Xpath is defined by the World Wide Web Consortium (W3C). • There are two types of XPath available: • 1) Absolute XPath • 2) Relative XPath • β³ Absolute XPath • It starts with the root element of the document. • Example: • /html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div[1]/div[1]/input • β³ Relative XPath • It starts from any point in the document based on the search criteria. • Example: • //input[@id=‘abcd’] • ------ XPath Operators ------ • = Tests whether two expressions are equal. • οΌ Tests whether the first expression is less than the second. • οΌ= Tests whether the first expression is less than or equal to the second. • οΌ Tests whether the first expression is greater than the second. • οΌ= Tests whether the first expression is greater than or equal to the second. • != Tests whether the two expressions are not equal. • and - Tests whether both the first and second expressions are true. If the first expression is false, the second is not evaluated. • or - Tests whether either the first or second expressions are true. If the first expression is true, the second is not evaluated • ------ XPath Functions ------ • text() - Selects the text nodes of the current context node. • Contains() - Contains method is used when we know about the partial attribute value or partial text associated with the web element. • Starts-with() - starts-with method is used when we know about the initial partial attribute value or initial partial text associated with the web element. • normalize-space() - The normalize-space function ignores the leading, trailing, and repeating white spaces, that means after applying the normalize-space the text become normalized with no line breaks, and give a proper sentence. • ------ Examples ------ • //td[text()=5000] • //button[@id='refreshBtn' and @value='Refresh'] • //button[@id='refreshBtn' or @value='Refresh'] • //a[text()='Sign in'] • //a[contains(text(),'Sign')] • //button[contains(@class,'sign')] • //div[starts-with(@class,'container')] • //label[normalize-space(text())='First Name'] • XPath Axes methods are used in finding the dynamic elements which do not have a unique attribute value. • An axis represents a relationship to the context (current) element and is used to locate elements relative to that element on the DOM. • ----- Axes names/methods ------ • π ancestor • π ancestor-or-self • π descendant • π descendant-or-self • π preceding-sibling • π following-sibling • π parent • π child • π following • π preceding • βΆ Next Video link: • P23 - Perform Mouse Actions in Selen... • β Previous Video Link: • P21 - How to get WebElement propertie... • ↔ Selenium Java in Telugu Playlist link: https://bit.ly/3tL7Z9S • β΄ Checkout my other playlists: https://bit.ly/3gLIAVL • β Buy me a coffee: https://bit.ly/33ljBWc • π Join my YouTube channel to get access to perks:π • / @hyrtutorials • ============================================== • ============================================== • Connect us @ • π Website - https://www.hyrtutorials.com • π Telegram - https://t.me/hyrtutorials • π Facebook - / hyrtutorials • π LinkedIn - / hyrtutorials • π Twitter - / hyrtutorials • π Instagram - / hyrtutorials • ============================================== • ============================================== • π Please Subscribeπ to start learning for FREE now, Also help your friends in learning the best by suggesting this channel. • #hyrtutorials #selenium #telugu #java
#############################
