How to remove Custom Properties from a SoapUI TestCase using Groovy?

后端 未结 4 740
长情又很酷
长情又很酷 2021-01-13 00:29

I have created some list of properties under the TestCase. For example look at the following screenshot.

\"SoapU

4条回答
  •  心在旅途
    2021-01-13 00:47

    Finally I got the answers for removing Project, Testsuite and Testcase custom properties. Here are the scripts.

    testRunner.testCase.testSuite.project.removeProperty( "Project_Level_Property" );
    testRunner.testCase.testSuite.removeProperty( "Testsuite_Property" );
    testRunner.testCase.removeProperty( "Testcase_Property" );
    

    If any other way is there, please let me know friends.

提交回复
热议问题