We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

arunbharath's avatar
arunbharath
Contributor
6 years ago
Solved

Caused by: groovy.lang.MissingPropertyException: No such property: testCase for class: Script2

I'm using below script to get the error message from test-step in listener level. I place this script under TestRunListener.afterRun   def logPrefix = testCase.getName() + ': ' log.info (logPrefix ...