How do I add User Code with exception handling and Alerts
How do I add User Code with exception handling and Alerts
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?
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: How do I add User Code with exception handling and Alerts
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
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