当我跑
nunit3-console.exe (myfilepath)\dll file
Run Code Online (Sandbox Code Playgroud)
控制台运行器运行我的所有测试.
我需要运行什么命令才能运行单独的测试?我试过了
nunit3-console.exe /run:namespace.class.method (myfilepath)\dll file
Run Code Online (Sandbox Code Playgroud)
它说我使用了无效的论点.有人能为我提供正确的语法吗?
谢谢
Selenium WebDriver Visual Studio 2015
我正在尝试将计算机上现有的 Excel 文件添加到项目中的解决方案资源管理器中,但是当我尝试查找现有项目(或为此添加新项目)时,寻找 excel 文件没有任何相关内容xlsx 文件存在,不确定我是否缺少 nuget 包,我已尝试下载我知道的与该项目相关的所有内容。请帮忙
我正在运行以下方法:
public void AssertPreviousSubmissionClick() throws InterruptedException{
EnterLoginCredentials();
PreviousSubmissionClick(); //After this action takes place a new Browser Tab Opens
Assert.assertTrue("Clicking the link didn't work!",oldLogo.isDisplayed());
Reporter.log("PASSED! User Successfully click the Previous Year(s) Submission Request and was taken into the Grant Process!");
}
Run Code Online (Sandbox Code Playgroud)
我在 PreviousSubmissionClick() 处留下了一条注释,此时新的浏览器选项卡已打开。此时,在该方法中,我无法再在打开的新浏览器选项卡上识别 WebElements。请建议我如何在新的浏览器选项卡上找到 WebElements。