Mstest-引用文件的文件夹(Chrome驱动程序,Internet驱动程序)

时间:2018-12-10 06:51:46

标签: selenium-webdriver mstest

尝试通过下面的Mstest命令运行自动化脚本,

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\mstest.exe"
/testcontainer:C:\Test\Release\Rainbow.TestAutomation.dll /test:"RS_VerifyTheLogin" /resultsfile:C:\Test\Release\TestResultLog.trx

内部,我的Mstest在 Out 文件夹中搜索文件,并得到如下所示的异常情况,

OpenQA.Selenium.DriverServiceNotFoundException:

The file C:\Test\Release\stan_12345 2018-12-10 06_38_57\Out\chromedriver.exe does not exist. The driver can be downloaded at http://chromedriver.storage.googleapis.com/index.html.

给我指路!

0 个答案:

没有答案
相关问题