How to write xpath in Selenium when properties has no unique values?

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ค. 2024
  • In this video will see how to take xpath in selenium when there are no unique values are present any element or attribute values are dynamic(changing on every page load).
    I hope you like this video. For any questions, suggestions or appreciation please contact us at: programmerworld.co/contact/ or email at: programmerworld1990@gmail.com
    Details:
    programmerworld.co/selenium/h...

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

  • @krishtest9392
    @krishtest9392 16 วันที่ผ่านมา +1

    Thanks mam😊

  • @natashakaul2132
    @natashakaul2132 7 หลายเดือนก่อน +1

    Thanks , I got the solution from your video.. I hope Indexing will be allowed in our company

  • @VipinSingh-jf1ys
    @VipinSingh-jf1ys 3 หลายเดือนก่อน +1

    Thanks a lot ma'am now all ecommerce website will be automated.😊

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

    Thank you. It helped me to solve my query.

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

    Thanks for video!

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

    I have a reference file where I have stored all the Xpath that are used in my project. The script was working fine but for the last few days I am getting an error message - 'Index out of bound'.
    I showed it to one colleague he said to change the sequence of the Xpath i.e. Cut and paste the XPath of the web element where the script is failing to the top of the page(reference file) and it somehow worked.
    But this is not the solution though as other people in the project area also updating that file and somehow the sequence is getting changed after some time and I am getting the same error again for one web element or another.
    Any idea about this issue?

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

    Nice video

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

    We should not use index.. because that element will change to next index wat will you do? If the element place change also it should locate the same element...

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

    I have input as HTML tag and everytime page gets loaded , id value gets change, also rest of the elements are not unique.. can you please help me in this.

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

    In some companies, indexing is not allowed. Then what will you do?

  • @Shivam0605
    @Shivam0605 7 หลายเดือนก่อน +1

    indexing is not allowed then kindly make videos which do not contains index method
    🙃