NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

operator interface retest failed step

It is not clear what setting in View, User Manager, Privilege grants the Technician, or Operator, if changed, to rerun a Failed Test?

 

I need a little more privilege than Execute, Terminate and Abort privilege out from a Operator profile.  A rerun or run this step is needed.

 

 

0 Kudos
Message 1 of 4
(307 Views)

Do you want this failed retry operation to be manual or automatic?
Usually, operators only complete fixed processes and operations, engineers will minimize the interaction between operators and the testing process as much as possible
And technicians are involved in testing, verification or debugging, which requires more interactive operations such as breakpoints, single step execution, etc

These are two different directions


If it's the first scenario, you can try implementing it with a short step, for example:

result = false
for (int loop = 0, loop < 3, loop++)
{
    //Perform testing steps
    If (//result meets expectations)
    {
         result = true
         break
    }
}
pass = result == true ? true : false


This achieves a simple example where the test can be retested up to 3 times after a failure, and if it passes once, it is considered successful


As for the second scenario, you can easily jump and retest on this test step by setting breakpoints and the step cursor. These basic operations will not be described again.

0 Kudos
Message 2 of 4
(283 Views)

To allow the operator to manually retest, verify User Manager - Operator group privileges allow Debug to SinglePass, RunSelectedTests and LoopSelectedTests

 

eejallen_0-1723492964320.png

 

0 Kudos
Message 3 of 4
(269 Views)

Needs to be manual of course.  The Stop On Failure is checked on each test step.  When a failure occurs, the Operator needs to retest the Failed (which is the current) step.

 

Member ee-jallen,

That looks like the correct answer.  I've yet to try it.

 

Thanks.

0 Kudos
Message 4 of 4
(263 Views)