XPath Axes: How To Use preceding-sibling and following-sibling || Selenium WebDriver || Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ส.ค. 2021
  • XPath Axes in Selenium WebDriver used to locate the web elements which is not having any attributes on it's own, can't locate it directly using any of the locator strategy which selenium WebDriver provides. In such cases we can use XPath Axes methods or functions to locate the current WebElement based on other WebElement present in the HTML Document. We can use any one or all of the XPath Axes names/methods/functions to locate any WebElement on given web page. In this tutorial we are to see how to use XPath Axes methods preceding-sibling and following-sibling with sample. #precedingsibling #followingsibling
    Demo Site: www.zoho.com/crm/signup.html
    ======== All XPath Axes Names/Methods ========
    1. self
    2. parent
    3. child
    4. ancestor
    5. ancestor-or-self
    6. descendant
    7. descendant-or-self
    8. preceding
    9. preceding-sibling
    10. following
    11. following-sibling
    Subscribe to My Channel for more Selenium WebDriver Videos
    ~~~~~ / nandhis ~~~~~
    Watch other locators/xpath tutorials to get more insights:
    --------------------------------------------------------------------------------------------------
    Locators in Selenium - Id • Locators In Selenium W...
    Locators in Selenium - name • Locators In Selenium W...
    Locators in Selenium - className • Locators In Selenium W...
    Locators in Selenium - tagName • Locators In Selenium W...
    Locators in Selenium - LinkText & PartialLinkText • LinkText and PartialLi...
    Locators in Selenium - XPath • Dynamic XPath In Selen...
    Generate Dynamic XPath - • How To Generate Dynami...
    XPath Contains Method - • How To Use contains() ...
    XPath Starts-with Method • How To Use starts-with...
    XPath Contains Method • How To Use text() Meth...
    XPath Logical operator AND - • How To Use AND Operato...
    XPath Logical operator OR - • How To Use OR Logical ...
    XPath Logical operator not - • How To Use not Operato...
    XPath Axes Basics : • XPath Axes: Understand...
    ~~~~ Thanks For Watching ~~~~
    #XPathAxes #precedingsibling #followingsibling #self #parent #child #basics #self #parent #child #ancestor #ancestororself #descendant #descendantorself #preceding #following
    #SeleniumWebdriver what is xpath axes, how to use xpath axes, xpath axes methods, xpath axes functions, xpath axes name, how to identify xpath with parent child traverse relationship, how to use preceding sibling 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, identify child locators through reference of parent node, 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 descendant, 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, 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

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

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

    Good Video.... Thank you

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

      Thank you!💐
      Please keep supporting🙌 Happy Automation 👍

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

    you explained in a easy way. thank you so much for this video..😀

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

    nice explanation easy to understand

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

    You made this so easy

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

    Awesome explanation

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

    Good explanation sir love u so much

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

    superb..!!Thanks alot

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

    Please continue this series sir

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

      Sure 🙌 please keep supporting 💐🙏
      Happy automation 🎉

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

    Thank you sir....

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

      Most welcome. Happy Automation!!

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

    Sir this one absolute x path??

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

    Bro after the xpath using a // or /