Forum Discussion

corki's avatar
corki
Contributor
17 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);
  • 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