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

Поділитися
Вставка
  • Опубліковано 4 сер 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

КОМЕНТАРІ • 76

  • @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!

  • @shrutibhardwaj2068
    @shrutibhardwaj2068 3 роки тому +3

    Very easy way to understand. Nice video.

  • @ritu7180
    @ritu7180 2 роки тому +2

    Ver Nice and Informative Video

  • @OO7sawan
    @OO7sawan 4 місяці тому

    Nice explanation... Easy to understand 😊

  • @C.Sakthivignesh
    @C.Sakthivignesh Рік тому +4

    Thank you so much sir for made this video.

  • @sandeepchegu6849
    @sandeepchegu6849 2 роки тому +2

    Clear cut explanation 🙏 thank you very much

  • @thetruth5672
    @thetruth5672 3 місяці тому

    Thank you sir for the explanation

  • @kwsrchoudhury
    @kwsrchoudhury 3 роки тому +4

    Thank you! This was really helpful

  • @SriRam-fk9fq
    @SriRam-fk9fq Рік тому +2

    Very good explanation. Thank you!

  • @icebear_edits8159
    @icebear_edits8159 3 роки тому +1

    You are the best! Thank you so much

  • @pampaxideas762
    @pampaxideas762 2 роки тому +2

    Thank you so much, its very informative

  • @mohanramakrishnakonijety9405
    @mohanramakrishnakonijety9405 16 днів тому

    Thank you

  • @Be_positive953
    @Be_positive953 3 роки тому +2

    Thanks a lot sir, It was Amazing session !

  • @markdillon9588
    @markdillon9588 3 роки тому +1

    Very informative thank you

    • @HYRTutorials
      @HYRTutorials  3 роки тому +1

      Thankyou 😊
      Keep watching and keep supporting

  • @user-oq7qi1vq5r
    @user-oq7qi1vq5r Рік тому +1

    Thanks a lot it was helpful

  • @prakruthi9028
    @prakruthi9028 3 роки тому

    Good explanation and continue the same!

  • @AbdulRahman-wg4ve
    @AbdulRahman-wg4ve 3 роки тому +3

    Very good explanation : )

  • @mukeshm9530
    @mukeshm9530 Рік тому +1

    Thanks for explaining 🙏

  • @happysmiker
    @happysmiker 2 роки тому +1

    That was very helpful...thanks

  • @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.

  • @rubenkenedy6654
    @rubenkenedy6654 Рік тому +1

    Thank you sir.

  • @bhavanigr6513
    @bhavanigr6513 2 роки тому +1

    Your the best..🙏

  • @elisabetta8403
    @elisabetta8403 Рік тому

    Amazing, thank you

  • @sararamadan1907
    @sararamadan1907 3 роки тому +1

    Thanks so much

  • @madonnajojo2371
    @madonnajojo2371 3 роки тому +1

    nice!!

  • @MrJhinchak
    @MrJhinchak 3 роки тому +1

    Thank You..

  • @vlstechnologys776
    @vlstechnologys776 2 роки тому +1

    Best

  • @bheemshankar_pk
    @bheemshankar_pk 6 місяців тому

    👍🏽

  • @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.

  • @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

  • @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

  • @chenugayatri9442
    @chenugayatri9442 4 місяці тому

    path ala tisukunaru

  • @jeanroberto5974
    @jeanroberto5974 3 роки тому +2

    someone else is seeing he has -1 deslikes?

  • @amruthajagarlamudi9058
    @amruthajagarlamudi9058 2 роки тому

    Thank you