Testcomplete does not use "automation id" of a WPF "window" as identifier.
Hi,
I'm using keyword test for WPF application. Every object in the application we set unique automation id. In name mapping tab (mapped objects and aliases "properties" screen or edit name mapping window-->"selected" area) controls like buttons, textbox "Automation id"s take place as identifier. But when it comes to popup windows although windows has automation id, it is not used for identification.(name or something else been used).
I don't want to add "automation id" to "selected" side in "Edit Name Mapping Item" window one by one. Because I have/will have many popups.
Test complete version: 14.10
Thank you very much.
I asked to support team. Templates could be answer for the problem (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/templates.html) But it is useful only if before recording (mapping) the objects . Otherwise it is not applied.
Several way avaliable:
1-Delete existing mapping and remap
2-Modify the name mapping file outside of TestComplete (not recommended)
3-Edit the object (right click the object and click "edit" then move automation id property to "selected" side)