UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
Collapse Method (ITreeViewNode)
Collapses this tree node.
Remarks
There may be a slight delay when using this method due to the animation of the collapse operation. You should add a Sleep statement after this step to pause for the animation.
Syntax
void Collapse()