Forum Discussion

varghesejim's avatar
varghesejim
Occasional Contributor
10 years ago

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?