Using Buttons User Input Example to Call Sub-Sequences in TestStand

Updated Nov 6, 2018

Reported In


  • TestStand

Issue Details

I am using the 'Message Popup Step Type - Get User Input' example to call sequences when the user chooses an option with one of the buttons from the message popup.


Here are some instructions on how to achieve this:
  1. You need to use the select step to pass the value of the selected button to the case step and that way execute the steps inside that case. 
  2. Add a sequence call step to each case, depending on the sub-sequence you{d like to call for execution depending on the button pressed.
Here is an image of how it should look like:

In this image you can see that the select step is used to store the button selected on the message pop up and then passed to the case step, which will run the sequence depending on the button pressed by the user.

Additional Information

You can use this structure to write to different variables or call code modules, depending on what you would like to do with the buttons, just think of using select and case as you would the 'if' statement in a text-based language.