How to write Dynamic XPath | Stable XPath for dynamic Web Elements | SelectorsHub | XPath

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ค. 2024
  • Take my Udemy Course and learn A to Z with deep concepts about XPath, cssSelector, WebElements, Shadow DOM, iframes, SVG, SelectorsHub, TestCase Studio and more complex automation scenarios to be an automation expert-
    www.udemy.com/course/xpath-cs...
    Or
    Want to be expert in XPath, Selectors, WebElement, DOM, SelectorsHub & TestCase Studio, join my training. Registration Link-
    selectorshub.com/selectorshub...
    Please LIKE, SHARE and SUBSCRIBE. Share SelectorsHub & let others know about this incredible innovation.
    ▬▬▬▬▬▬ SELECTORSHUB Home Page & Download link ▬▬▬▬▬▬
    SelectorsHub ► selectorshub.com/
    Telegram Group ► t.me/joinchat/VeznXC0m6D-1kCa9
    ▬▬▬▬▬▬ SelectorsHub Full Course ▬▬▬▬▬▬
    Udemy ► bit.ly/SH_Full_Course
    Discount Code ► EA777202A4FF566F61AC
    TH-cam detailed tutorial. ► • XPath Plugin Selectors...
    ▬▬▬▬▬▬ Support SelectorsHub 🤝💰 ▬▬▬▬▬▬
    Be a Patron ► bit.ly/SH_Patron
    PayPay ► www.paypal.com/paypalme/sanja...
    Buy me a Coffee ► www.buymeacoffee.com/Selector...
    Google Pay | Paytm ► 9663877336
    ▬▬▬▬▬▬ Need Support 👋 ▬▬▬▬▬▬
    Connect on Slack ► bit.ly/SH_Slack
    Telegram Group ► t.me/joinchat/VeznXC0m6D-1kCa9
    ▬▬▬▬▬▬ TH-cam Playlists 🚀 ▬▬▬▬▬▬
    SelectorsHub ► bit.ly/SH_tutorials
    XPath ► bit.ly/XPath_Tutorials
    CSS Selectors ► bit.ly/cssSelector_tutorial
    ▬▬▬▬▬▬ SelectorsHub Sponsor 👋 ▬▬▬▬▬▬
    TestProject ► bit.ly/Sh_TestProject
    ▬▬▬▬▬▬ Follow SelectorsHub 👋 ▬▬▬▬▬▬
    Don't forget to subscribe ► bit.ly/SelectorsHub_TH-cam
    TWITTER ► / selectorshub
    LINKEDIN ► / selectorshub
    Join Slack ► bit.ly/SH_Slack
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    Don't forget to subscribe ► bit.ly/SelectorsHub_TH-cam
    TWITTER ► / sanjaykumaarr
    LINKEDIN ► / chropath-creator
    #selectorshub #dynamicxpath #xpath
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Want to be expert in XPath, Selectors, WebElement, DOM, SelectorsHub & TestCase Studio, join my training. Registration Link-
    selectorshub.com/selectorshub-training/

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

    Thanks a lot especially for Dynamic XPath!! .. Keep going ..great work !!

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

    Sir, any example where xpath is changing dynamically in scroll view when user scrolls up and down??

  • @travelbark1013
    @travelbark1013 5 หลายเดือนก่อน +1

    if we have robot then how can we find the targeted element in Production (Element has changed or will change every time) and suppose we dont have table ....coz you know currently no one deal in table

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

      In that case, You can write xpath relative any other stable element. In SelectorsHub you can generate those kind of axes xpath automatically

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

      @@SelectorsHub any other method of you know?

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

      @@SelectorsHub if we dont have stable element ...

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

      Hello sir,
      I also facing similar issue, could you help?
      Using Robot frame work - POM
      Maintaining singup_locators.py for all the exements xpaths.
      Have signup_keywords.robot file for testcases
      For dropdown options have xpath with contains keyword.
      E.g. if test data is "admin", then expath should be something contains "admin".
      Is it possible to parameterize - to generate xpath?

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

      @@thaji5488 yes, you can use atttribute filter feature of selectorshub.

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

    I can't find selector hub under property

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

      Can you please tell me where can I find it

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

      @@arithapraveevlogs Its there in devtools as last sidebar.
      Please checkout this tutorial th-cam.com/video/S8Wq0VjqzkU/w-d-xo.html