Testing Framework not compatible with dotnet 6 ?

1 Answer 58 Views
General Discussions
François
Top achievements
Rank 1
François asked on 16 Mar 2022, 10:30 AM

Hi everyone,

I downloaded yerstaday the testing framework (https://www.telerik.com/try/telerik-testing-framework).

And tried to use it today with a dotnet 6 wpf application and a dotnet 6 xunit test project and it seams that the testing framework has compatibility issues.

Can someone confirm it ?

Plamen Mitrev
Telerik team
commented on 17 Mar 2022, 01:53 PM

Hi François,

We recently release support for .net core 5 WPF applications and I tested that a demo WPF application with the following target framework also works. Can you tell me more about the application you want to automate? What is the target framework? Can you share a demo app for me to test?

<TargetFramework>net6.0-windows</TargetFramework>

Thank you for starting a discussion on the topic.

François
Top achievements
Rank 1
commented on 18 Mar 2022, 10:17 AM | edited

 

Hi Plamen,

enclosed is a sample project that produces the error on my machine.

  • Step 1, compile WpfApp ;
  • Step 2, compile WpfApp.AcceptanceTests ;
  • Step 3, debug tests ;

Waiting for your feedback.

Plamen Mitrev
Telerik team
commented on 18 Mar 2022, 01:25 PM

Thank you for your details follow up. Please see the thread answer for more details.

1 Answer, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 18 Mar 2022, 01:33 PM

Hello François,

I tested locally with .NET core 6 WPF application and Test Studio is able to record and execute tests against it. The issue in this case is caused by the target framework of the xunit test project, which is also .NET core 6. The Telerik Testing Framework works against .NET 4.5 due to limitations from some of the dependencies and our support for older versions of Visual Studio.

I created a public feature request on your behalf to increase the supported version of the test project and our product team will evaluate it further. You can add your vote and follow the public item to receive notifications where there is any activity.

In the meantime, you can create new test project that is targeting .NET 4.5 framework and try out the Telerik Testing Framework for your automation scenario.

Thank you for your cooperation and detailed posts.

Regards,
Plamen Mitrev
Progress Telerik

Does UI testing really fit into CI/CD?

If you want to find out how to take advantage of continuous delivery pipelines, join our Test Studio webinar on Wednesday, April 6 at 11 am EST | 5 pm CET.

François
Top achievements
Rank 1
commented on 23 Mar 2022, 10:37 AM

Thanks for the answer and for the feature request.

Unfortunately Specflow is not compatible with .NET 4.5.

I turned my attention to test studio.

Plamen Mitrev
Telerik team
commented on 23 Mar 2022, 11:53 AM

I understand that the clash of supported versions between Test Studio and Specflow is causing troubles. I hope that we can dedicate time to increase the supported version of .NET framework for test projects. That will allow you and other users to integrate Test Studio with other tools and frameworks.

Thank you for starting this discussion and for sharing details about the use case you have.

Tags
General Discussions
Asked by
François
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or