The application designed with special framework. if the application is developed as normal VS WPF application
then the objects are reconized correctly.
On ClickR() action the context menu is generated but its cannot be mapped with normal PopupMenu method or toolwindow. While recording script testcomplete giving one popupRoot but it cannot be mapped again.
Error Message: No traces of popupRoot in Object browser
following the code when I recorded the script
let xamDataTreeNodeControl = Aliases.TestStandDesigner.HwndSource_ShellView.ShellView.DockTGP.XamTabControl.GrdTreeView.AutomatTree.XamDataTreeNodeControl7;
but Its not usable for next time.
I am also attaching the screenshot please check.
I there any way of mapping the popup menu ?
Can anyone please let me know what is the solution for above problem?
Re: Testcomplete is unable to recognize objects for hwndsource
Note sure without more information, but it sounds like a property was not copied over correctly for identifying your object or maybe a timing issue. We need more information. What does the object look like in the object browser?
Also, you should really be using name mapping or find methods. Full object paths like this are very failure prone.
Click the Accept as Solution button if my answer has helped
Regards, /Alex [Community Hero] ____ [Community Heroes] are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Posts made by [Community Heroes] may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. The [Community Hero] signature is used with permission by SmartBear Software. https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame ================================