Full access to report sequence tree in .NET API
CompletedIt would be useful to have an iterator through report sequences and/or a method returning collection of child-sequences and steps in given sequence.
As it is now, no sequence other than root is available directly from the report.
It would be great to simply look through the report and i.e. find a sequence of given name, count the sequences, add a step to any existing sequence. For now, this kind of actions require to create a separate structure in converter for keeping all the sequences accessible. This slows the converter down and
-
Official comment
There is a way to iterate/find steps in the TDM api today using UUTReport.AllSteps or FindSteps(StepName,StepPath)
But the current version does not allow you to add steps to an existing sequence when you retrieve it using these functions.
This will work for version 5.0.383 and later (now in beta)
https://virinco.azureedge.net/public/WATSClient_5.0.383_x64.msiHere is an example on how to get all sequence calls for a given uutReport using linq:
SequenceCall[] allSequenceSteps = uutRepor.AllSteps.OfType<SequenceCall>().ToArray();Comment actions
Please sign in to leave a comment.
Comments
1 comment