Try catch issue in newer version UIpath

Hi ,

I’m trying to use Try-Catch for my project. i am facing issue in try catch for newer version of uipath.

Scenario 1: If I use Try-Catch for each activity individually then the try-catch works. It catches the exception.

Scenario 2: If i use the try catch for entire sequence, it is not going to catch block, bot is stopping.

i am attaching project.Files.zip (2.7 KB)

Even i dont know what is issue with try catch, older version it was working fine.

may i know the studio version
@rag

2019.10.0-beta

Fine
what activities were used inside the OPEN BROWSER
@rag

one click activity and one set text activity

hmm…it should work actually…are you sure this worked in previous version
and didnt in new beta version
@rag

yes, it was working fine for earlier version

i am attaching screenshot of the workflow

2

ok
is it clicking and typing the string in that field
if that works it wont get into catch block
@rag

it is clicking button, for testing purpose i changed the second activity(intentionally i changed the selector for second activity).

To check whether it is going to catch block or not

Kindly find the attached screnshot of error message

Fine
are you running in debug mode or in normal mode
and what is the old version that was working fine with this sequence
Cheers @rag

@Palaniyappan
That was the mistake i done, i choose debug mode.

Now it is working fine

great
cheers @rag

Thank you palaniyappan

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.