Avoid using index in XPath | Design Generic XPath using position() & count() functions in Selenium

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 มี.ค. 2022
  • How to avoid using index in XPath in Selenium and create a effective generic XPath in a simple way.
    Thank you for watching this video.

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

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

    Thank you very much. I really needed this, I searched many websites and they always used the indexes to explain and if someone asked how to do it without indexes, there was always an answer using count but without going into detail, showing the step by step or reason why that was the answer. You did the whole explanation and it was very easy to understand.

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

    Thank you brother. this is absolutely simple solution to this heavey finding

  • @GC-qf6os
    @GC-qf6os ปีที่แล้ว +1

    great work..we need more such content

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

    Wow...It's ur 1st le I have come across and its great..Thanks ..Plz share the sequence if its there .thanks

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

    Thank you..but I can see still index used in tr evel that is tr[1]

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

      Yes, generally tables have 1st row as a header(columns name) and rest of the rows have values for them. So here tr[1] means 1st row. That will not create any issue.
      But if your table has not just 1st row, but also more rows together for a header, then it can be handled a bit differently.