Forum Discussion
Hi Tanya Gorbunova,
Thanks for the information!! So u have mentioned TestComplete doesn’t recognize objects as WPFObject in the .NET 4.5 app. But the APP doesn't have any behaviour specific to any .NET version. The app engineer has confirmed they aren't doing anything specific to .NET version.
1. Check your TestComplete version and review the "Supported .NET Technologies" help topic (press F1 to open the offline documentation). Perhaps, the TestComplete version you are using doesn’t support .NET Framework 4.5.
Yes you are right, TC 8 doesn't support .NET 4.5. But I have couple of questions regarding this compatibility check. Below is the table which gives combinations I have tried to identify same object against different .NET versions versus different TestComplete versions and OS.
From the above table it is evident that though WIN8 has .NET 4.5 version which is supported by TC9, still objects are identified as Form Objects than WPFObjects. I think something is missing here. Can you detail why it is different with WIN8 OS?
2. Do you use the same TestComplete project to review the objects in the .NET 4.0 and 4.5 apps? If you use different projects, make sure project options in both projects are set to the same values.
We have same TC project settings for all the apps on any .NET version.
3. In the problematic project, open the Open Applications | General project settings and make sure that the NativeClrObject namespace is located in one of the top positions.
Moving NativeClrObject namespace didn't help.
-Mamatha
Hi Mamatha,
If your application was built with .NET Framework 4.5, TestComplete 8 won’t be able to get access to its object – the tool doesn’t know how to work with this wrapper. So, if you are planning to test your new application, you need to consider updating to the latest TestComplete version.
- makula10 years agoOccasional Contributor
Hi Tanya,
I agree, but the wierd thing I observed is, the objects are identified as Form objects in win8 (.NET 4.5) using TC9 and WPFObjects using TC11.
please refer to below table:
Just curios to know why it is different in 4th and 5th case. Am I missing anything here? please advice!
-Mamatha
- AlexKaras10 years ago
Champion Level 2
Hi Mamatha,
What exact version of TC9 are you using? Also, talking about Win8 do you mean exactly Win 8.0 or Win 8.1 as well?
Support for Win8 and .Net 4.5 was added to TC9.1 while support fir Win 8.1 was added to TC10.0 (https://support.smartbear.com/viewarticle/75265/)
- makula10 years agoOccasional Contributor
Hi Alex,
I have Win8.0 with TC 9.20.2460.7 version installed.
-Mamatha