Java + Cucumber + TestNG +IntelliJ

This video describes the process of creating and running an automation test project in IntelliJ IDE using Java, cucumber and TestNG combination
Basic Steps involve:
1. Creating a basic maven project
2. Adding cucumber and cucumber TestNG dependencies in pom.xml
3. Add supporting cucumber plugins to intelliJ i.e. "Gherkin", "Cucumber for Java" and "Create TestNG xml"
4. Create sample cucumber test
5. Run test via IDE
6. Run test from command line using maven command i.e. mvn test

Пікірлер: 40

  • @yongjunjeong2994
    @yongjunjeong29945 ай бұрын

    Such a incredibly clear Explanation. Appreciate for video!!

  • @hassellvinny
    @hassellvinny Жыл бұрын

    Great intro, thank you! Audio dropped out sometimes but still managed to follow most of it. Thank you!

  • @walkiri
    @walkiri2 жыл бұрын

    Thank you for this video. I missed one step from other tutorials and this one helped me :) all clearly explained

  • @deepsyuncle4972
    @deepsyuncle49722 жыл бұрын

    Thank you, sir. Your lessons are really helpful!

  • @subhashinisamba2557
    @subhashinisamba2557 Жыл бұрын

    Thank you very much for this video, it so helpful. Please add more videos for IntelliJ IDE using Java, cucumber and TestNG combination to improve the knowledge of the tools.

  • @manojmulik6151
    @manojmulik61512 жыл бұрын

    Thank You very Much you have done really great job by explaining it stepwise

  • @Topio1912
    @Topio19122 жыл бұрын

    very clearly explained. Thanks a lot!

  • @jorikvartanov8063
    @jorikvartanov80637 ай бұрын

    Good stuff, had to refresh my knowledge! Thanks

  • @sethpatsanza7935
    @sethpatsanza79352 жыл бұрын

    I appreciate this video and tutorial, I have subscribed for more. Stay well.

  • @audioplatform6299
    @audioplatform62992 жыл бұрын

    thank you my friend. It was very helpful!!

  • @tioputrasalis9807
    @tioputrasalis98072 жыл бұрын

    Thank you, I hope you always healthly and safety

  • @Nstyleonlineuk
    @Nstyleonlineuk2 жыл бұрын

    Thank you ! very good Tutorial.

  • @angry_fox
    @angry_fox2 жыл бұрын

    Thank you, very useful tutorial for me)

  • @tahabulentdursun8701
    @tahabulentdursun87012 жыл бұрын

    thank you very much my big brother

  • @Chime2023
    @Chime2023 Жыл бұрын

    Thank for sharing

  • @fantasma1630
    @fantasma16302 жыл бұрын

    haaaaaaaaaaa me salvaste gracias

  • @Gauss6174
    @Gauss61742 жыл бұрын

    thanks dude

  • @scjonna7544
    @scjonna75442 жыл бұрын

    Excellent tutorial. Clearly explaining the need for each package and class. Haven't found one like this so far. Can you also show how to use JUnit inplace of TestNG? Thanks

  • @omegaautomationtesting4998

    @omegaautomationtesting4998

    2 жыл бұрын

    Thanks for suggestion. I would be uploading it shortly

  • @iconpandeyji
    @iconpandeyji2 жыл бұрын

    very easy to understand

  • @omegaautomationtesting4998

    @omegaautomationtesting4998

    2 жыл бұрын

    Glad to hear that :)

  • @killmill3420
    @killmill34202 жыл бұрын

    excellent tutorial! is there a follow up?

  • @8004wind
    @8004wind2 жыл бұрын

    Thanks for the nice video. But could you add how to initiate WebDriver, e.g. chromedriver?

  • @mS-oc1yy
    @mS-oc1yy2 жыл бұрын

    While doing i am getting error as undefined exception

  • @RahulVagadiya-gw3hc
    @RahulVagadiya-gw3hc10 ай бұрын

    Thank you i was watching your videos. it’s really helpful but my framework doesn’t work some point.please advise me

  • @BrApocalypto
    @BrApocalypto Жыл бұрын

    When i extends the Runner class with the abstract from testng all my @Before tags are not executing. Can someone help me with this? Srry for the bad english.

  • @edward_fury
    @edward_fury Жыл бұрын

    please I need your help... I have this error: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set

  • @Damikaize
    @Damikaize Жыл бұрын

    May I know what's the purpose of running "mvn test" in cmd?

  • @TheCrule
    @TheCrule2 жыл бұрын

    I'm getting Step undefinded error please can i get some explanation :)

  • @waniya-huzzu
    @waniya-huzzu2 жыл бұрын

    you have not mentioned about cucumber plugin in intelliJ , Please do the needful.

  • @waniya-huzzu
    @waniya-huzzu2 жыл бұрын

    Error: Could not find or load main class cucumber.cli.Main

  • @tejashrisutar9613

    @tejashrisutar9613

    2 жыл бұрын

    I am also getting same error

  • @alex_lomov
    @alex_lomov Жыл бұрын

    There is something missing. I've tried following the video, but I was able to run it from the feature file. Running the runner class or the xml file resulted in errors. The Cucumber didn't find the steps definition, while I was able to navigate from feature file to the steps definitions by holding Ctrl and clicking on a step. And at some point, the error was saying that the testing xml file is invalid.

  • @eyupbayiroglu

    @eyupbayiroglu

    Жыл бұрын

    Did you solve it? I am in the same position, i can navigate from feature file to the step definitions by clicking on a step but when i run the feature file it says step undefined

  • @gajendersingh4361

    @gajendersingh4361

    Жыл бұрын

    @@eyupbayiroglu, right click on 'steps' file that you created in 'stepsdefination' folder then click on 'Build Module'. After that it should be fixed.

  • @LeyliFilms

    @LeyliFilms

    Жыл бұрын

    @@gajendersingh4361 Thank you so much for your comment! I spent 2 days solving the problem, watched all possible tutorials exactly following all steps and tests didn't pass. Thank you!

  • @Tukomika

    @Tukomika

    Жыл бұрын

    @@gajendersingh4361 Lifesaver.

  • @curryographer

    @curryographer

    Жыл бұрын

    @@gajendersingh4361 Thanks a lot. i was scratching my head on this too! You are awesome!

  • @xo_vallee
    @xo_vallee Жыл бұрын

    16:01

  • @weilin4348
    @weilin4348 Жыл бұрын

    Could anyone tell me .what is wrong with it ? java.lang.NoSuchMethodError: org.openqa.selenium.support.PageFactory.initElements(Lorg/openqa/selenium/SearchContext;Ljava/lang/Object;)V at pagefactory.LoginPage_PF.(LoginPage_PF.java:32)