livevox084Occasional Contributor9 years agoSolvedHow to i clear the property values of a TestCase or TestSuite using groovy script? Hi Support, I am using Ready API 1.3.1 How to i clear the property values of a TestCase or TestSuite using groovy script? Thanks, Rajendra nmrao9 years agoMarked as SolutionBelow 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.
nmrao9 years agoMarked as SolutionBelow 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.
nmrao9 years agoMarked as SolutionBelow 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.
sertoNew Contributor to nmraoHow i have to change the code for deleting values from TestStep Properties?
nmraoChampion Level 3 to serto6 years agoCreate new topic with details, please. Original question is already marked answered.
Related ContentOperating with TestCase propertiesGet testcase name and testsuite name via property expansion?"Run TestCase" and use properties of target TestSuiteOverwrite a TestSuite / TestCase property in the loadtestrunner.sh from command lineCaused by: groovy.lang.MissingPropertyException: No such property: testCase for class: Script2
Recent Discussionscommand line on how to retrieve license file ?How to avoid JDBC connection password saving/visibility in exported .xml ready API file of project.Darshan Hiranandani : Exploring ReadyAPI Integration with Azure GitHow to hit update service multiple time with different data set.How do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?Solved