I use Selenium for a customer end actually i have a problem testing the error message on required field. I explain :
I work on a form with multiples input with the attributes required :
The problem is : No html is generated with the error message. How did you get the actual text error ?
<select name="id_role" id="id_role" required="required" data-toggle="values" data-label-options="{"Gestionnaire":["affiliation"],"Administrateur":["affiliation"],"Manageur":["affiliation"],"Utilisateur":["affiliation"]}"
class="form-control"> -- Choix -- Utilisateur Gestionnaire Manageur Entreprise Manageur Client
And second question, is that normal that the error is different in function of the browser ?
Thank you.
Aucun commentaire:
Enregistrer un commentaire