This is a migrated thread and some comments may be shown as answers.

Telerik Testing Framework only uses ASP.Net 2.0 Web Development Server?

6 Answers 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Erich
Top achievements
Rank 1
Erich asked on 14 Nov 2013, 10:28 PM
I'm using Telerik Testing Framework (version: 2013.1.911.0) and I'm trying to use the Run Local Web Server feature. The MVC app I'm testing is using 4.0 so I set the localWebServer setting to "AspNetDevelopmentServer40". When I run my tests though I get an error in the browser:

Unrecognized attribute 'targetFramework'.

Then I look in my system tray and the development server is running version 2.0.50727.5459. This explains the error but localWebServer setting should be set correctly. I'm using Visual Studio 2012 to develop the application and tests (which are using the VSUnit template with all of the settings in an App.config).

Help would be greatly appreciated.

6 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 19 Nov 2013, 10:38 PM
Hi Erich,

I apologize for the delay getting back to you. I assume you're following this documentation? I need to double check with our software developers, but I am pretty sure the ASP.NET 2.0 server is all we support at this time. We probably should update this and add a new browser type such as "AspNetHost40" to go along with our existing AspNetHost browser type.


Regards,
Cody
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Erich
Top achievements
Rank 1
answered on 19 Nov 2013, 10:56 PM
Thank you for the reply!

Actually I was following one of the samples that is part of the Telerik Testing Framework samples (AspNetAndTestRegions.cs). The example does use the legacy development server but the LocalWebServerType enum has three values:

AspNetDevelopmentServer
AspNetDevelopmentServer40
None

I assumed AspNetDevelopmentServer40 was the new development server, is it not implemented?
0
Cody
Telerik team
answered on 27 Nov 2013, 02:20 AM
Hi Erich,

I apologize for the delay getting back to you. I have confirmed this appears to be a bug in our framework. As a temporary work around you can go to the folder where the development web server files are stored and rename all WebDev.WebServer40 files (there should be 3 of them) to WebDev.WebServer20. Of course you'll want to save a copy of the original WebDev.WebServer20 files first. This will force our framework to launch the 4.0 server instead of the 2.0 server. On my machine the files were located at:

C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0

Regards,
Cody
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Cody
Telerik team
answered on 27 Nov 2013, 02:33 AM
Hello,

I am sorry, I included the wrong link to the bug report. Here's the correct link:
http://feedback.telerik.com/Project/117/Feedback/Details/66343-setting-localwebserver-to-aspnetdevelopmentserver40-will-launch-the-2-0-server-in


Regards,
Cody
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Erich
Top achievements
Rank 1
answered on 27 Nov 2013, 05:35 PM
Thank you for the response and work-around! I've tried your work-around and it works (fortunately I don't have any legacy apps to worry about)!
0
Cody
Telerik team
answered on 27 Nov 2013, 08:40 PM
Hello Erich,

I am glad to hear it, thank you for the update. Hopefully it doesn't take too long for us to fix this bug.

Regards,
Cody
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Erich
Top achievements
Rank 1
Answers by
Cody
Telerik team
Erich
Top achievements
Rank 1
Share this question
or