Page 1 of 1

How do I add User Code with exception handling and Alerts

Posted: Tue Mar 05, 2013 8:38 am
by Paprikano
Question: is it possible in Ranorex while doing a user code, and on your method in C# code, throw exceptions, or create logfiles in case an action fails?

Re: How do I add User Code with exception handling and Alerts

Posted: Wed Mar 06, 2013 1:02 pm
by Support Team
Hi,

I am not totally sure I got your question, but in generally if an action
fails you will always get a log message which tells you what happened.
You can of course also log your own text in UserCode in case of
a failed action, but in order to get a better overview of Ranorex I would
really suggest reading the topics in our UserGuide, in special the topics
about the UserCode:
User Guide
Lesson 7: Code Modules
Code Examples

Regards,
Markus