Currently writing custom step types based on sequences (my step type's default adapter is a sequence), I would like to set the "disable tracing" right in my step type definition.
The problem is that this option isn't visible in the 'Default Run Options" tab... The only way I found to do this is using Pre and Post Expression to set 'ThisContext.Tracing = True /False'.
But I don't like the fact to use Pre/Post Expressions in my step type (I would prefer to let it blank for end users).
Is there any way to achieve this without using Expressions ?
Solved! Go to Solution.
In your custom step type, set the property TS.SData.Trace to "Off" (without the quotes).
Hope this helps.
In the Types definition for your custom step type, just click the '+' to open up the subproperties of that custom step type definition. You should then see the Root TS container, just follow the subproperty path to the Trace subproperty.
Kinda; Open the Station Options, select the Preferences tab, and enable the 'Show Hidden Properties' option. The TS container will then magically appear!