Need help for apply Exception Handling

Dear Experts,
How can I use exception handling executing this process.
once if i get selector error message in middle of the execution again the process should restart again .
which activity should be perfect in this process?
Trycatch or if activity?
could anyone help me please?

Hi
—Kindly Place all there’s stuffs inside a try block of try catch activity
— and in the catch block of any exception occurs it will go there where we can first bite that with a log message activity followed by that we can mention all the sequence that we have in try block again in the catch block in the same sequence so that it will repeat again if any error occurs in try block on

Cheers @Abubakkar

1 Like

Thanks @Palaniyappan.
In catch block for the selector error
Can I mention “System.Exception” or any browse for types?

1 Like

System.Exception is fine as it will take any exception even apart from selector issue as well

Cheers @Abubakkar

Were we able to handle the exceptions now buddy
Cheers @Abubakkar

1 Like

In case in the SAP automation process next window screen Bot will can’t identify the next SAP window screen. some times it will taken 10 mins to open that excel file or SAP screen?
What exception activity should I use?
Could you help me please?

1 Like

https://www.youtube.com/channel/UCFf7FdXOUPPsc9e3sNwcagg/videos

2 Likes

In that case let’s use element exists or image exists or if it’s a file use path exists and check whether the element or file exists or not in try block, validate with a if activity and if any exception occurs it will go to catch block
Cheers @Abubakkar

1 Like

@Abubakkar

you can use Find element Activity which has an option to wait visible.
Make a look on this


Hope this will help you.

Thanks
Suresh J

1 Like

Thanks for the video @Infinity_Lab.
Currently Is there any openings going on please let me know.
I can join immediately.
Thanks in Advance
Abubakkar