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
- Sandyapitester8 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
- Sandyapitester8 years agoFrequent Contributor
Him Any update for this issue
- nmrao8 years agoChampion Level 3Do you want to remove all the properties of Properties Test step in the Teardown script of Test case?
Related Content
- 2 years agoKellyWiegand
- 8 years agozsousa
- 9 years agoJustinM89
Recent Discussions
- 36 minutes agowp5987