问题
Following error is displayed on running an automated test on an agent machine via Test Manager. The test run is successful on local machine for the same build and same test.
System.IO.FileNotFoundException: Could not load file or assembly 'WebDriver, Version=2.35.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To
Please help..!!
Thanks in advance.
回答1:
Problem resolved, comment out the line following line in AssemblyInfo.cs file.
[assembly: AssemblyCulture("")]
来源:https://stackoverflow.com/questions/19162951/unable-to-run-an-automated-test-on-agent-machine-using-test-manager