HI Team,
I was strucked with a Showstopper in my Project.
Below is the Sample flow i followed - Please help at the earliest…
Process:
- launch application in IE Browser
- check for Login Screen by “Image Exists”
- Condition: If Image NOT Exists after 30 Sec THEN, Click Browser Refresh Icon
- Here one More Condition: In between IF Browser Crashed THEN, while trying to click on Refresh button, application will through Exception Message, which i am capturing in Try-Catch.
- In catch, i created a Boolean variable & assigning it to TRUE.
- When Outcome is TRUE, then it will Re-Open the Browser.
- When Outcome is False, it will wait for another 30 sec to get the Login screen.
BUT Here, for True condition, when i wantedly Close the Browser to validate the Negative flow,
Bot is Re Opening the Browser BUT it is Continuously Re Opening & Keep on going…
Kindly assist me on this Issue.
looking forward your help and support.
Regards,
Pavan.