mcbootus
15 years agoContributor
[Res] Globally clearing all properties values at test start
Dear Support,
I have around 40 properties steps in my test suite which contain around 500 rows of property "names" and corresponding "values". Is there a simple way to clear all property values from the property steps while keeping all the property names ? This is to prevent old values left over from a previous test run affecting the current test execution. At the moment I have to visit each property step and clear the values manually. Ideally I want to place some groovy code in a top level script which will erase all property values from all scripts automatically. Is such a thing easily possible?
Thank you in advance.
Armen
I have around 40 properties steps in my test suite which contain around 500 rows of property "names" and corresponding "values". Is there a simple way to clear all property values from the property steps while keeping all the property names ? This is to prevent old values left over from a previous test run affecting the current test execution. At the moment I have to visit each property step and clear the values manually. Ideally I want to place some groovy code in a top level script which will erase all property values from all scripts automatically. Is such a thing easily possible?
Thank you in advance.
Armen