Persisting Application Settings
- Updated2025-07-23
- 1 minute(s) read
The TestStand Engine stores Station Options dialog box settings, Insertion Palette step type and template list settings, and other settings that apply to all TestStand applications in files such as GeneralEngine.cfg and Templates.ini, located in the <TestStand Application Data>\Cfg directory. However, each user interface also stores additional custom settings, including breaking on the first step of execution, breaking when a step fails, and listing the most recently used sequence files. The Application Manager control stores these settings in the configuration file the ApplicationMgr.ConfigFilePath property specifies.
The ApplicationMgr.BreakOnFirstStep, ApplicationMgr.PromptForOverwrite, ApplicationMgr.EditReadOnlyFiles, ApplicationMgr.MakeStepNamesUnique, and ApplicationMgr.SaveOnClose properties persist to the configuration file. Setting the value of one of these properties on the Application Manager control in a designer sets the default value for the property. The Application Manager control stores the default value in the configuration file it creates when a configuration file does not already exist. When the configuration file already exists, the Application Manager control loads the values of these properties from the file.