vendredi 9 septembre 2016

SimpleTest Browser All Checkboxes Same Name

Using SimpleTest, how would I check the third checkbox if they all share the same name?

<input type='checkbox' class='style' name='same' value="First" />
<input type='checkbox' class='style' name='same' value="Second" />
<input type='checkbox' class='style' name='same' value="Third" />
<input type='checkbox' class='style' name='same' value="Forth" />

Alternatively, when I get() the URL using SimpleTest, can I somehow add ID's to the inputs?




Aucun commentaire:

Enregistrer un commentaire