What is XPath? Types of XPath? How to write XPath? | XPath Tutorial for Beginners |

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ค. 2024
  • In this video, I have explained what is XPath and how many types of XPath are available and what are those.
    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’]
    ▶️ Next 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.
    #hyrtutorials #selenium #xpath #webAutomation
    what is xpath in selenium?,what is xpath?,types of xpath?,how to write xpath?,xpath in selenium,selenium xpath tutorial,selenium xpath examples,intro to xpath,introduction to xpath,how to become genius in xpath in selenium?,using xpath to locate web elements,selenium interview questions,what is xpath & absolute versus relative xpath ?,xpath examples and demonstrations in html,xpath basics tutorial,xpath for selenium,xpath expression locators,how to find xpath,xpath locator in selenium,absolute xpath & relative xpath,selenium xpath,mostly commonly used 10 syntax in xpath,absolute xpath,relative xpath,single (/) and double slash (//),rev direction,following-sibling,preceding-sibling,child,parent,what is difference between relative xpath and absolute xpath,selenium how to create xpaths,locate webelement using xpath,dynamic xpath in selenium using different approaches,how to find xpath in chrome browser for selenium webdriver,xpath axes in selenium,xpath or css selector - which is better - which to prefer in selenium,overview and discussion of xpath,xpath vs css selector,differences between xpath & css selector in selenium,xpath tutorial for dummies,why use xpath locators?,selenium locator strategies,xpath vs css selector in selenium webdriver,selenium,xpath,css selector,xpath basics,basics of xpath,basic xpath syntax,xpath basics to advanced,selenium webdriver tutorial,writing xpath with elements & attributes,basics of xpath in selenium webdriver,how to write xpath to find elements in the webpage,dynamic xpath using different approaches and findelements concept,how to create our own xpath,how to write xpath using and
    hyr tutorials,h y r tutorials,xpath tutorial,xpath,xpath tutorial for beginners,relative xpath,xpath in selenium,selenium xpath,dynamic xpath,xpath in selenium webdriver,selenium xpath tutorial,xpath axes,what is xpath,xpath examples,how to write xpath,xpath tutorial selenium,webdriver xpath,absolute xpath and relative xpath,learn xpath,selenium locators,x path,selenium tutorial for beginners,xpath tutorials,xpath attribute,types of xpath,webdriver
    yadagiri reddy,h yadagiri reddy, hyr, h y reddy, yadagiri reddy h

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

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

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

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

    Started from the basics AND _demonstrated_ each concept AND explained their use in the real world AND demonstrated this too. A superior teaching video

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

    It's very clear explanation. Thanks!

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

    Clear cut explanation 🙏 thank you very much

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

    Very easy way to understand. Nice video.

  • @C.Sakthivignesh
    @C.Sakthivignesh ปีที่แล้ว +4

    Thank you so much sir for made this video.

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

      Happy learning buddy 😊

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

    Thank you! This was really helpful

  • @SriRam-fk9fq
    @SriRam-fk9fq ปีที่แล้ว +2

    Very good explanation. Thank you!

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

    Thank you sir for the explanation

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

    Ver Nice and Informative Video

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

    Nice explanation... Easy to understand 😊

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

    Thanks a lot sir, It was Amazing session !

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

    Thank you so much, its very informative

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

    You are the best! Thank you so much

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

    Nice.. Can we have more tutorials on FlaUI.. Hope you haven't stopped making tutorials on FlaUI.. Great tool to learn automating window apps from you :)

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

      Few more topics are there to cover and will cover them as soon as possible.

  • @AbdulRahman-wg4ve
    @AbdulRahman-wg4ve 3 ปีที่แล้ว +3

    Very good explanation : )

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

    Thanks for explaining 🙏

  • @user-oq7qi1vq5r
    @user-oq7qi1vq5r ปีที่แล้ว +1

    Thanks a lot it was helpful

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

    Good explanation and continue the same!

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

    Very informative thank you

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

      Thankyou 😊
      Keep watching and keep supporting

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

    That was very helpful...thanks

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

    Your the best..🙏

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

    Thank you sir.

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

    Amazing, thank you

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

    nice!!

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

    Thanks so much

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

    Thank You..

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

    👍🏽

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

    Thank you

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

    Best

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

    In one page I written username and password field through xpath using explicit wait but it’s not getting reflected but the xpath written my me is founding elements

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

      U mean it is identifying the elements but not entering the text?

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

      @@HYRTutorials no there is no xpath in that page

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

      When I try to inspect there is no option

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

    sir do you have any tutorial on SelectorsHub xpathtool?

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

      As of today NO

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

      @@HYRTutorials np sir, i got it at NaveenAutomationLabs and watched it there. thnk you.

  • @roshanp.thomas1768
    @roshanp.thomas1768 3 ปีที่แล้ว

    Sir. what is current node in x path.how we can identify it.Can you please show an eg.

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

      Current node means what u have selected.
      For eg. There are 5 html elements.
      If u select the second element then second element is the current element.
      If u select 5th element then 5th element is the current node.

    • @roshanp.thomas1768
      @roshanp.thomas1768 3 ปีที่แล้ว

      @@HYRTutorials E
      E.g //div[@classname='value']//input here how identify the current node..two web elements.like div and input.

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

      @@roshanp.thomas1768 how many elements this xpath is returning?

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

      @@roshanp.thomas1768 if it returns only one then input is the current node.
      If it is returning multiple elements then also input is only the current node but u will have multiple current nodes

    • @roshanp.thomas1768
      @roshanp.thomas1768 3 ปีที่แล้ว +1

      @@HYRTutorials Thank you Sir

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

    If u need that url I can provide u can try that if if worked kindly post here and tell me y it’s not worked

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

      Send me the script screenshot on hyadagirireddytutorials@gmail.com

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

    path ala tisukunaru

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

    someone else is seeing he has -1 deslikes?