Name Mapping producing nonsense WndClass and MappedName values
We've been using TestComplete for a number of years. But since version 7, we've been having a problem with the NameMapping function. For some reason TestComplete reads the FullName value in our vb.net WinForms application incorrectly. When we recorded the scripts we got, for example:
Set irsfr01648 = mdiClient.IRSFR01648
But recently, this same action is recording as:
Set irsfr01648 = pulse.wndWindowsForms10Window8app0378734a4.WindowsForms10MDICLIENTapp0378734a.wndWindowsForms10Window8app0378734a
Also, in the object browser, the FullName is sometimes:
Sys.Process("PULSE").WinFormsObject("PULSEMdi").WinFormsObject("MdiClient", "").WinFormsObject("IRSFR01648")
And the WndClass value is:
WindowsForms10.Window.8.app.0.378734a
Whereas other times the WndClass value is mdiClient.IRSFR01648 - this is the correct value.
For this reason, in most cases our newer scripts fail to run because of the nonsense values in the MappedName and WndClass properties.
Our older scripts all run correctly, because they use the WinFormsObject("xxx") format.
Has anyone seen this behaviour in TestComplete? Also, how does one set up TestComplete to record scripts using the older WinFormsObject("xxx") format?