Forum Discussion
kashikar_harsh
15 years agoContributor
Hi Kevin,
From your code "Aliases.ceraexe0471.wndAfx.MDIClient.wndAfxFrameOrView8018.AfxWnd80.AfxWnd80", it seems that the parent object of "AfxWnd80.AfxWnd80" also has some numbers postfixed which are also getting changed. Have you modified the properties of that object (wndAfxFrameOrView8018) as well in the NameMapping by putting anasterisks?
I would recommend you to check every parent object in the hierarchy, whether it is recognized by TestComplete or not. You can do that by doing right click on the object and selecting "Highlight on screen" option and see whether the object is actually getting highlighted or not. (Make sure that the object exists and is visible on screen before highlighting it).
If this also do not help,try using some other properties such as Name or any other property that can be used to recognized the object uniquely.
Regards,
Harshad Kashikar
From your code "Aliases.ceraexe0471.wndAfx.MDIClient.wndAfxFrameOrView8018.AfxWnd80.AfxWnd80", it seems that the parent object of "AfxWnd80.AfxWnd80" also has some numbers postfixed which are also getting changed. Have you modified the properties of that object (wndAfxFrameOrView8018) as well in the NameMapping by putting anasterisks?
I would recommend you to check every parent object in the hierarchy, whether it is recognized by TestComplete or not. You can do that by doing right click on the object and selecting "Highlight on screen" option and see whether the object is actually getting highlighted or not. (Make sure that the object exists and is visible on screen before highlighting it).
If this also do not help,try using some other properties such as Name or any other property that can be used to recognized the object uniquely.
Regards,
Harshad Kashikar