Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
I am not able to reproduce this issue, I have attached a project, I have create an empty project with "test" project property and an event handler "TestRunListener.afterStep" and added the same script I referred to you,
And I have a testcase, when I run the test case I dont see that error you are getting.
If you add this to testSuiteRunlistener it will run only when you run the TestSuite.
Attached is the project.
Thanks,
Jeshtha
I am not able to reproduce this issue, I have attached a project, I have create an empty project with "test" project property and an event handler "TestRunListener.afterStep" and added the same script I referred to you,
def projectProperty = testRunner.testCase.testSuite.project.getPropertyValue( "test" )
log.info "MESSAGE: " + projectProperty
And I have a testcase, when I run the test case I dont see that error you are getting.
If you add this to testSuiteRunlistener it will run only when you run the TestSuite.
Attached is the project.
Thanks,
Jeshtha