Watin in TFS 2008?

I am trying to get my WATIN tests to work in TFS2008 (continuous integration) as part of a nightly build.

All tests work fine on my local computer (from VS2008), and my unit tests (non-watin) work fine on my local computer, as well as in TFS.

To illustrate what we do I have a simple test:

    [TestMethod]
    public void Watin()
    {
        //set up stuff

        browser.GoTo("http://localhost/");
    }

When running a test in TFS, this causes the following error:

TestTypes \ 37e36796-fb51-4610-8d5c-e00ceaa68b9f could not be loaded because TIP could not be the following reasons (reasons): System.IO.FileNotFoundException: May not load the file or assembly "Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest. Tip, Version = 9.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a ' or one of its dependencies. The system cannot find the specified file. File name: "Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip, Version = 9.0.0.0 , Culture = Neutral, PublicKeyToken = b03f5f7f11d50a3a "in System.RuntimeTypeHandle._GetTypeByName (String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark & ​​amp; stackManParkleMarPumpMartPleMarPlayMarPleMarPlayMarPlayMarPleMartPleMarPleMarPleMarPleMarPleMarPleMartPleMartPleMartPleMartPleMartPleMarPleMarPleMarPleMartPleMartPleMartPleMarPleMartPleMartPleMarPleMartPleMartPleMarPleMarPleMarPleMarPleMartPleMartPleMarPleMarPleMartPleMartPlayMart

, , TFS, , . TFS 2008 Developer Edition/VS2008 Developer Edition

TFS, DLL. WebLoadTest.Tip TFS ( , ). , , , , :

MSBUILD: MSB6006: "MSTest.exe" 1.

Suite? .

!

: , , TFS WebLoadTest, . Watin, . , Watin webloadtest.

+3
2

Team System, , . , , , , , , (, -, Test SKU).

Watin, , WebLoadTest, SKU, .

Developer Edition Test Edition , Dev + Test, , . , Suite, .

Team Suite, , , , , 90 ( ) , , 90 ...

+1

WatiN "Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip ..

, , , unit test, watin.core.dll, mshtml.dll SHDocVw.dll. , - - VS , .

, .

+1

Source: https://habr.com/ru/post/1702356/


All Articles