Write an error log to a specific path

Hello, i was wondering if there is a possibility for the Robots to write an error log-file to a specific path in case that one condition is not met.

Background: right now i’m using the read text-activity and classifying a text to “A”, “B” or “C”. But i want the Robot to write an error log file in case, that it couldn’t classify the text and hence the output is none of the above … like “D”.

Right now i’m solving this “problem” with the “Take Screenshot”-Activity. The Robot takes a Screenshot of the text in case that it couldn’t classify it and saves the screenshot into a specific path.

Thanks for your help! :smiley:

Buddy @Mod091
Kindly have a look at this thread

Hope this would help you

Cheers

2 Likes

Even you could use Global Handler to get more control when some conditions fails.

1 Like