是的,您可以使用NUnit控制台运行硒测试,而只需调用相应的
dll。请参阅此以获取命令行选项
编辑: 在此处下载NUnit Runner
。将可执行文件的路径设置为系统路径。这将使您开始安装,然后使用以下命令创建基本批处理文件
:: Nunit can be set to system path or simply calling the executable and call the dll with /run switchNUnit/run "C:seleniumbinselenium.Tests.dll"
然后,使用调度程序调度基本的Windows任务。看到这里, 您还必须确保装配正确构建



