Software Quality Assurance & Testing Asked by Sachintha on January 6, 2022
In my project, I create simple feature file in my maven project using cucumber syntax.
but IntelliJ IDEA, not highlight steps in feature file and also I cant use ALT+ENTER key to create step definition
I added the cucumber-java dependencies and also installed the Gherkin and cucumber plugins, but still feature files aren’t recognized as they should be. What could be the problem?
In the TestRunner.java file. I added the following code: "stepNotifications = true"
package cucumberOptions; import org.junit.runner.RunWith; import io.cucumber.junit.Cucumber; import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class) @CucumberOptions( features="src/test/java/features/Login.feature", glue="stepDefinations", stepNotifications = true) public class TestRunner {
}
Answered by Wilson Manuel Rojas on January 6, 2022
I too get same problem when tried to create from the scratch. I have found this solution
Hope this helps....
Answered by Sowji on January 6, 2022
1 Asked on December 23, 2020 by anand
7 Asked on December 13, 2020 by nikhita-jalan
1 Asked on December 7, 2020 by belovedfool
android android automation appium mobile automation selenium webdriver
1 Asked on December 5, 2020 by annushri
4 Asked on November 26, 2020 by justin
1 Asked on October 30, 2020 by user25409
3 Asked on September 29, 2020 by yob-v-u
4 Asked on September 18, 2020 by reema
1 Asked on September 5, 2020 by chathud
0 Asked on August 25, 2020 by slava-klevchenia
1 Asked on August 12, 2020 by beti
1 Asked on August 10, 2020 by udit-choudhary
automated testing browser automation java selenium webdriver selenium3
18 Asked on July 21, 2020 by coybit
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP