Forum Discussion

asseldonk01's avatar
asseldonk01
Contributor
7 years ago

How to use groovy to cleanup the properties teststep

I have read a lot in this forum and in other places to cleanup project/testsuite/testcase properties. I was looking for some groovy to cleanup the properties teststep with a script. There is a settin...
  • asseldonk01's avatar
    7 years ago

    Sorry for my post, found it already.

    log.info "--Type:" +testSteps.config.type

    if (type == "properties") {
    log.info "~~~Cleaning Properties Test Step:" + testSteps.name
    testSteps.clearPropertyValues()
    }