Step.UniqueStepId
- Updated2024-10-09
- 1 minute(s) read
Step.UniqueStepId
Syntax
Step.UniqueStepId
Data Type
Purpose
Returns an identification string unique among all steps TestStand has created or will create.
Note
Sequence editors you create with TestStand assign new unique IDs to steps that you duplicate in the editor. However, the value of
Step.UniqueStepId
is not unique if you duplicate a step using the TestStand API or if you copy a sequence file using the file system. It is incorrect programming practice to create a non-unique UniqueStepId using the API. Call
Step.CreateNewUniqueStepId
to ensure that a programmatically duplicated step has a unique ID. At run time, you can guard against mistakenly matching steps from duplicated files by
Step.UniqueStepId
. To do so, append the string representation of the value of
Step.Sequence.SequenceFile.Id
to the
Step.UniqueStepId
value before comparing it.
Remarks
An example of a UniqueStepId is ID#:aXPIZYIPFEWM/Jsuxx0FAD .