Forum Discussion
JNugent
12 years agoOccasional Contributor
Hi,
I am still having some problems with getting testComplete to recognise the Telerik controls in WPF.
In the current Project properties in Object Mapping I have set the following:
Under WPF Controls then Tree View: Telerik.Windows.Controls.RadTreeView
Under Tree View Item: Telerik.Windows.Controls.RadTreeViewItem
When I then record a script I records it as follows:
For a winforms tree view in a different application I am able to do the following:
I am still having some problems with getting testComplete to recognise the Telerik controls in WPF.
In the current Project properties in Object Mapping I have set the following:
Under WPF Controls then Tree View: Telerik.Windows.Controls.RadTreeView
Under Tree View Item: Telerik.Windows.Controls.RadTreeViewItem
When I then record a script I records it as follows:
Set radTreeView = palantirDataflow.HwndSource_Shell.Shell.Grid.TabControl.MainHierarchyView.Border.Grid.Grid.ContentControl.HierarchyEditorView.Grid.DockPanel.tvwDocuments
Call radTreeView.ClickItem("")
For a winforms tree view in a different application I am able to do the following:
Set
OpenResultSetExplorer = navigationPane.resultSetsPane.ResultSetTreeView.panel1.tvwResultSets
Then:
Set treeView = OpenResultSetExplorer ()
Then I reference the TreeView using
TreeView.wItems,
Call
treeView.DblClickItem("|Root|"
etc.
When i try to do treeView.DblClickItem("|Item name|" for the Teleric tree view this is not recognised.
Do anyone has any ideas?
Thanks,
Joanne
Related Content
- 8 years agoaaronkelly002
- 6 months agoCliffYoung
- 4 years agoStevan