Hi everyone,
I have a little issue. I’m trying to automate and application, and sometimes it throw an “Image not found” Exception and that’s perfectly find.
All I want to know is how cant I catch this exception in a try/catch activities ?
I tried system exception, find element and system but none of them worked ?
Tx
msan
(Michel SAN)
April 9, 2020, 11:52am
2
@Hadrien_Poquet
Could you please join a copy of the actual traceback?
(With a little search over internet I found Uipath.Core.ImageOperationException
)
Here it is:
I find the same solution that’s why I don’t understand why it doesnt work
msan
(Michel SAN)
April 9, 2020, 3:38pm
4
did you try to run it in debug mode? (F6) I’d like to see the content of $exceptionDetails (click on the magnifying glass and copy/paste the text)
msan
(Michel SAN)
April 10, 2020, 10:56am
6
Thanks. And your try/catch, where is it?
I delete it because i doesn’t work
msan
(Michel SAN)
April 10, 2020, 2:52pm
8
could you please put your click activity inside a try/catch and set as exception to catch Uipath.Core.ImageOperationException
with a warning log inside (" Uipath.Core.ImageOperationException catched by activity")
how can i set a warning log inside ?
msan
(Michel SAN)
April 14, 2020, 5:00pm
10
My robot is running so I cannot make a screenshot. It might look like this.
Try
Except Uipath.Core.ImageOperationException
Log Message (“I saw you”)
Except exception
Log Message (“that’s a fail…”)
I found th esolution, it’s a selector not found exception.
tx
1 Like
system
(system)
Closed
April 20, 2020, 10:32am
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.