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 textbox as can the object spy and object mapper. The issue comes when I run the test, I use SetText, and I get an error to say that the object does not exist even though it is clearly there on the page. Has anyone has this issue before? intelligent fix doesn't work. I am starting think it may be a TestComplete bug.
any help is greatly appreciated, thank you.
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.