mardi 27 janvier 2015

Is there a way in selenium python webdriver to assert that all checkboxes are either checked or unchecked?

I'm building a test that checks that status of many checkboxes on a single page.


Is there a way I can use a loop or something similar to assert that they are all either checked or unchecked? I'm new to python and python webdriver, so I'm not even sure how I would start something like this.


I've seen answers to similar questions using java, but nothing in python.


Thanks for your help.





Aucun commentaire:

Enregistrer un commentaire