Solved
Forum Discussion
nmrao
Champion Level 1
10 years agoBelow 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
7 years agoNew Contributor
How i have to change the code for deleting values from TestStep Properties?
- nmrao7 years ago
Champion Level 1
Create 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.