mardi 20 août 2019

How to select a checkbox from multiple check boxes having same class,type,value and tab index And checkbox id keeps on changing

There are multiple check boxes in a web page. I need to select single check box. But all the check boxes have the same type,value,tab index. only the checkbox id is different but the id is getting generated dynamically for every execution and my test script is getting failed.

How can I write the xpath to select a single check box?

Aucun commentaire:

Enregistrer un commentaire