Solved
Forum Discussion
AlexKaras
Champion Level 3
Hi,
> why it works for OnStopTest and not for OnStopTestCase.
Because not every test is test case.
Test is, actually, any code that has been executed either as a Test Item or just as a function.
Test case is the code that either is marked as test case in the Execution Plan tree or is surrounded by the aqTestCase.Start/Stop calls.
Read documentation for OnStopTest and OnStopTestCase for details to understand the difference between them.
pankhuri
3 years agoOccasional Contributor
Hey Alex,
Thank you for clarifying. Though I have one more question- is OnStopTest handler getting deprecated sometime soon? I just want to be more careful before using OnStopTest handler.
Thanks,
Pankhuri
- brumazz3 years agoSmartBear Alumni (Retired)
The Event Handler should not be going anywhere in future releases of TestComplete.
Related Content
Recent Discussions
- 16 hours agojstaehlin
- 2 days agoAivanitskiy