Contributions
How to check if item is not available in treeview
Hi, I am evaluating TestComplete 7 and I am stuck on getting TestComplete to check if an item exist in treeview. For Example: I have a treeview with a parent node A and there is a child under Acalled Test and under Test there is a child item call Item1 & Item2. If I delete Item2 how can I verify that Item2is no longer in treeview? I have the following written in Jscript but it does not work. if( ! treeview.wItems.Item("A|Test|Item2").Exists) Log.Message("Item2 does not exist in treeview") else Log.Message("Item2 does exist in treeview") Please Help! Thanks KathySolved16KViews0likes3Comments