Forum Discussion
2 Replies
Sort By
- HKosovaSmartBear Alumni (Retired)
Hi sizhou,
What is your question?
- sizhouOccasional Contributor
Sorry, I tried to finish it before a meeting, somehow sent it out by mistake before I can finish it.
The description of these 2 event handler states that the groovy scripts will be invoked with testCase with a directly accessible object, instead, I can only directly access testSuite. I am wondering whether it is a just typo, testSuite rather than testCase? in description or the event implementation is wrong.
I do need to know which testCase I am running for logging purpose before and after each testing case run.
BTW, I found a workaround by using context.currentTestCase.
thanks,
Sizhou.
Related Content
Recent Discussions
- 4 days agominhng