Forum Discussion
shankar_r
8 years agoCommunity Hero
Tree View object has a property called Expended/wExpended using this you can do like below,
if(Aliases.App.win_MainWindow.treeView.WaitProperty("Expended or wExpended",true,10000)){
Log.Message("Tree view loaded");
}
AlexKaras
8 years agoCommunity Hero
Hi,
Another possible approach is to find something that indicates wheter or not yet the given node is expanded. E.g. .ChildCount > 0, SomeChildItem.Exists, etc.
Then, after the node is commanded to expand, wait in a loop (within some reasonable timeout) until the condition that indicates successful expansion is met.