07-07-2010 07:08 AM
I'm looking at the ThisContext->RunState->Step and I'm wondering how to actually use the step information to know which step I'm running?
07-07-2010 07:24 AM
What is the information you are looking for?
The step's name? The type?
Please elaborate your question a bit (what is the reason for your question? what do you try to achieve?) in order get useful answers...
thanks,
Norbert
07-09-2010 05:15 AM
Hi mrbean,
I'm not sure what you'd like to use this for, but you can use ThisContext.RunState.Step.Name and ThisContext.RunState.Step.UniqueStepId to identify the step, eg.
Step
.Result.ReportText = "Step Name: "+ThisContext.RunState.Step.Name+" ["+ ThisContext.RunState.Step.UniqueStepId+"]"Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)
Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor