06-27-2022 09:11 AM
Hello
Is there a way to get the number of steps in a sequence? Or, can I know which steps in the sequence are enabled to be saved in the report?
Regards
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hola.
Hay alguna manera de poder obtener la cantidad de pasos que tengo en una secuencia? O, Como puedo saber que pasos en la secuencia están habilitados para que se guarde su resultado en el reporte?
Saludos
Regards
06-27-2022 04:22 PM
The TestStand Help is your friend to figure all this out.
To get the amount of the steps in a sequence, you can use Sequence.GetNumSteps(...)
To figure out whether the steps are enabled to be saved in the report, you would need to grab each step and check the result recording. You could use something like
Sequence.GetStep(...).ResultRecordingOption and check for the right flag.