Exception handling in StudioX

Hi Guys,

Greetings. Is there any way how we can handle the exception in StudioX?

we do have a global exception handler that automatically should give you more options.

1 Like

can you share any example?

Delete column : select whatever sheet from the default workbook and for column name insert a bogus name as β€œ123” and run the project. GEH should pop up with : retry/stop/skip options

1 Like

Let me try this solution

Hi Horia, is this solution can handle system exception?

Hi @ian ,

Studiox have inbuilt mechanism that handles exception via global exception handler.

Whenever you are recieve any exception in studiox it automatically navigate to global exception handler workflow it automatically triggers popup showing the option like retry/continue/ignore so use can click the appropriate option to handle the exception.

Other than global exception handler we can use three more methods to handle exception scenarios in studiox

For web automation in studiox is we can handle exception scenario for automating web application to use check app state to verify whether we are on correct page or not.

Second method if you don’t want to throw any popup you could modify thr Global exception handler to send email to respective members without throwing popup.

Third method if you want to go little technical we can enable studio activities in studiox by enabling the filter in the activities panel to show developer activities. After enabling you could get try and catch activity so you can handle exception.

Sharing my experience. I hope it might helpful and provide some insight on this topic. Thanksm

Thanks @kirankumar.mahanthi1, the third method is what I need in my project. Do you know how to enable the Studio activities in studioX?

Hi,

You have to enable the show developer options like below. please refer the screenshot. thanks.