Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
17 years ago

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

  • 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.
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi,

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

    type="delay"

    with

    type="delay" disabled="true"

    regards,

    /Ole
    eviware.com