Solved
Forum Discussion
nmrao
11 years agoCommunity Hero
If it is testSuite setup script, then below should work:
testSuite.setPropertyValue(name, value)
testSuite.setPropertyValue(name, value)
- TesterNo111 years agoContributor
Thank you Rao for quick turn around.it really helped.
I am clueless as to why syntax is different.
- nmrao11 years agoCommunity HeroWhen you open the testSuite setup script, you should be able to see on the top of the editor that the available object names like runner, context, testSuite, log in this case. Only those will be available.
Similarly, different objects available at different levels like groovy script test step, script assertion, project load script, and teardown scripts.- TesterNo111 years agoContributor
okay..
in that case..i see all events says" scripts invoked with testrunner,context,testcase"
so should i be able to be set property like below from events?
testCase.setPropertyValue("TestCaseComments", "")