Forum Discussion

corki's avatar
corki
Contributor
16 years ago

HOW TO moveUp or moveDown testStep position in testCase.

Hi all,

    Is there some way how to reorder / resort,  or just change position of one testStep.

    I think something like: 

      myTestStep.moveUp();
or.  myTestStep.moveDown(4);

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    Sure, the method is in WsdlTestCase; moveTestStep( indexOfTestStep, offsetToMove), for example

    testRunner.testCase.moveTestStep( 2, -1 )

    moved the 3rd teststep one step "upwards".

    regards!

    /Ole
    eviware.com