Forum Discussion
So basically if I use the aliases path below to identify the object the test Pass with a warning
Aliases.ImageScope.HwndSource_PopupRoot.PopupRoot.Decorator.NonLogicalAdornerDecorator.MenuItem.RootGrid.MacrosListView.WPFObject("ListViewItem", "", 1)
I used the FullName path below and the test Pass without any warning, as you said in the Aliases path I haven't been specific enough in the search parmeters for the desired object
Sys.Process("ImageScope").WPFObject("HwndSource: PopupRoot", "", 1).WPFObject("PopupRoot", "", 1).WPFObject("Decorator", "", 1).WPFObject("NonLogicalAdornerDecorator", "", 1).WPFObject("MenuItem", "", 1).WPFObject("RootGrid").WPFObject("MacrosListView").WPFObject("ListViewItem", "", 1)
Thanks
What's the warning? Because it could be that, in your mapping, you haven't designated a clear enough set of properties to uniquely identify the object, hence a "Ambiguous recognition" warning... NameMapping is work... it's SUPPOSED to be work... and if you don't spend time with it... you will fail at your work.