为什么Visual Studio Tester Edition不会运行我的Web测试?

时间:2010-02-18 22:09:17

标签: visual-studio visual-studio-2008 testing web-testing

我使用Microsoft的文档here.中描述的Web测试创建了一个新的测试项目但是,当我尝试运行Web测试时,即使它只是一个空白测试,我也会收到以下错误:

  

请求失败:无法在代理'MYCOMPUTER'上运行Web测试'WebTest1':未找到方法:'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)   在Microsoft.VisualStudio.TestTools.WebStress.WebTestCaseVariation..ctor(WebTestElement webTestElement,Hashtable runContextParameters)   在Microsoft.VisualStudio.TestTools.WebStress.WebTestElement.CreateVariation(IRunContext runContext)   在Microsoft.VisualStudio.TestTools.WebStress.WebTestRunner.StartupVariation()   在Microsoft.VisualStudio.TestTools.WebStress.WebTestRunner.PlaybackThread()

我在其他论坛上看到了一些类似的帖子,用户通过重新安装VS2008 Service Pack 1来解决问题,但我没有运气。

这里有没有其他人遇到过这个问题。重复一遍,录制网络测试没有问题,但是当我执行时我收到错误。

1 个答案:

答案 0 :(得分:2)

我有类似的问题,我被迫重新安装Visual Studio 2008和Service Pack 1.你重新安装了吗?您使用的是哪种Visual Studio 2008?开发人员/专业人员/团队系统?

相关问题