Solved
Forum Discussion
nmrao
9 years agoCommunity Hero
Below can be used for test case
context.testCase.properties.each {
context.testCase.properties[it.key].value = ''
}
for test suite
replace context.testCase with context.testCase.testSuite in the above code snippet.
serto
6 years agoNew Contributor
How i have to change the code for deleting values from TestStep Properties?
- nmrao6 years agoCommunity HeroCreate new topic with details, please. Original question is already marked answered.
- rajash6 years agoContributor
to remove propety value from teststep properties.
testRunner.testCase.getTestStepByName("Properties").properties.each {
testRunner.testCase.getTestStepByName("Properties").properties[it.key].value = ""
}- _ivanovich_6 years agoFrequent Contributor
How do we clear just one property from project.
I don't want to remove the property.
I see how to clear all properties but how to clear just one property by its name?
using groovy.