Contributions
Re: Having problems in WPF TreeView control.
Hi , Sorry for late reply. Please find details below: 1. I am using WPF TreeView which we have for selecting data for backup software. So there is no any editbox and I cant use any OpenFile method(I assume this will clarify the thing) 2. Below is the script I recored with our product TreeView Call treeView.ClickItem("|[0]|[0]|[3]") //Expand Action Call treeView.ClickItem("|[0]|[0]|[3]|[0]") //Expand Action treeView.WPFObject("TreeViewItem", "", 1).WPFObject("TreeViewItem", "", 1).WPFObject("TreeViewItem", "", 4).WPFObject("TreeViewItem", "", 1).WPFObject("DockPanel", "", 1).WPFObject("Button", "", 1).ClickButton //Selected the node(checkBox ) 3. I tried ClickItem method you suggested like this Call treeView.ClickItem("| |[Data]|[ABC]") where my path hierarchy is C:\Data\ABC, but it is giving erros as "control item C not found". I am stcked :( . Any solution??? Thanks, Bhausaheb Gurav1.3KViews0likes0Comments- 1.3KViews0likes0Comments
- 1.3KViews0likes0Comments
Having problems in WPF TreeView control.
I have WPF TreeView control. When I record actions on Treeview it shows index like this treeview.ClickItem("|[0]|[0]|[0]"). I dont find the way to give actual path for this.e,g. C:\Data so that I can give ClickItem("|C:|Data"). Also there is no action recorded for expanding node. Also I can find Expand collapse method for wItem, but not for Items. What is difference between this two? Any help/clue will be appreciated. Thanks, Bhausaheb Gurav14KViews0likes5CommentsTC8 - not recognizing buttons in WPF dialog.
Hi, I have a application developed in WPF. TestComplete 8 is recogning all controls except buttons on a dialog. In my case it is not identifying OK and Cancel button. I tried it using UISpy and it can identify those buttons. Thanks, Bhau11KViews0likes7Comments- 1.5KViews0likes0Comments