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

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 11

  • @natashakaul2132
    @natashakaul2132 11 місяців тому +1

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

  • @VipinSingh-jf1ys
    @VipinSingh-jf1ys 7 місяців тому +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.

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

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

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

    Thanks for video!

  • @mannojkp6920
    @mannojkp6920 10 місяців тому

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

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

    Nice video

  • @krishtest9392
    @krishtest9392 4 місяці тому +1

    Thanks mam😊

  • @natashakaul2132
    @natashakaul2132 11 місяців тому

    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.

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

  • @Shivam0605
    @Shivam0605 11 місяців тому +1

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