Forum Discussion

handanu's avatar
handanu
Contributor
5 years ago
Solved

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...
  • handanu's avatar
    handanu
    5 years ago

    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)