Forum Discussion
Above the script also not working
def props = testRunner.testCase.testSteps["SProperty"]//(My property name)
String[] props = new String[props.getPropertyCount()]
aprops = props.getPropertyNames();
for (int i=0;i<aprops.size();i++)
{
props.setPropertyValue(aprops[i],"")
}
correct me if u have any new update for this
- Sandyapitester10 years agoFrequent Contributor
Problem is am passing the below script in testcase teardown script
def props = testRunner.testCase.testSteps["StreamingProperty"]
String[] props = new String[props.getPropertyCount()]
aprops = props.getPropertyNames();for (int i=0;i<aprops.size();i++)
{
props.setPropertyValue(aprops[i],"")
}once the test execution is completed still exist the existing property transfer value.
Plz correct me if am wrong any where
- Sandyapitester10 years agoFrequent Contributor
Him Any update for this issue
- nmrao10 years agoCommunity HeroDo you want to remove all the properties of Properties Test step in the Teardown script of Test case?