I have a data table as so
* c1 c2 c3
r1 a 1.2 deletebtn
r2 b 1.4 deletebtn
r3 a 2.3 deletebtn
r4 b 1.2 deletebtn
I am trying to delete entry in the test that will satisfy parameters I pass into function. e.g. deleteItem(a,2.3). I am able to delete searching by only c1, using find by xPath and checking if contains 'a', then delete it. How would I go about matching data that are in different columns, before calling .click() on the delete button? Im not looking for code, just the logic that I would write the code around. Thanks.
Aucun commentaire:
Enregistrer un commentaire