varghesejim
10 years agoOccasional Contributor
WPF- Dynamic item in object hierarchy.
Hello,
I need to click on a menu(infragistics) in my application. However, I have a dynamic item in the object hierachy.
Aliases.MyAPP.HwndSource_WindowWithBar.WindowWithBar.tabbedDock.dockManager.SplitPane.contentPaneviewde2424c7237444e38de046eeece787d3.MainWindowView.HeaderedContentControl.MenuRegion.MenuView.MenuControl.XamMenuItem.Click();
However, testcomplete is failing because it can't find "contentPaneviewde2424c7237444e38de046eeece787d3".It is a dynamic item. How can I resolve this issue?
I need to click on a menu(infragistics) in my application. However, I have a dynamic item in the object hierachy.
Aliases.MyAPP.HwndSource_WindowWithBar.WindowWithBar.tabbedDock.dockManager.SplitPane.contentPaneviewde2424c7237444e38de046eeece787d3.MainWindowView.HeaderedContentControl.MenuRegion.MenuView.MenuControl.XamMenuItem.Click();
However, testcomplete is failing because it can't find "contentPaneviewde2424c7237444e38de046eeece787d3".It is a dynamic item. How can I resolve this issue?
- Hi,
Go through below article & video, I think these will help you to resolve that issue.
http://support.smartbear.com/viewarticle/55335/
This is the video regarding namemapping.