How to Synchronize a Message Popup Step for Multiple Test Sockets Using the Batch Process Model in TestStand

Updated Oct 31, 2024

The goal for this use case it to synchronize all test sockets such that they wait for a Message Popup Step to complete before continuing execution of the test. 

When creating your Message Popup Step, we can take advantage of the Synchronization Property of the Step Settings. 

  1. Add your Message Popup Step to your Sequence.
  2. Click on the Message Popup Step and then Click on Properties tab - Synchronization.
  3. In the Synchronization Section of the Properties Tab click on the drop down for Batch Synchronization and select "One thread only (first thread executes step, remaining threads skip).
  4. Save your sequence. 

When you execute your sequence with the Batch Process Model you will see the test sockets start up and begin executing your sequence. Once they reach the Message Popup Step all test sockets will wait. A single popup will appear and once it is addressed all of the test sockets will all continue execution.

See attached example sequence "Single Popup for Multiple Test Sockets.seq"