01-26-2018 07:39 AM
Hello,
in my testplan i enabled the seeunceFilePostStep.
How can i create there a popup that show the name of the next step?
For example if mainsequenc looks like this:
teststep1 -> SeqeunceFilePostStep: popup should show "teststep2"
teststep2 -> SeqeunceFilePostStep: popup should show "teststep3"
teststep3 -> SeqeunceFilePostStep: popup should show "teststep4"
teststep4 -> SeqeunceFilePostStep: popup should show ""
How can this be done?
Thx
Solved! Go to Solution.
01-26-2018 07:51 AM
Hi OnlyOne
A statement like this in the text of your dialog should do the trick. NameOf(RunState.Caller.RunState.NextStep)
Steve
01-26-2018 08:13 AM
Works great,
but how can i check if a step is the last step?
Currently the last step creates an execption as there is no NextStep.
01-26-2018 08:19 AM
Apologies I missed that from your original post. Something like:
PropertyExists("RunState.Caller.RunState.NextStep") ? NameOf(RunState.Caller.RunState.NextStep) : ""