From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-26-2024 03:14 AM
Hello,
in the model is a callback sequence "ProcessModelPostStep" that executes after each step.
If i insert in there a MessagePopup -> How can i show the Name and result of the calling step?
Thanks
Solved! Go to Solution.
07-26-2024 03:30 AM - edited 07-26-2024 04:03 AM
Can be access via Step.Name and Step.Result.Status
but beware: Step.Result.Status will always be running since at the point of PostStep, the Status condition has not been evaluated yet
Edit: was wrong on this one. Evaluation has taken place here
in the PostResultListEntry CB is what you are looking for, if you need the status exression to be evaluated
07-26-2024 03:36 AM
Step.Name only returns the Name of the MessageBox-Step.
I want to show the name of the step the executes teh callback "ProcessModelPostStep"
testplan: mysequence.tpa
contains numericlilmit-test: ThisIsmyTest [Limit 0..10] result 5, Status Passed
Model:
callback: ProcessModelPostStep
contains teststep "MessageBox"
Should display: ThisIsmyTest, 5, Passed
07-26-2024 03:39 AM
Sorry....
Parameters.Step.Name
07-26-2024 03:57 AM
One more thing:
Where can i find the parameters that i set here:
1. StepSettings -> Properties -> RunOptions -> Result Recording Option -> Disabled / Enabled
2. And how can i find the type of step if it is a numeric, string, or boolean test?
07-26-2024 04:09 AM
Parameters.Step.StepType.AsPropertyObject.Name
Parameters.Step.TS.Resultoption --> 0 ResultRecording disabled, 1 Enabled , 2 Enabled override Sequence Settings