Analyzing a Sequence File or Workspace File in the TestStand Sequence Editor
- Updated2025-07-23
- 3 minute(s) read
Analyzing a Sequence File or Workspace File in the TestStand Sequence Editor
-
In the TestStand Sequence Editor, click the Current Sequence
Analyzer Project button on the Sequence Analyzer toolbar or
select Debug»Sequence Analyzer»Current Sequence Analyzer
Project to open the Current Sequence Analyzer Project window and
the most recently opened analyzer project file.
Note The first time you launch Current Sequence Analyzer Project window, the sequence editor creates a default project, named MyAnalyzerProject.tsaproj, which specifies the rules and related settings to use during the analysis. You can create, modify, and save project files to customize the set of rules, rule configuration settings, and set of files to use during analysis.
-
On the Rules pane, enable and configure the rules you want to use to analyze
the file.
Note The sequence analyzer enables most of the built-in rules by default. You cannot disable or delete the built-in rules in the Analysis Errors category.
-
Open and activate the sequence file or workspace file you want to analyze.
Click the Analyze <Sequence
Filename> button on the Sequence Analyzer toolbar
to analyze a sequence file. Right-click the workspace file and select
Analyze Workspace from the context menu to analyze a
workspace file.
Note By default, the sequence analyzer enables the Analyze File Before Executing option in the Sequence Analyzer Options dialog box. In the sequence editor, click the Toggle Analyze File Before Executing button on the Sequence Analyzer toolbar or select Debug»Sequence Analyzer»Toggle Analyze File Before Executing to enable or disable this option. When you enable this option, the sequence analyzer uses the rules and settings in the current sequence analyzer project to analyze the active sequence file when you initiate an execution. Enabling this option can help you find errors early during development.
- The status bar at the bottom of the Analysis Results pane indicates the progress of the analysis. You can click the Stop Analysis button on the Sequence Analyzer toolbar or select Debug»Sequence Analyzer»Stop Analysis at any time during analysis. The sequence analyzer finishes analyzing the current object before stopping the analysis and shows the current list of messages on the Analysis Results pane.
-
(Optional) When you complete an analysis, you can save an XML report file to
use in an external viewer for comparison. In the sequence editor, click
Generate Analysis Results on the Analysis Results
pane to save the messages for the most recent analysis in an XML report file to
use in an external viewer. The XML file uses the AnalyzerReportViewer.xsl style
sheet, located in the
<TestStand>\Components\Stylesheets\Analyzer
directory. When you generate a report file, the sequence analyzer provides a
snapshot of the most recent analysis, including a list of the analyzed files, a
list of the rules and settings used during the analysis, and a list of all the
generated messages.
Note Use the XML Packaging Utility to package the files necessary to view the XML report on a computer that does not have TestStand installed.
-
Use the Show and Group By
drop-down lists to control how to view the generated messages on the Analysis
Results pane. Right-click each message and select an option from the Analyzer
Messages tab context menu to resolve the message.
For each active message, you can perform the following actions:
- Go to the location of the object in the TestStand file that caused the message and resolve the issue.
- Ignore the issue for subsequent analysis and remove it from the Active Messages view. Select this option only when you are certain the issue will not cause a run-time error.
- Mark the message as fixed and remove it from the Active Messages view.
- Disable or configure the corresponding rule on the Rules pane of the sequence analyzer.
Note You can save the project file at any time when you are resolving messages.
Related Information
- Search Directories
- Analysis Results Pane
- Creating Custom Rules in the TestStand Sequence Analyzer
You can customize the TestStand Sequence Analyzer by creating custom rules and analysis modules.
- TestStand Sequence Analyzer Rules Descriptions
- XML Packaging Utility