03-04-2015 10:55 AM
Thanks folon 🙂
Your suggestion did the trick.
I added call back you suggested. From that call back I use NameOf(Parameters.Step) and assign it to global variable and read that variable from my sequence to get failed step name.
01-16-2017 02:43 AM
@test_man wrote:
From that call back I use NameOf(Parameters.Step)
Perfect! This is exactly what I was looking for, because it is not a standard part of the step parameter container to the PostStepFailure. This doesn't make a lot of sense to me, anyone care to explain?
01-17-2017 10:33 AM
Hello GiuseppeNDP,
The SequenceFilePostStepFailure contains a step parameter. I think I am confused by what your question is about. If it is about the NameOf function, this link has more information on how it works (http://zone.ni.com/reference/en-XX/help/370052N-01/tsfundamentals/infotopics/nameof/)
If you could please elaborate on your question that would be great.
You also may see more community participation if you create a new thread and just link this one, as this thread is quite old.
Best,
Spencer R
AE | NI
01-18-2017 03:15 AM
Hi,
My question is as to why the NameOf function needs to be used in the first place rather than it being a parameter passed down such as Parameter.Step.NameOf. Only once I knew that the NameOf function works as a given for all containers in TestStand it made sense.