Example Code

Programmatically Changing a TestStand Step Name

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.


  • Teststand

Code and Documents


Download All




You can use a TestStand expression to dynamically change the name of a test step in the execution window and the test report or database. This provides a convenient way to include step-related data in the test report or database.


Hardware and Software Requirements

Change Step Name - TS2019.zip


TestStand 2019 

Steps to Implement or Execute Code

 Execute the attached sequence file.



Al B.
Staff Software Engineer - TestStand

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.