0
I am building a Test in the Selenium IDE (Chrome extension) to fill out a form and capture the message it returns in case of an error. On the site, when an error occurs, the message I’d like to capture is returned within a modal-dialog.
<h4 id="msgBody">Não foram encontradas contas habilitadas para pagamento. Tente pelo NIS.</h4>
The sequence built on the Selenium IDE is:
I noticed that there is an option for Assert Alert, but it cannot capture the one contained in the modal dialog.
Comments: If you have doubts about the behavior of the system, it is available at:
Data generated for testing:
CPF: 969.107.591-17 Date of Birth: 23/03/1956