``で認識取得されていません。 ランナークラス、機能ファイルとステップ定義locations.Iの添付のスクリーンショットをご覧くださいちょうど ステップの定義は、ランナーのステップの定義が実行されていない-test私のJavaキュウリの設定でテストランナー
package com;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import cucumber.api.PendingException;
import cucumber.api.java.After;
import cucumber.api.java.Before;
import cucumber.api.java.en.Given;
public class StepDefinition {
WebDriver driver;
@Before
public void setUp(){
driver=new FirefoxDriver();
}
@After
public void tearDown(){
driver.quit();
}
@Given("^Launch the application$")
public void loadUrl() throws Throwable {
driver.get("https://www.google.com");
throw new PendingException();
}
}
さらなる分析のためのテキストとして質問エリア内のステップの定義を貼り付けることを検討してください。 – DebanjanB
私はちょうどURLを起動しています: – Bitz
@Bitzグルーオプション値の場合、パスをjavaパッケージの観点から与える必要があります – Grasshopper