locked
Web Test fails when ran through Test Explorer but passed when ran through web test editor RRS feed

  • Question

  • I am having an issue running my web test through the test explorer. When I run all tests or just run the selected test (there is only one test currently) the test fails with error 

    Message: Exception in PreWebTest event: Could not load file or assembly 'Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

    However if I open the .webtest file and run the test from there it passes without issue. 

    I followed the steps listed in this Article to set up my Solution

    https://msdn.microsoft.com/en-us/library/ms243191.aspx?f=255&MSPPError=-2147217396

    Thank you

    Wednesday, June 27, 2018 1:59 PM

All replies

  • I have this problem as well. Any solutions?

    SOLUTION:

    My web tests were in a sub folder. Move the test to the root folder of the project and everything works.

    • Edited by MarkBurrows Thursday, August 23, 2018 11:31 AM
    Thursday, August 23, 2018 5:40 AM