Forum Discussion

WesWhit's avatar
WesWhit
Occasional Contributor
23 days ago
Solved

Textbox not found during test

I'm having a little trouble with a textbox on a WPF app. When I map it during record it fine and I can update the properties in the name mapping fine with the app open. These 2 thing can find the tex...
  • rraghvani's avatar
    23 days ago

    You have, what looks like, two identical dialogs. The only difference being the dialog caption name, one being "Detail for 'Asset 1test'" and the other being "Detail for 'Asset1'". 

    You need to manually create a name mapping for the dialog, using wildcard, e.g. "Detail for *" and then manually create the name mappings for Name, Type, Head etc controls.

    It's vital that you understand how Object Identification works in TC, and ensure you fully understand Name Mapping

    During record and playback, TC will map them separately, because the parent object being the dialog, has different caption names.