11-28-2007 02:19 AM
11-28-2007 04:14 AM
Matthew,
The Edit sub step allow the user to modify the properties of the Step. Its not used during the Sequence execution. The execution part of the step can be the Pre, the Code Module and Post sub step. You can have any combination of these sub steps. There isn't different Edit Sub steps.
Can you post an example of your custom step?
Regards
Ray Farmer
11-28-2007 04:52 AM - edited 11-28-2007 04:54 AM
11-30-2007 01:31 PM
Matthew,
I think I've found a way to do what you are trying to accomplish, but I haven't tested it thoroughly.
To get a reference to the step's pre- or post-step, you must go through the step's step type reference. You don't say what version of TestStand you are using, but in TestStand 4.0, you could accomplish this by using the following expression:
Step.StepType.Substeps["Name of Substep"].UnloadModule()
If you don't have 4.0, you can accomplish the same thing using ActiveX steps.
Since it is possible to have substeps of the same name, you can also reference them by index using a number instead of a string.
Hope this helps!
12-14-2007 01:10 PM