如何解决黄瓜中的'cucumber.runtime.CucumberException:gherkin.ParserException $ CompositeParserException:Parser errors:'问题

时间:2019-03-15 13:19:59

标签: cucumber cucumber-java cucumber-junit

功能文件:

.carousel-item

步骤定义文件:

Feature: Claims Regression suit scenarios using BDD
@Test
Scenario: Log in to AUT as ClaimAssistant with valid credential.
Given Browser is launched successfully

测试运行器类文件:

@Given("^Browser is launched successfully$")
    public void Browser_is_launched_successfully() throws InterruptedException, IOException
    {
        System.setProperty("webdriver.chrome.driver", "U:\\Claims Jar\\ChromeDriver\\chromedriver_win32\\chromedriver.exe");
        driver=new ChromeDriver();
        driver.get("https://www.google.com");
        driver.manage().window().maximize();
    }

0 个答案:

没有答案