cancel
Showing results for 
Search instead for 
Did you mean: 

disable teststep via textpad

Super Contributor

disable teststep via textpad

hello,
I have lot of testcases in my project and every testcase beings with a delay teststep. would it be possible to modify the xml via textpad by doing find/replace so that i can disable all these test steps. It will take me forever if i went to each testcase and disable via GUI.

Thanks

Ali
3 REPLIES 3

Re: disable teststep via textpad

Yes, it is doable, but I can not figure out just how to yet.

In  the project file a delay step looks llike this:
<con:testStep type="delay" name="Delay">
  <con:settings/>
    <con:config>
        <delay>1000</delay>
    </con:config>
</con:testStep>


What we want to add simply is a
disabled="true"
like this:

<con:testStep type="delay" name="Delay" disabled="true">
  <con:settings/>
    <con:config>
        <delay>1000</delay>
    </con:config>
</con:testStep>


The hard part of course is disabling all delay steps in one go. Hmm, let me think about it.
Product Guy for Ready! API, SoapUI and all things API
Super Contributor

Re: disable teststep via textpad

Hi,

you should be able to do a find-replace in textpad; replace

type="delay"

with

type="delay" disabled="true"

regards,

/Ole
eviware.com
Super Contributor

Re: disable teststep via textpad

THanks Ole,
This solves a big headache.

Ali
New Here?
Join us and watch the welcome video:
Top Kudoed Authors