I created a new test project with web tests as described in Microsoft's documentation here. However, when I try to run a web test, even if it's just a blank test, I get the following error:
Request failed: Could not run Web test 'WebTest1' on agent 'MYCOMPUTER': Method not found: 'Void Microsoft.VisualStudio.TestTools.WebTesting.WebTestContext..ctor(System.Collections.Generic.Dictionary`2, Int32, System.String, System.String, Int32, Int32, Microsoft.VisualStudio.TestTools.WebTesting.ValidationLevel)'.
at Microsoft.VisualStudio.TestTools.WebStress.WebTestCaseContext..ctor(WebTestCaseVariation variation, Int32 webTestIteration, Hashtable runContextParameters) at Microsoft.VisualStudio.TestTools.WebStress.WebTestCaseVariation..ctor(WebTestElement webTestElement, Hashtable runContextParameters) at Microsoft.VisualStudio.TestTools.WebStress.WebTestElement.CreateVariation(IRunContext runContext) at Microsoft.VisualStudio.TestTools.WebStress.WebTestRunner.StartupVariation() at Microsoft.VisualStudio.TestTools.WebStress.WebTestRunner.PlaybackThread()
I've seen some similiar posts on other forums where a user corrects the problem by reinstalling VS2008 Service Pack 1, but I'm having no such luck.
Has anyone else here encountered this problem. To repeat, there is no problem with recording web tests, but I get an error when I execute them.