Forum Discussion

pankhuri's avatar
pankhuri
Occasional Contributor
5 years ago
Solved

How to run code in OnStopTestCase section while executing the test from Keyword/Script test area?

Hi,

 

I am trying to do some stuff at the end of my text execution, and writing that piece of code in OnStopTestCase event handler.

But I noticed that this section is executed only when I am running my test from TestItems tab of my project.

 

If I want to run my test from keyword tests or script tests, the control doesn't go to OnStopTestCase section.  Do I need to do any setting for this to work? Can someone help?

 

Thanks,

Pankhuri