by Ciege » Mon Dec 13, 2010 7:39 pm
Out of curiosity, how would Ranorex know if an error was encountered? Other than a thrown exception for blatant errors and validation errors, if something fails in your AUT, how should it know?
All of my automation is encapsulated in verifications before continuing. I can capture exceptions, determine their type and react however I want based on their types. I also do most of my own verifications and depending of what the result is and what is expected again, react however I want.
Sometimes a failure is expected in my AUT. For example, there are times I want to search for a window and verify it is not there. I can use the Find method and catch the exception. If I do not get an exception this could be the failure case for me and if I do get the exception this could be the pass case for me.
I think it's best to increase you own logging and error catching in your own code so it can be tailored to do exactly what you want rather than expect any implementation that Ranorex, Rational or any tool maker to make exactly what you want.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...