1

以下是功能文件:

Scenario Outline: Verify logging in navigates user to Home page
    Given I navigate to "<url>" in chrome browser
    And switch control to Login iframe
    When valid "<username>" and "<password>" are entered
    And I click on the Login button
    Then The user is navigated to Home page

Examples: {'datafile' : 'src/main/resources/data/testData.xls', 'sheetName' : 'loginSheet'}

功能文件中的所有行都在步骤定义中实现,并且在执行 Testng.xml 文件时,我收到以下错误。

“org.openqa.selenium.WebDriverException:未知错误:未定义启动”,我还在控制台中看到类似下面的内容。

/**
* Auto-generated code snippet by QMetry Automation Framework.
*/
@QAFTestStep(description="I navigate to {0} in chrome browser")
public void iNavigateToInChromeBrowser(String str0){
    //TODO: remove NotYetImplementedException and call test steps
    throw new NotYetImplementedException();
}

请帮我解决这个问题,我是 QAF 的新手。

4

0 回答 0