Focus Execution Window of Active DUT During Batch Testing in TestStand

Updated Jun 7, 2023



  • TestStand

This article explains how to to focus the window of the DUT currently being tested during a DUT test sequence in TestStand so that it is easier to see if it is passing or failing steps in the test. This is useful for running batch DUT test sequences in TestStand with a large number of DUTs.

You can add this functionality to your TestStand sequence by using the TestStand UI Messages UIMsg_OpenWindows command. This command opens a file or window, or, if the file/window is already open, brings the file/window to the front. Add the below expression to the beginning your TestStand sequence, and when each DUT begins testing, it will bring the execution window for that DUT to the front of your currently open windows.