I am working on a website.
For login, I have added retry scope.
So (attach browser, Enter Username, Enter Password, Click login) is in retry scope and condition in retry scope is element exist(timeout is increased) from the Home page. It’s working fine.
If the username or password is wrong that it gives error on the login page and doesn’t navigate to the Home page. But as the entire activities are in retry scope it again attempts to log in with wrong credentials.
How can I break out of retry scope if conditions like above occurs?