MFC application testing
Hello,
During creating many functionalities inside our application I observe a strange bahaviour of TestComplete and Windows handlers.
Sometimes window handlers inside my application change the naming and after this the elements are not accessible by TestComplete.
Intelligent Quality Addon helps with many situations but not with all of them
Our app is based on MFC and for example I see the situation:
All of there windows are the same (but only one of them exists in one time).
Of course I can handle this issue like:
if exists ....
but I wonder if there is any other fancy option to handle these issue in testComplete
Best Regards,
Michal
Hi Michal,
TestComplete creates instances of these objects in the name mapping based on properties.
If any of the properties used to map the object are different, that would explain why there are similar names, but failing to find the objects.
Sadly, there is not enough info here to provide a resolution, but if you can share the mapping of one of those items, I may be able to suggest a change to the mapping.
You could also reach out to your sales rep to set some time up with an SE
Hi Michal,
> Do You have any [...] documentation ?
https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/basic-mapping-criteria.html and the whole https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/index.html section.