XPath Axes - ancestor, parent, following-sibling, preceding-sibling, child, descendant
In this video, I have explained XPath Axes - ancestor, parent, following-sibling, preceding-sibling, child, descendant
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
----- Examples -----
//label[text()='Email']/following-sibling::input[1]
//td[text()='Maria Anders']/preceding-sibling::td/child::input
//label[text()='Email']/following-sibling::input[1]/parent::div
//div[@class='container']/child::input[@type='text']
//div[@class='container']/descendant::button
//div[@class='buttons']/ancestor-or-self::div
//label[text()='Password']/following::input[1]
You can practice using the below website:👇
www.hyrtutorials.com/p/add-pa...
▶️ Next Video Link: This is the last video in this playlist
◀️ Previous Video Link: • XPath Operators & XPat...
↔️ XPath (XML Path Language) Playlist Link: bit.ly/2RlLdkw
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
👑 Join my youtube channel to get access to perks:👇
/ @hyrtutorials
==============================================
==============================================
Connect us @
🔗 Website - www.hyrtutorials.com
🔗 Telegram - 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.
#selenium #xpath #xpathAxes #hyrtutorials #webAutomation
descendant, parent, preceding-sibling in selenium, preceding-sibling xpath, how to identify xpath with parent child traverse relationship, xpath (following-sibling) + findelements, how to use preceding sibling (xpath axis) in xpath expressions, xpath expression locators, following-sibling xpath axes, selenium xpath traversal : parent | child | preceding-sibling | following-sibling | descendant, xpath function and axes methods||ancestor, preceding-sibling, how to crack selenium interview for experience, how to become an expert in xpath, selenium xpath axis, parent child following preceding ancestor descendant, identify xpath with parent child traverse relationship, preceding-sibling xpath axes, selenium webdriver tutorial, xpath (preceding-sibling), identify child locators through reference of parent node, css & xpath element locators, axes methods | ancestor, ancestor-or-self, how to identify siblings and traverse back to parent nodes with xpath, 1identify xpath with parent child traverse relationship, xpath axes methods following parent ancestor decendant, advanced webdriver xpath tutorial, what is xpath? | how to write xpath?, xpath tutorial for dummies, how to find xpath in chrome for selenium automation scripts, how to use xpath in selenium, how to write xpath to find elements in the webpage, xpath interview questions and answers, xpath interview questions, advanced xpath expressions in selenium, selenium xpath tutorial, dynamic xpath, dynamic xpath in selenium webdriver, xpath tutorial for beginners, selenium tutorial for beginners, selenium testing tutorial, relative xpath, following-sibling, xpath tutorial, xpath in selenium, locators in selenium webdriver, webdriver, xpath in selenium webdriver, general sibling selector, descendant selector, child selector, selenium xpath, xpath, ancestor, following, hyr tutorials, h y r tutorials, xpath axes, xpath axes in selenium, xpath axes with examples, xpath axes in selenium webdriver example, xpath axes example in selenium, xpath axes methods in selenium, xpath axes in selenium webdriver, xpath axes in selenium, xpath axes with examples, xpath axes in selenium webdriver example, xpath axes example in selenium, selenium xpath tutorial, xpath axes methods in selenium, dynamic xpath in selenium webdriver, xpath axes in selenium webdriver, xpath tutorial for beginners, selenium webdriver tutorial, selenium tutorial for beginners, selenium testing tutorial, relative xpath, following-sibling, preceding-sibling, child, preceding, self & descendant
Пікірлер: 321
↔️ XPath (XML Path Language) Playlist Link: bit.ly/2RlLdkw ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
Crystal clear explanation...never heard this kind of explanation in any paid courses as well. Thank you for sharing your knowledge.
@HYRTutorials
3 жыл бұрын
Great to hear!
Thanks HYR. I have able clear the interview at big MNC because of you. Thanks very much
@HYRTutorials
2 жыл бұрын
Wow, happy to hear 😊
I worked with HYR, this guy is amazing. Such precise explanation will clear your doubts and give deep understanding of concepts. Great going brother
@HYRTutorials
3 жыл бұрын
Thankyou dude 😊
Sir believe me, i was not able to understand this concept in xpath from past 3 months. You nailed it. Awesome, You are the best. Thanks from the bottom of my heart.
@HYRTutorials
2 жыл бұрын
Thank you 😊
Clean and crisp explanation....explained what is exactly needed...thank u..😀
Hats off HYR Tutorials. I literally cannot stop myself from commenting and appreciating this masterpiece. Just wonderful. You don't have idea how much it has helped people like me. Cannot thank in words.
@HYRTutorials
2 жыл бұрын
Thankyou so much buddy 😊
Clarified all my issues during pointing locators which makes my work so much easy Thank you so much bro
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
I've no basic coding skill nor xml or whatever and been struggling to writing a working Xpath expression for weeks. Your search trick and real inspection screen example help me a lot. Thank you
@HYRTutorials
3 жыл бұрын
Great to hear!
His explanation on this complex xparh are on point. Thank you very much for the great video.
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Dude, you explained very well to the point where I gained confidence in a short time. Keep up the good work!
@HYRTutorials
3 жыл бұрын
Thanks, will do!
@user-ni8bq9px6h
3 жыл бұрын
ج7ف5اءزxs😊
the way of teaching is too good, really I don't know about the x-path concepts while watched this video I got the confidence to write x-paths. thank you so much. keep doing more videos.
@HYRTutorials
3 жыл бұрын
Glad to hear that, Keep Watching and spread about this channel with your friends/colleagues/connections.
Your Xpath teaching is really really good. Thanks!
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
A big thank you for this explanation. I have been struggling with Xpath axes since long time.
@HYRTutorials
11 ай бұрын
Happy learning buddy 😊
Awesome Explanation. Have Watched many videos For Xpath. But you just nailed it. Hats Off.
@HYRTutorials
3 жыл бұрын
Thankyou Kumar 😊 Glad you liked it
Outstanding job. Thank you very much for your devoted precious time.
@HYRTutorials
3 жыл бұрын
Thankyou 😊
Thank You for making the wonderful playlist on Selenium . Probably , the best playlist on selenium in KZread. 😇😇
@HYRTutorials
10 ай бұрын
Thanks buddy 😊
Such a crisp and clear explaination.. for long time i was confused for the xpath axes.Now,after watching this video i think i am pretttty much confident to use it in project.Thanks a lot.
@HYRTutorials
Жыл бұрын
Happy learning buddy 😊
The way you explained this concept is sweet and simple, thanks for creating such a wonderful video.
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
You are amazing mate! I was struggling for two days to understand these $hit and I found this video. many thanks and keep up the good work!
@HYRTutorials
2 жыл бұрын
Thankyou @farhad 😊
One of the best videos on X path Axes..
I have gone through many other videos for learning xpath ..finally got urs.crystal clear explanation..gerat work bro..🙏
@HYRTutorials
Жыл бұрын
Thanks buddy 🙂
Thnq for such a wonderful explanation . I was so getting confused with various other materials on the internet until i landed here . Grt work .
English samzne me hard jati thi other vdo me lekin ye pahle vdo me english me hi pura smza diya thnx bro
@HYRTutorials
2 жыл бұрын
Yeh sunke muje acha lagaa
To quality explaination even fresher's can understand easily Tq for making video
@HYRTutorials
3 жыл бұрын
Thankyou 😊
Loved your way of explaining and hard concepts, you will make it easy 🙏
@HYRTutorials
2 жыл бұрын
Thankyou
The way you explained the concept is understandable to everyone...thanks alot...
@HYRTutorials
Жыл бұрын
Thanks buddy 🙂
Thank you so much for your efforts.your videos are just awesome.very clear and easy to understand the concepts.
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Thank you so much sir for this wonderful and simple explanation
This is amazing explanation! thank you so much!
@HYRTutorials
3 жыл бұрын
Glad you enjoyed it!
Thank u so much for this vedio..after watching 4/5 vedios now m clear about x path.👍
@HYRTutorials
2 жыл бұрын
That's good to hear, thankyou 😊
Very well explained. Thank you for the video.
@HYRTutorials
3 жыл бұрын
Glad you liked it
wow, this video is just awesome. I loved ur teaching. Thank you for sharing your knowledge.
@HYRTutorials
3 жыл бұрын
Glad you enjoyed it!
It's really a wonderful useful video, very much understanding. Thank you so much 🎉❤
simple and clear yet detailed explanation thank you so much, sir
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Before watching your videos I always face to find the xpath for dynamic element but after watching your video now I can write xpath for any kind of elements the way you taught it's best in the market
@HYRTutorials
3 жыл бұрын
Thankyou 😊 Keep watching and don't forget to suggest this channel to your colleagues.
Very clear explaination, thanks for your help.
@HYRTutorials
Жыл бұрын
Glad it helped!
Really helpful. Much Appreciated thank you so much 🙂
Bro , I watched many video on Xpath, but this is so clear i can easily understand..thanks a lot bro..
@HYRTutorials
3 жыл бұрын
Glad to hear that, Thankyou
Excellent explanation . Thank you!
@HYRTutorials
3 жыл бұрын
Thankyou 😊 Keep supporting.
This is so far the best video on xpath.. awesome explanation
@HYRTutorials
3 жыл бұрын
Glad you think so!
Kudos to your hardwork to make our life easier.
@HYRTutorials
2 жыл бұрын
Thankyou 😊
Thank you so much for creating this video and the practice page. You've got one more subscriber :)
@HYRTutorials
2 жыл бұрын
Awesome, thank you!
excellent Explanation with Example -Bro. Keep it up. This will really help
Thank you! for such clear explanation.
@HYRTutorials
2 жыл бұрын
Thankyou
explanation is very clear, got good understanding of how axes wrks !!
@HYRTutorials
2 жыл бұрын
Thankyou 😊
Very nicely explained, thanks so much!!!
@HYRTutorials
3 жыл бұрын
Thankyou Keep watching and share it with your friends as well.
my concept about xpath is clear after see this amazing tutorial , Really your teaching style is amazing 👍 keep it up Sir .
@HYRTutorials
Жыл бұрын
Wow thanks buddy 😊
Wow great explanation, Hats of to your hard work
@HYRTutorials
3 жыл бұрын
Thankyou 😊
Amazing.. your explanation is very clear.
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
very informative and clear on xpath Axes
Super Bro Meru.... Naku oka support dorikina feeling mee videochusthuntey🤩👍
@HYRTutorials
Жыл бұрын
Wow that's good to hear buddy
@itikaalavamsy4972
Жыл бұрын
@@HYRTutorials bro Jenkins Medha from scratch a video will be Helpful
@HYRTutorials
Жыл бұрын
Yeah but will take some time buddy.
Thank you for all the videos anna..
@HYRTutorials
3 жыл бұрын
Thankyou for watching and loving them. Share the channel and videos with friends and colleagues.
Thanks for sharing, it's a really helpful video nicely explained.
Awesome bro thanks for sharing your knowledge
@HYRTutorials
2 жыл бұрын
Thankyou for liking it buddy
Well Explained and very concise
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
bro , The Best video for the xpath content GREAT!!! GREAT!!! you nailed it like any thing
@HYRTutorials
2 жыл бұрын
Thanks a ton!
@nadipavan5212
2 жыл бұрын
@@HYRTutorials I am also working for HCL. surprisingly you too
@HYRTutorials
2 жыл бұрын
Wow, thats good to know.
Just one word amazing.... Very easy to understand 🙏
@HYRTutorials
3 жыл бұрын
Thanks a lot 😊
Very beautifully explained. Thanks.
@HYRTutorials
2 жыл бұрын
Thanks and welcome
Very well explained video - thanks
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
very much helpful, thanks
very good explanation I didn't know how to write XPath right now I'm able to Wright xpath
@HYRTutorials
2 жыл бұрын
Glad to hear that buddy
@manyamkishoresrinivas4652
2 жыл бұрын
Thank you bro
Awesome..Thank you so much
Awesome Explanation and excellent example
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Great explanation... U made this concept so easy👍
@HYRTutorials
3 жыл бұрын
Thankyou 😊
nice explanation everything understood in one go........... (y) keep it up n thanks for enhancing my knowledge :)
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Very helpful video thank you so much
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Great explaination !!!
@HYRTutorials
2 жыл бұрын
Glad you liked it
Very nicely explained. Thanks...
@HYRTutorials
3 жыл бұрын
Glad you liked it 😊
Awesome! Very nice explanation!
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
This is awesome way to remember. ❤❤❤❤
@HYRTutorials
11 ай бұрын
Thanks buddy 😊
Nice one, I'm looking for more such videos
@HYRTutorials
2 жыл бұрын
Sure, thankyou 😊
Thanks a lot.
U really don't know how this means to me , my teacher don't even taught me one pinch of topic out of it. I'm preparing for my exam using this , Thanks 3000
@HYRTutorials
3 жыл бұрын
Thankyou 😊 All the best for your exam
Thank you so much video was very helpful 🙏🙂
@HYRTutorials
3 жыл бұрын
I'm glad it helped
All the below comments are came from their heart's, it's really fantastic .
Very informative video thanks
Very Nicely explained thanks alot
@HYRTutorials
2 жыл бұрын
Thanks for liking
Informative session
Nicely explained, Thanks 🙂👍
@HYRTutorials
3 жыл бұрын
Thankyou 😊
It was explained very crystal clear and very helpful
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Fantastic content formation thanku sir.
@HYRTutorials
11 ай бұрын
Thanks buddy 😊
Nice. Thank you for preparing the understandable videos. Please make more videos on Cypress
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Excellent, very useful 👍
@HYRTutorials
3 жыл бұрын
Glad to hear that!
Explanation level awesome
@HYRTutorials
3 жыл бұрын
Thankyou
Really good explanation.
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
Thank you :)
@HYRTutorials
2 жыл бұрын
Thankyou for liking buddy
Excellent bro really thanks a lot ....
@HYRTutorials
2 жыл бұрын
Thanks buddy 😊
excellent . Hats off
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
Awesome explanation
@HYRTutorials
3 жыл бұрын
Glad you liked it
Thanks dude u did very well
@HYRTutorials
2 жыл бұрын
Glad it helped
You are the boss!
@HYRTutorials
3 жыл бұрын
Thankyou 😊 Now you r the boss after learning about xpath clearly
Best presentation 👍
@HYRTutorials
Жыл бұрын
Thanks buddy 😊
U are Awesome !!! Liked, Subscribed !!!
@HYRTutorials
2 жыл бұрын
Thankyou buddy 😊
I almost watched 5 to 6 videos sir, out of which your video explained the concept so clearly. Could please post another video with more examples
@HYRTutorials
3 жыл бұрын
Sure I will try.
Thanks a lot
@HYRTutorials
2 жыл бұрын
Glad you liked it ☺️
Thank you so much
@HYRTutorials
3 жыл бұрын
Glad you liked it, keep watching.
Thanks a lot man....
@HYRTutorials
3 жыл бұрын
Always welcome
Until watching this video, this XPath axes is always confusing to me. But you made it sound so easy. thank you. I came across one of your xpath vidoes that is almost 3 hour long, does it have more than what is explained in the selenium xpath videos playlist.
@HYRTutorials
2 жыл бұрын
Thankyou 😊 It also has almost the same things but I have explained more detailed way in telugu language
Thanks for Video ,
@HYRTutorials
3 жыл бұрын
You're welcome!