P22 – XPath Full Course in తెలుగు | Selenium | తెలుగు |
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: ?
You can find the program used in this video at the below location: ?
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:
◀ Previous Video Link:
↔ Selenium Java in Telugu Playlist link:
✴ Checkout my other playlists:
☕ Buy me a coffee:
? Join my YouTube channel to get access to perks:?
==============================================
==============================================
Connect us @
? Website –
? Telegram –
? Facebook –
? LinkedIn –
? Twitter –
? Instagram –
==============================================
==============================================
? Please Subscribe? to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorials #selenium #telugu #java
Excellent presentation!! Thanks for your great work…
Thank you so much buddy
you are super sir, nice and simple explanation sir , keep going videos like this sir
Thankyou buddy ?
You are very talented and hardworker. All the best. I understood these concepts,Thank you very much for your contributions.
Thankyou buddy ?
? 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
Will you teach online classes for selinium once again
please put subtitle for more accessibility sir. Great work
Thanks for the crystal clear explanation. Finally, XPath learning ends here…
Thankyou buddy ?
Thanks so much for detail explanation, One question How can we read the below text to a string using xpath
“Please fill in this form to create an account. or if you already have an account “
Really loved it and you engaged me through out the video. It really help me to scale up my knowledge on Xpath. Thanks a lot and appreciate your efforts @HYR :).
Great to hear that.
Keep watching and keep learning.
Great lecture , crystal clear @HYR,If possible please do videos on api automation too.
Thanks in advance ?
Thankyou buddy
A big salute to you bro! for your patience and detailed explanation.
Thanks and appreciate your efforts!!
So nice of you buddy
Thank you for clear explanation ??
Welcome buddy ?
Explanation is very clear and After watching this video they will definitely become a Zero to Hero..Awesome?
Thank you so much ?
Could you please upload cucumber framework videos.. it is just that we got used for the way your explaining. It is becoming bit difficult to understand others videos on cucumber so, that way it is very much helpful if you upload them.
Yeah i understand buddy.
Due to some issues, couldn’t plan the cucumber videos.
Will.plan then once the java series is completed
Super explanation bro as it is in Telugu language helps telugu people a lot and you were exactly correct about ‘zero to hero’ in xpath after watching this video
Thankyou hero.
Thank you sir,for giving so much suggestions and detailed explanation
Glad you liked it buddy, practice as much as you can on many websites.
Thank you sir….I learned complete xpath..just now i know how to write the xpath and everything….once again thank you sir…
Thats good to hear buddy
Awesome Video ,Thank you so much for all your efforts. Love it sir!! could you please make videos regarding how to push ,pull, merge ,rebase, forking ,cherry-picking other Git related videos. your explanation boosts confidence and encourages to learn more sir. keep doing good stuff!!
Thankyou ?
Will start series on GIT after some time.
Really you are amazing instructor.. thanks for the session..
Thank you so much for providing this information, surely we will do more practice on this.
Glad it helped you buddy.
Practice is the key for XPath mastering.
I don’t have any knowledge on testing, after listening to your videos I got interest and confidence as well. God bless you brother❤
bro nenu e course recent ga start chasanuu douts ami na utay share chasukovachuu contact itava ?
Good to hear, thankyou buddy
@H Y R Tutorials ? the way of expelnation is soooo nice ….in my current organization there is a need happened that each tester should give atleast one presentation per month..i decided to give presentation on xpaths by that time was looking for best videos upon selinum topics in youtube… fortunately I got best videos from you thank you sooo much bro..for giving valueble info in both telugu and English ❤️❤️❤️❤️ especially on selenium ……….