07-28-2011 10:56 AM
I need your support;
I realize a custom step type;
I insert in a post step a dll execution;
I need to execute some manipulation on the data collected;
I insert the right expression in the post-expression;
now to modify it in the newer release of my step type, I set the TS.PostExpr as Shared; but in this case seems not possible to disable this property;
my target is to execute the post-expression content in a SubStep post-step;
is it possible?
May you provide me any examples?
Solved! Go to Solution.
07-28-2011 11:13 AM
You don't need to use the post expression at all. Just pass the sequence context into your substep and call:
seqContext.AsPropertyObject.EvaluateEx() on it with whatever expression you want to evaluate.
Hope this helps,
07-28-2011 11:23 AM
I need to insert 2 sub-steps to execute it.
Is it right?
Is it possible to execute it in 1 sub-step, without any additional variable to store the object reference?
07-29-2011 10:00 AM
I'm not sure why you would need two substeps. If you are just using the activeX adapter to call the TestStand API, you might want to instead write a code module and call that since that way you will then be able to have a significant amount of code in one stubstep.