VSTS 2008 SP1 Web Test
Un web test creato con il SP1 di Visual Studio non viene correttamente eseguito dalla versione senza Service Pack 1. Occhio quindi ad aggiornare con il SP1 di Visual Studio Team System anche la macchina che fa da Build Server, altrimenti i test lanciati in automatico durante la Build non vengono eseguiti.
Il messaggio di errore รจ il seguente:
Request failed: Could not run Web test 'WebPartVenditoriList' on agent 'TFSROB': 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()