I have created a simple login Userform with some basic validation on the username and password fields(using hardcoded values for the time being). If the LOGIN button is pressed on the screen and an ...
1. Initially you have Login Page 2. You Entered Wrong Credential 3. Due to that wrong credential the Dialog Page appear with Ok button 4. Now the click operation performed in OK button 5. Test Stopped after click the OK button
is this your question right?
From my understanding your test should be continue after clicking the ok button
You should validate the DLG box and login page are exist or not with IF condition After that you can proceed with correct credential