WatiN System.IO.FileNotFoundException Interop.SHDocVw

后端 未结 7 1756
我寻月下人不归
我寻月下人不归 2020-12-14 06:20

I have just started to receive the following error when running my WatIn tests.

System.IO.FileNotFoundException : Could not load file or assembly \'

7条回答
  •  别那么骄傲
    2020-12-14 07:08

    If you are using the Visual Studio TestTools you should set the DeploymentAttribute to solve this Problem.

    Example:

    [DeploymentItem( @"your_path\Interop.SHDocVw.dll" )]
    public class WatinTestSuite {
    
    ... 
    
    }
    

提交回复
热议问题