hello everyone,
i have a complete automation with oracle application. but i need to add the part for handling error. for example, if the end-user sends an excel file with invalid data the oracle application will throw an error how to give order if there is an error at the oracle application close form and send an email to the sender that the file is not correct.
for more clarification
U can capture this popup using check app state activity and check if popup is present u can give the exception in throw activity and also send the mail to respective user with specific error
For exception handling of popups, try to make selector of that and use the ‘use application/ browser’ activity where just update the property section (single window)/ Application Instance and give hotkey ‘Enter’ or make the ‘OK’ button selector.
If this not works also - use classic activity as ‘Attach Window’ and pass the hotkey/ or make ‘Ok’ selector
if i try this the next time i run the automation if the robot doesn’t see the new popup window it will throw an error cannot find activity if i understand correctly
What i can suggest, please follow my first suggestion and go to the property section where one options is there ‘continue on error’ apply check and give needful time in ‘timeout’ property option.
Try/ Catch definitely helps you, but in catch also you have to handle the error. It’s up to you.