pankhuri
4 years agoOccasional Contributor
OnStopTestCase event handler going in Loop
Hi,
I have created an OnStopTestCase event handler for my test and in there i am reverting back the data which was done during test execution.
Now, when my test fails, it goes to OnStopTestCase event handler and tries to revert the data. But somehow, the revert fails, so it goes again to OnStopTestCase event handler. and the cycle continues.
Can someone help me how to break this infinite loop for the event handler?
Thanks in advance!
Pankhuri