Forum Discussion
nmrao
Champion Level 3
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 agoChampion Level 3Create 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.
Related Content
- 4 years ago