catching the place (procedure, function...) that trigger en event
Hi,
I have a test that is particular. I mean, it's a data driven test and I loop into it from one time to... "x" times.
I have some complications with this test.
And if in the mail that the robot send, in all other tests, I could know if the test have been executed (even if it has failed), in this particular test, because of the fact that the number of loops is unknown I can't do as I do on the other tests.
(I hope that my descriptions is a little bit clear...)
So ! I would like to catch, on the OnLogError, the procedure (say "DataDrivenTest1") that was in error.
The LogParams.MessageText is not usefull.
The Sender.Name only contains "GeneralEvents"
Is there a way to do that ?
Thank you very much,
Note : I pass this problem by using a boolean that is set to false at the begining of each loop and true at the end. Hence, I only have to test is it is True to consider that all the loops that have begun have ended. But I'm not satisfied by this solution...
Mehdi