Skip to content

Sweep Parameters: Invalid Values but execution completes successfully

Sweep Parameter can run sweeps on invalid values, that throw exceptions, but the test plan still completes with a 'successful' verdict.

14:54:01.696  TestPlan     "Sweep Time Delay \ Delay" started.
14:54:01.796  TestPlan     "Sweep Time Delay \ Delay" completed. [100 ms]
14:54:01.797  TestStep     Unable to set 'Time Delay' to value '-0.1': Delay must be a positive value.
14:54:01.799  TestStep     Exception: Delay must be a positive value.
14:54:01.802  TestStep         at OpenTap.Plugins.BasicSteps.DelayStep.set_DelaySecs(Double value)
14:54:01.820  TestStep     Exception caught at:
14:54:01.824  TestStep         at OpenTap.TestStepRun DoRun(OpenTap.ITestStep, OpenTap.TestPlanRun, OpenTap.TestRun, System.Collections.Generic.IEnumerable`1[OpenTap.ResultParameter])
14:54:01.824  TestStep         at failState execTestPlan(OpenTap.TestPlanRun, System.Collections.Generic.IList`1[OpenTap.ITestStep])
Edited by Vivienne Spence