Forum Discussion
kamahade
15 years agoRegular Contributor
Check if following helps you ...
if you are setting value at testsuite level... do following ...
if you want to set property at testcase level....
testRunner.testCase.testSuite.getTestCaseByName("TESTCASE_NAME").setPropertyValue("PRO_NAME","ITS_VALUE")
if you are setting value at testsuite level... do following ...
testRunner.testCase.testSuite.setPropertyValue("abc",yourValue);
if you want to set property at testcase level....
testRunner.testCase.testSuite.getTestCaseByName("TESTCASE_NAME").setPropertyValue("PRO_NAME","ITS_VALUE")