I have a form where I have to fill in my e-mail address and password and then click on the Login button. The text “Incorrect password” is displayed. How can I create a step where this use case is taken into account and fill in the correct password if the validation text is displayed? I am interested in this in terms of a data driven test where several email addresses and passwords are filled in (if- return - else).
Thank you in advance for the answer!