Я новичок в фреймворке Cucumber и разработал один проект Maven Selen с использованием фреймворка Cucumber.
Но я изо всех сил пытаюсь избавиться от проблемы за последнюю неделю, я изучил все возможные решения в Интернете. например. поместив файл определения бегуна и шага в каталог src / test, а файл функций - в каталог test / resources ... и многое другое, я пробовал все возможное с моей стороны, но ничто не могло мне помочь.
Я поделился ссылкой git hub внизу.
Вот проблема, которую я получаю -
----------------------- проблема / ошибка --------------- ------------------------------
1 Сценарии (33 [33m1 undefined [0m))
3 шага (33 [33м3 не определено [0м)
0m0.000s
Вы можете реализовать пропущенные шаги с помощью фрагментов ниже:
@given("^User is already on login page$")
public void user_is_already_on_login_page() throws Throwable {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}
@when("^title of login page is Free CRM$")
public void title_of_login_page_is_Free_CRM() throws Throwable {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}
@then("^user enters username and password$")
public void user_enters_username_and_password() throws Throwable {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}
проект доступен на git hub -
https://github.com/GarimaKoushik/com.CRM.cucumber.git