Solved
Forum Discussion
TesterNo1
11 years agoContributor
Thank you Rao for quick turn around.it really helped.
I am clueless as to why syntax is different.
nmrao
11 years agoCommunity Hero
When 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.
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", "")- nmrao11 years agoCommunity HeroYes, that can be used to set a test case property from setup script of test case.