Forum Discussion
nmrao
4 years agoChampion Level 3
If you look at the screen shot, you will now understand why your script is not working.
testRunner.runTestStepByName('GetSchemaDefinition')
Here are couple of reasons
- there is no testRunner available in Events listener script
- the groovy script is present in test case, where there is step with the provided name. However, in the listener, they don't aware of those data.
- your case is not valid for events
If you explain the details of your case, what you are trying to achieve and the context then probably that would be helpful.
testRunner.runTestStepByName('GetSchemaDefinition')
Here are couple of reasons
- there is no testRunner available in Events listener script
- the groovy script is present in test case, where there is step with the provided name. However, in the listener, they don't aware of those data.
- your case is not valid for events
If you explain the details of your case, what you are trying to achieve and the context then probably that would be helpful.
Related Content
- 12 months ago
Recent Discussions
- 5 days ago
- 10 days ago