How to handle Dynamically changing table index
Posted: Wed May 08, 2019 9:17 am
Hi Team,
I am facing an issue in xpath where the table index keeps changing on every run due to which my script fails. I wanted to know how i can handle this table index .
As Highlighed in the screen shot, on every test run the "table[3]" can be "table[2]" or even "table[1]" next time. Not sure how i can handle this dynamic ally changing table index. Please help.
I am facing an issue in xpath where the table index keeps changing on every run due to which my script fails. I wanted to know how i can handle this table index .
As Highlighed in the screen shot, on every test run the "table[3]" can be "table[2]" or even "table[1]" next time. Not sure how i can handle this dynamic ally changing table index. Please help.