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 DiscussionsExecuting test case loop multiple timesError connecting to Postgress DB in ReadyAPI 3.52.0SolvedGroovyScript - Extract specific number of attribute values from variable content responseSolvedHow to create Identical GET request with different parameters in same projectSolvedPath parameter always gives default response