Тёмный

Java + Cucumber + TestNG +IntelliJ 

 Omega Automation Testing
Подписаться 986
Просмотров 45 тыс.
50% 1

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

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 40   
@hassellvinny
@hassellvinny Год назад
Great intro, thank you! Audio dropped out sometimes but still managed to follow most of it. Thank you!
@manojmulik6151
@manojmulik6151 2 года назад
Thank You very Much you have done really great job by explaining it stepwise
@jorikvartanov8063
@jorikvartanov8063 9 месяцев назад
Good stuff, had to refresh my knowledge! Thanks
@Topio1912
@Topio1912 3 года назад
very clearly explained. Thanks a lot!
@Chime2023
@Chime2023 Год назад
Thank for sharing
@tahabulentdursun8701
@tahabulentdursun8701 2 года назад
thank you very much my big brother
@Damikaize
@Damikaize Год назад
May I know what's the purpose of running "mvn test" in cmd?
@scjonna7544
@scjonna7544 3 года назад
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 3 года назад
Thanks for suggestion. I would be uploading it shortly
@8004wind
@8004wind 2 года назад
Thanks for the nice video. But could you add how to initiate WebDriver, e.g. chromedriver?
@waniya-huzzu
@waniya-huzzu 3 года назад
you have not mentioned about cucumber plugin in intelliJ , Please do the needful.
@RahulVagadiya-gw3hc
@RahulVagadiya-gw3hc Год назад
Thank you i was watching your videos. it’s really helpful but my framework doesn’t work some point.please advise me
@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
@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.
@yongjunjeong2994
@yongjunjeong2994 7 месяцев назад
Such a incredibly clear Explanation. Appreciate for video!!
@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.
@TheCrule
@TheCrule 2 года назад
I'm getting Step undefinded error please can i get some explanation :)
@mS-oc1yy
@mS-oc1yy 2 года назад
While doing i am getting error as undefined exception
@sethpatsanza7935
@sethpatsanza7935 2 года назад
I appreciate this video and tutorial, I have subscribed for more. Stay well.
@alex_lomov
@alex_lomov 2 года назад
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 2 года назад
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 2 года назад
@@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!
@walkiri
@walkiri 2 года назад
Thank you for this video. I missed one step from other tutorials and this one helped me :) all clearly explained
@tioputrasalis9807
@tioputrasalis9807 2 года назад
Thank you, I hope you always healthly and safety
@audioplatform6299
@audioplatform6299 2 года назад
thank you my friend. It was very helpful!!
@angry_fox
@angry_fox 2 года назад
Thank you, very useful tutorial for me)
@Nstyleonlineuk
@Nstyleonlineuk 2 года назад
Thank you ! very good Tutorial.
@fantasma1630
@fantasma1630 3 года назад
haaaaaaaaaaa me salvaste gracias
@iconpandeyji
@iconpandeyji 3 года назад
very easy to understand
@omegaautomationtesting4998
@omegaautomationtesting4998 3 года назад
Glad to hear that :)
@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)
@killmill3420
@killmill3420 2 года назад
excellent tutorial! is there a follow up?
@deepsyuncle4972
@deepsyuncle4972 2 года назад
Thank you, sir. Your lessons are really helpful!
@Gauss6174
@Gauss6174 2 года назад
thanks dude
@waniya-huzzu
@waniya-huzzu 3 года назад
Error: Could not find or load main class cucumber.cli.Main
@tejashrisutar9613
@tejashrisutar9613 2 года назад
I am also getting same error
@xo_vallee
@xo_vallee Год назад
16:01
Далее
Самая сложная маска…
00:32
Просмотров 1,3 млн
Новый вид животных Supertype
00:59
Просмотров 176 тыс.
Java + Maven + IntelliJ Basic setup
23:59
Просмотров 36 тыс.
Being Competent With Coding Is More Fun
11:13
Просмотров 81 тыс.
Introduction to Cucumber
27:06
Просмотров 257 тыс.
Самая сложная маска…
00:32
Просмотров 1,3 млн