Forum Discussion
8 Replies
Sort By
- jkrierRegular Contributor
I use this
def props = testRunner.testCase.testSteps["myprops"] String[] props = new String[props.getPropertyCount()] aprops = props.getPropertyNames(); for (int i=0;i<aprops.size();i++) { props.setPropertyValue(aprops[i],"") }
- SandyapitesterFrequent Contributor
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
- nmraoChampion Level 3Are you in need of such script? If yes, not sure why it is repeated? Please clarify exact problem that are facing.
Related Content
- 2 years agoKellyWiegand
- 8 years agozsousa
- 9 years agoJustinM89