10-28-2015 06:22 AM
Hello,
i have a c#-teststep that has two returnvalues that i want to limitcheck.
Currently i put them into Step.Result.Measurement[0].Data and
Currently i put them into Step.Result.Measurement[1].Data
But what to do then? How can i add a limitcheck?
Thanks for help
Solved! Go to Solution.
10-28-2015 10:06 AM
For MultiNumericLimit test step type you should put them in Step.NumericArray[0] and [1] respectively.
Then on the Limits tab of the step you can add measurements (2 in your case). Each measurement is comparable to a single numeric limit test type. So you give it The Measurement Name and then set up the limits just like in a numeric limit in pane on the right hand side.
Hope this helps. Let me know if you have more questions.
10-29-2015 03:50 AM
Thanks. Its working now.
Is it possible to limitcheck only one value in a MultiNumeric-Step?
Currently i check [0] a [1]. If i decide one day that i only want to check [1]. Is this possible?
Thx
10-29-2015 01:13 PM
I think it would be an intriguing idea to have each limit for the MNL have a flag to turn it on or off. I like it. You can post it on the idea exchange.
As a workaround you could do the following in your preexpression:
RemoveElements(Step.Result.Measurement, "[0]", 1),
Step.ExpectedNumMeas--
Looks like that is working.