XPath Axes - ancestor, parent, following-sibling, preceding-sibling, child, descendant

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ค. 2020
  • 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

ความคิดเห็น • 319

  • @HYRTutorials
    @HYRTutorials  4 ปีที่แล้ว +10

    ↔️ XPath (XML Path Language) Playlist Link: bit.ly/2RlLdkw
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc

  • @tgrakesh8gmail
    @tgrakesh8gmail 4 ปีที่แล้ว +2

    Clean and crisp explanation....explained what is exactly needed...thank u..😀

  • @ritheshjarvis4177
    @ritheshjarvis4177 2 ปีที่แล้ว +4

    Thanks HYR. I have able clear the interview at big MNC because of you. Thanks very much

    • @HYRTutorials
      @HYRTutorials  2 ปีที่แล้ว +1

      Wow, happy to hear 😊

  • @Deepak-ie7co
    @Deepak-ie7co 3 ปีที่แล้ว +10

    Crystal clear explanation...never heard this kind of explanation in any paid courses as well. Thank you for sharing your knowledge.

  • @fattah8864
    @fattah8864 ปีที่แล้ว +1

    His explanation on this complex xparh are on point. Thank you very much for the great video.

  • @superAweber
    @superAweber ปีที่แล้ว +1

    Your Xpath teaching is really really good. Thanks!

  • @sami684
    @sami684 3 ปีที่แล้ว +3

    Outstanding job. Thank you very much for your devoted precious time.

  • @CPanhchakmoni
    @CPanhchakmoni 3 ปีที่แล้ว +2

    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

  • @katakamvenkatesh8232
    @katakamvenkatesh8232 2 ปีที่แล้ว +3

    Clarified all my issues during pointing locators which makes my work so much easy Thank you so much bro

  • @mangesh26
    @mangesh26 ปีที่แล้ว +1

    A big thank you for this explanation. I have been struggling with Xpath axes since long time.

    • @HYRTutorials
      @HYRTutorials  10 หลายเดือนก่อน

      Happy learning buddy 😊

  • @farhadhabibullah548
    @farhadhabibullah548 2 ปีที่แล้ว +2

    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!

  • @JustForYou...
    @JustForYou... 3 ปีที่แล้ว +3

    Awesome Explanation. Have Watched many videos For Xpath. But you just nailed it. Hats Off.

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou Kumar 😊
      Glad you liked it

  • @vanshikaravi5780
    @vanshikaravi5780 3 ปีที่แล้ว +22

    I worked with HYR, this guy is amazing. Such precise explanation will clear your doubts and give deep understanding of concepts. Great going brother

  • @rohiitkummar
    @rohiitkummar 2 ปีที่แล้ว +4

    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
      @HYRTutorials  2 ปีที่แล้ว +1

      Thankyou so much buddy 😊

  • @agnihotrimanoj
    @agnihotrimanoj 2 ปีที่แล้ว +3

    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.

  • @syedhashmi3760
    @syedhashmi3760 ปีที่แล้ว +2

    The way you explained this concept is sweet and simple, thanks for creating such a wonderful video.

  • @sarsiv1
    @sarsiv1 3 ปีที่แล้ว +2

    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
      @HYRTutorials  3 ปีที่แล้ว +1

      Glad to hear that, Keep Watching and spread about this channel with your friends/colleagues/connections.

  • @shaibalahmed9317
    @shaibalahmed9317 3 ปีที่แล้ว +8

    Dude, you explained very well to the point where I gained confidence in a short time. Keep up the good work!

  • @ankitap2987
    @ankitap2987 ปีที่แล้ว +1

    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.

  • @reshmaanand1889
    @reshmaanand1889 2 หลายเดือนก่อน

    Thnq for such a wonderful explanation . I was so getting confused with various other materials on the internet until i landed here . Grt work .

  • @mkgsonu
    @mkgsonu หลายเดือนก่อน

    One of the best videos on X path Axes..

  • @arunmuraleedharan2252
    @arunmuraleedharan2252 ปีที่แล้ว +1

    I have gone through many other videos for learning xpath ..finally got urs.crystal clear explanation..gerat work bro..🙏

  • @jkr3008
    @jkr3008 ปีที่แล้ว

    simple and clear yet detailed explanation
    thank you so much, sir

  • @hari_kumar123
    @hari_kumar123 10 หลายเดือนก่อน +1

    Thank You for making the wonderful playlist on Selenium . Probably , the best playlist on selenium in TH-cam. 😇😇

    • @HYRTutorials
      @HYRTutorials  9 หลายเดือนก่อน

      Thanks buddy 😊

  • @yuvasrivanth
    @yuvasrivanth 2 ปีที่แล้ว +1

    Loved your way of explaining and hard concepts, you will make it easy 🙏

  • @priyadarshiniMG
    @priyadarshiniMG ปีที่แล้ว +1

    Thank you so much for your efforts.your videos are just awesome.very clear and easy to understand the concepts.

  • @prakashk6536
    @prakashk6536 ปีที่แล้ว +1

    The way you explained the concept is understandable to everyone...thanks alot...

  • @sancharidas7532
    @sancharidas7532 2 ปีที่แล้ว +1

    Kudos to your hardwork to make our life easier.

  • @Ranjitkumar-wh4on
    @Ranjitkumar-wh4on 3 ปีที่แล้ว +1

    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
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou 😊
      Keep watching and don't forget to suggest this channel to your colleagues.

  • @meghasuri1152
    @meghasuri1152 3 ปีที่แล้ว +1

    This is so far the best video on xpath.. awesome explanation

  • @ckshitij21
    @ckshitij21 2 ปีที่แล้ว +2

    Thank you so much for creating this video and the practice page. You've got one more subscriber :)

  • @Rameshkumar-tn3wp
    @Rameshkumar-tn3wp 3 ปีที่แล้ว +1

    Bro , I watched many video on Xpath, but this is so clear i can easily understand..thanks a lot bro..

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Glad to hear that, Thankyou

  • @bindunagaraj123
    @bindunagaraj123 3 ปีที่แล้ว +2

    wow, this video is just awesome. I loved ur teaching. Thank you for sharing your knowledge.

  • @soumyapradhan6537
    @soumyapradhan6537 ปีที่แล้ว

    my concept about xpath is clear after see this amazing tutorial , Really your teaching style is amazing 👍 keep it up Sir .

  • @harishprasanth3615
    @harishprasanth3615 4 หลายเดือนก่อน

    It's really a wonderful useful video, very much understanding. Thank you so much 🎉❤

  • @ashwini6740
    @ashwini6740 2 ปีที่แล้ว +1

    explanation is very clear, got good understanding of how axes wrks !!

  • @jillbv9380
    @jillbv9380 3 ปีที่แล้ว +2

    This is amazing explanation! thank you so much!

  • @rajitachenna7703
    @rajitachenna7703 3 ปีที่แล้ว +1

    Very well explained. Thank you for the video.

  • @momanddrishna1824
    @momanddrishna1824 2 ปีที่แล้ว +1

    Thank u so much for this vedio..after watching 4/5 vedios now m clear about x path.👍

    • @HYRTutorials
      @HYRTutorials  2 ปีที่แล้ว

      That's good to hear, thankyou 😊

  • @magedrefat1658
    @magedrefat1658 2 ปีที่แล้ว

    Amazing.. your explanation is very clear.

  • @nadipavan5212
    @nadipavan5212 2 ปีที่แล้ว +1

    bro , The Best video for the xpath content GREAT!!! GREAT!!! you nailed it like any thing

    • @HYRTutorials
      @HYRTutorials  2 ปีที่แล้ว

      Thanks a ton!

    • @nadipavan5212
      @nadipavan5212 2 ปีที่แล้ว +1

      @@HYRTutorials I am also working for HCL. surprisingly you too

    • @HYRTutorials
      @HYRTutorials  2 ปีที่แล้ว

      Wow, thats good to know.

  • @devanshshah4062
    @devanshshah4062 3 ปีที่แล้ว +1

    Excellent explanation . Thank you!

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou 😊
      Keep supporting.

  • @umeshchandra6201
    @umeshchandra6201 8 หลายเดือนก่อน

    excellent Explanation with Example -Bro. Keep it up. This will really help

  • @thetruth5672
    @thetruth5672 2 หลายเดือนก่อน

    Thank you so much sir for this wonderful and simple explanation

  • @aparnahumad43
    @aparnahumad43 3 ปีที่แล้ว +3

    Wow great explanation, Hats of to your hard work

  • @praveen123ist
    @praveen123ist 3 ปีที่แล้ว +1

    Very nicely explained, thanks so much!!!

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou
      Keep watching and share it with your friends as well.

  • @adityanetalkar2649
    @adityanetalkar2649 2 ปีที่แล้ว +1

    Thank you! for such clear explanation.

  • @rupadhyay73
    @rupadhyay73 3 ปีที่แล้ว +1

    Just one word amazing.... Very easy to understand 🙏

  • @chetansahu8108
    @chetansahu8108 9 หลายเดือนก่อน

    Thanks for sharing, it's a really helpful video nicely explained.

  • @piyushjhawar7681
    @piyushjhawar7681 2 ปีที่แล้ว +1

    Very beautifully explained.
    Thanks.

  • @pritamsharma9957
    @pritamsharma9957 ปีที่แล้ว +1

    Very clear explaination, thanks for your help.

  • @prasannamahale1854
    @prasannamahale1854 3 ปีที่แล้ว +3

    To quality explaination even fresher's can understand easily
    Tq for making video

  • @user-du9yi6lj7h
    @user-du9yi6lj7h 8 หลายเดือนก่อน

    very informative and clear on xpath Axes

  • @padalanripalini7891
    @padalanripalini7891 2 หลายเดือนก่อน

    Really helpful. Much Appreciated thank you so much 🙂

  • @akshaykamble8266
    @akshaykamble8266 2 ปีที่แล้ว

    nice explanation everything understood in one go........... (y) keep it up n thanks for enhancing my knowledge :)

  • @AS-vj8ki
    @AS-vj8ki ปีที่แล้ว +1

    English samzne me hard jati thi other vdo me lekin ye pahle vdo me english me hi pura smza diya thnx bro

  • @spaul7453
    @spaul7453 2 ปีที่แล้ว +1

    Awesome Explanation and excellent example

  • @shwetasingh-kb5iz
    @shwetasingh-kb5iz 3 ปีที่แล้ว +1

    Great explanation... U made this concept so easy👍

  • @itikaalavamsy4972
    @itikaalavamsy4972 ปีที่แล้ว +1

    Super Bro Meru.... Naku oka support dorikina feeling mee videochusthuntey🤩👍

    • @HYRTutorials
      @HYRTutorials  ปีที่แล้ว

      Wow that's good to hear buddy

    • @itikaalavamsy4972
      @itikaalavamsy4972 ปีที่แล้ว +1

      @@HYRTutorials bro Jenkins Medha from scratch a video will be Helpful

    • @HYRTutorials
      @HYRTutorials  ปีที่แล้ว

      Yeah but will take some time buddy.

  • @indrasenareddy4066
    @indrasenareddy4066 2 ปีที่แล้ว +1

    Awesome bro thanks for sharing your knowledge

    • @HYRTutorials
      @HYRTutorials  2 ปีที่แล้ว

      Thankyou for liking it buddy

  • @kirthikas1896
    @kirthikas1896 3 ปีที่แล้ว

    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
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou 😊
      All the best for your exam

  • @maheshchantala5709
    @maheshchantala5709 3 ปีที่แล้ว +1

    Thank you for all the videos anna..

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou for watching and loving them.
      Share the channel and videos with friends and colleagues.

  • @aaishwaryasangle2793
    @aaishwaryasangle2793 ปีที่แล้ว

    Nice. Thank you for preparing the understandable videos. Please make more videos on Cypress

  • @manyamkishoresrinivas4652
    @manyamkishoresrinivas4652 2 ปีที่แล้ว +1

    very good explanation I didn't know how to write XPath right now I'm able to Wright xpath

  • @sampathkumargattu537
    @sampathkumargattu537 2 ปีที่แล้ว +1

    It was explained very crystal clear and very helpful

  • @gourabkarmakar4589
    @gourabkarmakar4589 ปีที่แล้ว +1

    Well Explained and very concise

  • @Analytical_Mind
    @Analytical_Mind ปีที่แล้ว +1

    Very well explained video - thanks

  • @sandeshsampathgiri3420
    @sandeshsampathgiri3420 2 ปีที่แล้ว +1

    Awesome! Very nice explanation!

  • @preetisarode3865
    @preetisarode3865 3 ปีที่แล้ว +2

    Thank you so much video was very helpful 🙏🙂

  • @johnsonharpal4978
    @johnsonharpal4978 3 ปีที่แล้ว +1

    Nicely explained, Thanks 🙂👍

  • @padmavathykorrapati329
    @padmavathykorrapati329 4 ปีที่แล้ว +2

    Awesome..Thank you so much

  • @111991himanshu
    @111991himanshu 2 ปีที่แล้ว +1

    Nice one, I'm looking for more such videos

  • @mangeshmane7803
    @mangeshmane7803 ปีที่แล้ว +1

    Very helpful video thank you so much

  • @laxmi5639
    @laxmi5639 3 ปีที่แล้ว +1

    Very nicely explained. Thanks...

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว +1

      Glad you liked it 😊

  • @nandashivaprasad6159
    @nandashivaprasad6159 2 ปีที่แล้ว +1

    Very Nicely explained thanks alot

  • @abvy25
    @abvy25 2 ปีที่แล้ว +1

    Great explaination !!!

  • @scorpionprafull7249
    @scorpionprafull7249 4 หลายเดือนก่อน

    very much helpful, thanks

  • @zeeshanabbas9773
    @zeeshanabbas9773 5 หลายเดือนก่อน

    Very informative video thanks

  • @aneerpa8384
    @aneerpa8384 6 หลายเดือนก่อน

    Informative session

  • @preethimarineni
    @preethimarineni 11 หลายเดือนก่อน +1

    This is awesome way to remember. ❤❤❤❤

    • @HYRTutorials
      @HYRTutorials  10 หลายเดือนก่อน

      Thanks buddy 😊

  • @revathye8483
    @revathye8483 3 ปีที่แล้ว +9

    Explanation level awesome

  • @Shubh_Unde
    @Shubh_Unde 2 ปีที่แล้ว +2

    very well explained brother👍

  • @dev6296
    @dev6296 ปีที่แล้ว +1

    Fantastic content formation thanku sir.

    • @HYRTutorials
      @HYRTutorials  10 หลายเดือนก่อน

      Thanks buddy 😊

  • @ankitarege8440
    @ankitarege8440 ปีที่แล้ว +1

    Really good explanation.

  • @shivachanda4722
    @shivachanda4722 3 ปีที่แล้ว +1

    Excellent, very useful 👍

  • @nsnilesh604
    @nsnilesh604 3 ปีที่แล้ว +1

    Awesome explanation

  • @selvimurugesh3835
    @selvimurugesh3835 3 ปีที่แล้ว +3

    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

  • @nithishkthakur715
    @nithishkthakur715 7 หลายเดือนก่อน

    Thanks a lot.

  • @harishprasanth3615
    @harishprasanth3615 4 หลายเดือนก่อน

    All the below comments are came from their heart's, it's really fantastic .

  • @sairammadipalli2600
    @sairammadipalli2600 ปีที่แล้ว +1

    Excellent bro really thanks a lot ....

  • @rachitmongia5993
    @rachitmongia5993 3 ปีที่แล้ว +1

    You are the boss!

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Thankyou 😊
      Now you r the boss after learning about xpath clearly

  • @akshay8702
    @akshay8702 ปีที่แล้ว +1

    Best presentation 👍

  • @chaitranatraj9833
    @chaitranatraj9833 3 ปีที่แล้ว

    Thank you so much

    • @HYRTutorials
      @HYRTutorials  3 ปีที่แล้ว

      Glad you liked it, keep watching.

  • @anuradham3910
    @anuradham3910 2 ปีที่แล้ว +1

    excellent . Hats off

  • @sagarikav3989
    @sagarikav3989 2 ปีที่แล้ว +1

    Thank you :)

    • @HYRTutorials
      @HYRTutorials  2 ปีที่แล้ว

      Thankyou for liking buddy

  • @sadhanapandey8746
    @sadhanapandey8746 2 ปีที่แล้ว

    Thanks a lot

    • @HYRTutorials
      @HYRTutorials  2 ปีที่แล้ว

      Glad you liked it ☺️

  • @greenpeace041
    @greenpeace041 3 ปีที่แล้ว +1

    Thanks for Video ,

  • @kenzakhelkhal7931
    @kenzakhelkhal7931 2 ปีที่แล้ว +1

    Thanks dude u did very well

  • @FahimRahman1
    @FahimRahman1 3 ปีที่แล้ว +1

    Quality content.

  • @slakshmiics
    @slakshmiics ปีที่แล้ว

    thanks for sharing this