public void RefreshChildrenNodes()
{
using (SynchronizationManager.Lock())
{
if (this._childrenStatus != ChildrenElementsStatus.NotPopulated)
{
this._childrenStatus = ChildrenElementsStatus.NotPopulated;
SetTreeNodeImageIndex();
CreateChildrenNodes(true);
}
}
}
/// <summary> /// This method will refresh currentTestTypeRootNode... /// </summary> public void RefreshNode(AutomationElementTreeNode Node) { CheckNodeIsValid(Node); Node.RefreshChildrenNodes(); PrepareNodeToExpand(Node); }