02-10-2009 04:26 AM
Hello,
how can i disable the Record-results-flag (Step+Properties+RunOptions+[x] RecordResults) in a text-editor?
The thing is, i have a lot of steps and it would take years to remove the flag manually in TestStand.
I cant find a variable for this in the text.
Thx for your help
Solved! Go to Solution.
02-10-2009 05:44 AM
Hi,
If I understand you correctly, you wish to disable the step recording by modifying the Sequence Files in a Text Editor.
Unfortunately, its not that straight forward.
If the step has been set to record, then you will not found any property in the file.
If its set to disable then you will find a property call NoResult and this will be set TRUE.
Therefore you are going to have to insert the line NoResult = TRUE for each Step that you wish to disable.
Hope this helps you.
Regards
Ray Farmer
02-10-2009 07:46 AM
Hi,
just to add a commend on Ray's anwer.
He is absolutley right. Here it is for xml.
<NoResult classname='Bool'><value>true</value>
</NoResult>
I would save my seq. as xml. Then would open it as a Mircosoft DOM-Object.
Then seach all Nodes with XPATH that match my needs for my steps
<Step typename='Statement' xsi:type='Statement' name='MyStatement'><subprops><
TS classname='Obj'><subprops>
Then adding the upper node to the matching node.
Save it.
so you can disable tousands of specific type in seconds.
Greetings
Juergen