Cucumber - jvm (BDD Framework) with Selenium WebDriver - Part 1

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 489

  • @vivek3978
    @vivek3978 Před 3 lety +82

    its sometimes hard to believe that how can anyone share his knowledge in so much depth and that's on public platform completely free of cost ! Having expertise is different thing but sharing that expertise with others is different! Very few people have that guts !!! Naveen, you are the real "Teacher" in true sense that knows only spreading knowledge without expecting anything in return !!!

  • @kushanchoudhury1942
    @kushanchoudhury1942 Před 4 lety +100

    Going back into history, Naveen Khunteta and Mukesh Otwani will be remembered as d 2 individuals who created automation revolution in India and gave thousands of needy young QA professionals jobs and hope when they desperately needed it..!!

  • @mithaleepardeshi
    @mithaleepardeshi Před 4 lety +45

    I just fail to understand who are those illiterates to give a thumbs down to the video? Your videos are a blessing Naveen Sir. I am a Manual Tester and now learning Automation. Your videos really help me a lot and sometimes; when I am not getting things and really frustrated I just listen to one your video classes and they are so reassuring. Thank you so much and God Bless You. I really want to become a good Automation Tester, May Lord Krishna fulfill this wish of mine.

  • @naveenautomationlabs
    @naveenautomationlabs  Před 3 lety +14

    Full Cucumber 6 latest 2022 videos - playlist: czcams.com/play/PLFGoYjJG_fqpObjigKg4bunu6_Ki7Ppn-.html

    • @sayedmasihullahfakhri6876
      @sayedmasihullahfakhri6876 Před 3 lety

      Hi Naveen, can you please tell us the difference between the one from 2017 and the one you have commented on here?

  • @rubeenasheikh3102
    @rubeenasheikh3102 Před 4 lety +7

    awesome!!!!! loved your simple yet practical way of teaching style,not at all like those who just read slides and do not elaborate in simple language.big thank from US.

  • @Jo-kl1bc
    @Jo-kl1bc Před 3 lety +1

    I have recently figured out your channel, i didn't know that you teach complete courses on youtube for free. Until now i have wasted lot of time and money on Udemy. Thank you so much sir, you are an excellent trainer ..

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

    • @Jo-kl1bc
      @Jo-kl1bc Před 3 lety

      @@biswadeepak1 yes he is

  • @golamrahman4955
    @golamrahman4955 Před 5 lety +1

    Awesome teaching skill...... when people like me find some confident , its because of you... and you are the hope. God bless you.

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @leunowx
    @leunowx Před 6 lety +9

    Thanks Naveen for helping us and other who are really looking for BDD stuff to learn. excellent work.

    • @leunowx
      @leunowx Před 6 lety +5

      Hi Naveen, by following & practising your tutorials I have cleared the written certification exam in my company, thanks a lot for sharing such a great knowledge with excellent way of explaining the concepts, Hats off brother.

  • @Adhurapan
    @Adhurapan Před 2 lety +1

    Here you will always find the best version of any video explained ever 🤗Thanks Naveen

  • @ashleyindiracabreravicioso5458

    I did get a little confused since I was doing it on IntelliJ but OMG you help me a lot... Thank you.

  • @saurabhsingh7236
    @saurabhsingh7236 Před 5 lety +5

    you r the best bro...you have very good ideas to explain each n every step....i m ur big fan..your techniq...realy good bro

  • @RekhaMCA
    @RekhaMCA Před 5 lety +7

    Awesome..!!
    By birth, u have got good teaching skills. Never missed a single point and you teach everything with a constant flow. Its quite interesting to learn after watching your tutorials. Never seen such a dedication.!!
    Can you please let me know when to use Cucumber and when to use testNG.

    • @biswadeepak1
      @biswadeepak1 Před 3 lety +1

      Here in BDD framework is naveen using Page Object Model?

  • @sankarsan
    @sankarsan Před 4 lety

    You are a genius. Your videos are too good. I am going through your videos through this lockdown period. God bless you.

  • @outofofficevlogs9934
    @outofofficevlogs9934 Před 4 lety +4

    Finally I got to understand the bdd. Thank you!

    • @outofofficevlogs9934
      @outofofficevlogs9934 Před 4 lety

      Dude - you have just bought me back go Java. I had an option of choosing automation stream but since i loved dwh more so i choose etl testing and i love it. Until to my surprise i saw Java automation is gonna be useful for me to carry out most automation. Your videos i almost binged watches entire episodes and i am now so addicted to it. Tu bahot sahi banda hai, cheers!

  • @roshanitripathy6698
    @roshanitripathy6698 Před 3 lety

    Simple and clear explanation of cucumber BDD.. best video available on youtube

    • @naveenautomationlabs
      @naveenautomationlabs  Před 3 lety

      Thanks a lot

    • @engineersfunda4594
      @engineersfunda4594 Před 3 lety

      Everything good and ur teaching style also good...
      I'm facing 55:00min
      Failure trace:-
      java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from chromedriver.storage.googleapis.com/index.html
      at com.google.common.base.Preconditions.checkState(Preconditions.java:847)
      at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:134)
      at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:35)
      at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:159)
      at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:355)
      at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:94)
      at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:123)
      at stepDefinitions.LoginStepDefinition.user_is_already_on_login_page(LoginStepDefinition.java:22)
      at ✽.Given user is already on login page(E:/Cucumber/FreeCrmBDDFWCucumberDemo/src/main/java/Features/login.feature:5)

    • @engineersfunda4594
      @engineersfunda4594 Před 3 lety

      Runs:5/5(4 skipped) Errors 2 Failure 0

  • @vikrantsingh2804
    @vikrantsingh2804 Před 5 lety +4

    Hi Naveen ,
    Thanks for the wonderful and clear explanation of cucumber.
    I will recommend your playlist to my friends

  • @vinjami3260
    @vinjami3260 Před 6 lety +2

    Hi Naveen, I have gone through so many other sites but you are the best tutor i have seen. Please keep doing and i will refer all of my friends to your channel. Thanks you so much.

  • @sivakys
    @sivakys Před 5 lety +9

    The way of teaching is really awesome sir 😊

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @prakashkallur7427
    @prakashkallur7427 Před rokem

    Really very helpful video I didn't even realise how an hour went

  • @uday987654
    @uday987654 Před 4 lety

    Thank you so much naveen
    You are better than my lead who doesn't even know the meaning of giving KT

  • @tejtiks
    @tejtiks Před 5 lety +1

    Great Stuff Naveen, Really Helpful for All the QA Guys struggling in their own areas day to day.

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @pavanigudimalla1097
    @pavanigudimalla1097 Před 5 lety

    Hi naveen,
    Your videos are very clean and clear to anyone who want to start on automation

  • @umangsharma7447
    @umangsharma7447 Před 5 lety +2

    one of THE BEST cucumber tutorials!! Thanks a lot Naveen !!

    • @Parthipanx7
      @Parthipanx7 Před 4 lety

      n 55.02 minute am facing issue , everything is fine while run through url is not launching but still that green passing is showing
      please help me out

  • @ghulamanosh5564
    @ghulamanosh5564 Před 4 lety +1

    Thank you very match for the session. Love from Afghanistan.

  • @nagagsalka5371
    @nagagsalka5371 Před 6 lety +1

    I really liked the selenium/cucumber tutorials
    thanks

  • @vijayakrishnan1728
    @vijayakrishnan1728 Před 4 lety +1

    Thank you so much Naveen..realy it's wonderful way of explanation. God bless you

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @balakrishnapv5643
    @balakrishnapv5643 Před 3 lety +2

    Thank you so much, you're seriously an Excellent trainer.

  • @kalyanchunduri7141
    @kalyanchunduri7141 Před 4 lety +1

    Very intersting to learn..
    The way of explanation is super👌👌👌

  • @kirtijain1029
    @kirtijain1029 Před 5 lety +4

    The way of explanation is very good but please increase your font size. Thank you....

  • @kaushikapte6380
    @kaushikapte6380 Před 3 lety

    Thanks a lot Sir, you are really great, provided great series of cucumber, God bless you...

  • @rahulsonawane2587
    @rahulsonawane2587 Před 5 lety +1

    This was a great video. The explanation is perfect. At least now I can say I have an idea of the BDD framework

  • @dantuluriraju5417
    @dantuluriraju5417 Před 6 lety +1

    Hi Naveen, You are doing an outstanding job and thank you very much for helping us

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @mayankjain9941
    @mayankjain9941 Před 4 lety +2

    Thank you for such a good tutorial...very well explained...

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @rpvijay83
    @rpvijay83 Před 5 lety +1

    Thank you so much Naveen for the best video to understand the cucumber integration with Selenium.

  • @kiransingh8239
    @kiransingh8239 Před 4 lety +1

    Thanks Naveen ,u are doing awesome work ,I like it

  • @adamjoy8510
    @adamjoy8510 Před 2 lety

    For example then keyword used and again also used it now if have problem or not

  • @Star-vg7ix
    @Star-vg7ix Před 3 lety

    If you kick off the Test Runner then it would generate a skeleton for you to put into the Step Definition class instead of having to write those "Given" steps.

  • @kambalavinodkumar1018
    @kambalavinodkumar1018 Před 3 lety

    I am also using the same 2 scenarios in the features file. after execute I am not getting proper report lefthand side like for the 1st scenario given passed, then passed like that. It is showing directly scenario1 passed, scenario 2 passed. How to get step by step to view of whether to see passed or not

  • @meghraj
    @meghraj Před 3 lety

    Nice Tutorial for basic introduction

  • @darshanhr1213
    @darshanhr1213 Před 4 lety

    Very neatly explained.

  • @farukhkhan2832
    @farukhkhan2832 Před 4 lety

    Awesome..!!
    Loved it!!!!!!!!!!!
    i have few queries , could you please make videos on the below topics
    1. How we can run the failed test cases in Cucumber?
    2.How we can Run the Cucumber framework in Jenkins from gitRepository?

  • @softwaretestinglearninghub

    Great explanation, thank you!

  • @WhiteKnight_OG
    @WhiteKnight_OG Před 7 měsíci

    Exception in thread "main" cucumber.runtime.CucumberException: No backends were found. Please make sure you have a backend module on your CLASSPATH.

    Anyone knew how to resolve this error

  • @davidjohnson786
    @davidjohnson786 Před 5 lety +1

    Excellent Introduction to BDD

  • @luisafernandamunoz8607

    Thank you Naveen for the video. I haven not see any so far, where explanation is that detailed and clear.

  • @immortalseargent
    @immortalseargent Před 5 lety

    Hi Naveen,
    As per my understanding, the Gherkin feature file represents a test case or a test. Thus;
    Given = precondition of the test
    When = action performed for the test
    Then = validation or post condition of test.
    The login scenario should be as below
    Scenario: User attempts to login using correct credentials
    Given User is on home page
    When User enters credentials -- depends on tester if they want to break this step further
    And User clicks on login button
    Then User is logged in -- Assertion for login name to appear or title of page to check if login was successful
    Please let me know if that is correct.

  • @anujraut1927
    @anujraut1927 Před 3 lety +1

    SIR YOU ARE BEST IN YOUR WORK .
    BEST 👍

  • @nandakishorjambhulkar427
    @nandakishorjambhulkar427 Před 3 lety +1

    its still helping us sir

  • @gargijindal4253
    @gargijindal4253 Před 4 lety

    Hi, I am not able to pick up some of the concepts such as dependency problem i have latest version of Eclipse for Mac, what version should i add as dependency in pom.xml . if possible plz let me know about this.

  • @pdjprashant
    @pdjprashant Před 5 lety +1

    Thanks Naveen for such wonderful videos

  • @paramjitbhuller5922
    @paramjitbhuller5922 Před 28 dny

    Please provide list of dependencies required and can we use TestNG instead of Junit

  • @saranyajothi9691
    @saranyajothi9691 Před 5 lety +2

    Hi Naveen, it's a very good explanation.Thank you so much

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @chandrashekargr9218
    @chandrashekargr9218 Před měsícem

    I have a scenario where I'm running test suite with multiple threads.
    But when tried to close the browser using driver.quit() the browser still runs in background and makes system non-responsive by utilising the cpu utilisation 100%
    Can you please suggest me the solution for this problem

  • @rohitnegi3174
    @rohitnegi3174 Před 6 lety +2

    Hey Naveen, Your teaching style is commendable. I have two doubts. Could you please take a look.
    1. Can we not execute multiple features/stepdef at once. or can we specify the corresponding feature with the corresponding stepdef using feature and glue option.
    2. Is there any other videos to learn cucumber with testng. Can you tell me what is used widely in industry , testng/junit with cucumber.

  • @HowTo-lc2rp
    @HowTo-lc2rp Před 3 lety

    Do we have to install Cucumber from Eclipse Marketplace ,
    prior to copying the dependencies for maven ? , can somebody help me ? ;
    Can somebody explain the procedure , because I want to get hands on experience on cucumber.

  • @subhasishpanigrahi5725

    Awesome teaching 🙏

  • @samrajbhowmik7996
    @samrajbhowmik7996 Před 4 lety

    Hi while running the testrunner class I am getting Java.lang.IncompatibleClassChangeError: class cucumber.runtimr.HookDefinitionMatch can not implement cucumber.runtime.StepDefinitionMatch error I tried changing the versions as well but still facing the issue

  • @tahminakhatun6402
    @tahminakhatun6402 Před 3 lety

    Well understood you are a good teacher.

  • @prithivirajan6490
    @prithivirajan6490 Před 5 lety +1

    Thank you so much Sir, Good tutorial sir. Useful Video

  • @swathiseemakurthy4213
    @swathiseemakurthy4213 Před 6 lety +3

    Great job and very good explanation Naveen.
    Could you please upload videos for Cucumber with Page Factory pattern integrated in it with more scenarios ?It would be really helpful if you could upload more scenarios implementation with Page Factory pattern.

  • @saakshib7490
    @saakshib7490 Před 4 lety

    As you mention we can create separate Features file for example - Login. features and Contact.feature file and also created separate definition file loginStepDef and ContactPageDef.
    1. Suppose in loginStepDef
    i have written login page details User name and password and submit then Home page displayed
    2. On Home page i click on contact link and enter details and save ( I have written feature file for Home page only
    3. when i run above steps from Runner
    Query :- So which feature file it is execute first ? For ContactPageDef file i have not written any steps for login details. So if ContactPageDef feature file execute first then it will get failed? so how to write feature file ?

  • @priyareddy741
    @priyareddy741 Před 3 lety

    I have implemented everything as you explained in this video..there is no compilation error, but my stepdefination file have 5 tests and not getting executed. The result is my all tests are getting skipped.... cucumber.runtime.junit.UndefinwdTrowable error. How to resolve this error?

  • @sridhar6358
    @sridhar6358 Před 3 lety

    Natural Plugin is not available in Eclipse, which is the equivalent of that in the latest version of cucumber

  • @mcddotcom331
    @mcddotcom331 Před 4 lety

    Hello, When I run the runner, I get this error "java.lang.NoClassDefFoundError: io/cucumber/stepexpression/TypeRegistry". I am not sure how to fix it. Please advise!

  • @SunilKumar-iu2su
    @SunilKumar-iu2su Před 4 lety

    hi Naveen. This video will be really helpful for those who wish to learn BDD Framework. Could you please post a video explaining Cucumber Sandwich Report.

  • @kushanchoudhury1942
    @kushanchoudhury1942 Před 5 lety +1

    Thanks Naveen....ur simply the best!!

  • @archanaallur2120
    @archanaallur2120 Před 4 měsíci

    Hi naveen, i am using cucumber testing, when i run a features from runner class @Before is not getting invoked

  • @tejasvinishastre1183
    @tejasvinishastre1183 Před rokem

    Hi Naveen.. Your way of teaching is very excellent. I'm manual tester.. And now learning automation testing. Can you please explain when to use src/main/java and src/test/java. As i watched your video on Maven directory.. You said for writing automation test use src/test/java..and here used src/main/java...so i am confuse... Can you please let me know as early as possible?

  • @k.sharathchandrakummari1720

    hi Naveen you have done great job, Everything is clear and you explained well.
    Thank you so much

  • @sridhar6358
    @sridhar6358 Před 3 lety

    which version of cucumber are all the videos about. Do you have any playlist for dependencies which are io.cucumber

  • @rajithkumar8651
    @rajithkumar8651 Před 3 lety

    I followed the same steps as you showed in video. But all of my scenario's are skipping instead of executing each scenario. And in my feature link, all of the keywords are changed to red color. Can you help me in resolving it Naveen.

  • @lakshmicharitha9705
    @lakshmicharitha9705 Před rokem

    Hi Naveen,
    In my test project, i am trying to install Natural plugin but it is not getting installed, i could not see the Feature keywords are not changing the color, please help.
    Thank you in advance.
    charitha

  • @shilpashravge5393
    @shilpashravge5393 Před 2 lety

    thanks for the explanation !! Easy to understand !

  • @jyothigurrala8633
    @jyothigurrala8633 Před 5 lety +3

    Ur channel is so helpful, thank you

  • @RakeshSaineni
    @RakeshSaineni Před rokem

    Great explanation naveen

  • @pravinlkadam
    @pravinlkadam Před rokem

    I'm getting error Creating maven archetype quickstart has encountered problem
    Failed to create project

  • @hareeshc9732
    @hareeshc9732 Před 3 lety

    Hi Naveen I'm getting numbers null pointer exception how to resolve when I write automation cucumber

  • @sheetalgaikwad808
    @sheetalgaikwad808 Před 3 lety

    Very good explanation

  • @tejastoley6714
    @tejastoley6714 Před 3 lety

    HI, we can implement the snippets by right click on the feature file and click on run configuration a

  • @anasjohn1
    @anasjohn1 Před 4 lety +2

    @RunWith(Cucumber.class)
    How to resolve this problem (Cucumber.class)

  • @surbhi17
    @surbhi17 Před 4 lety

    Hi Naveen, I exactly followed the same steps to setup cucumber but I am facing below error while creating .feature file under Feature package. I tried to troubleshoot but unfortunately got failed. Can you please help me here. Thanks!
    Error: An internal error occurred during: "Search Marketplace for compatible editors (*.feature)".
    java.lang.NullPointerException

  • @sridhar6358
    @sridhar6358 Před 3 lety

    Natural plugin is not available for Gherkin language, which is the other option for cucumber then

  • @monishabhatroy8460
    @monishabhatroy8460 Před 4 lety

    hi naveen. i did what u said bt it is not showing any error even website is not launching ..and it showimg scenerios undefined ..i dont know y it is showing like this ..can u plz help me for this .. if u get the time.

  • @vishwasv2167
    @vishwasv2167 Před 3 lety

    Hi Naveen Sir, I had a quick question. If I'm learning Cucumber for the first time, I have to follow this playlist or the new one (2020 playlist) ? Please let me know.

  • @rajuspi
    @rajuspi Před 5 lety

    Naveen your videos are great, just one suggestion please zoom your code block while typing since people like me find it difficult to read and follow small texts.

  • @hadtalks2521
    @hadtalks2521 Před 3 lety

    I did same i am getting "The annotation @Given is disallowed for this location" can you please Help.

  • @pradnyagarud600
    @pradnyagarud600 Před 4 lety

    Your session helps me a lot. Thank you so much😊

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @babylaxmi9252
    @babylaxmi9252 Před 3 lety +1

    Great stuff learned a lot thanks a ton !

  • @anandgudimanchi674
    @anandgudimanchi674 Před 4 lety

    Thank you Naveen, I am after using Katalon, groovy script with BDD automation

    • @biswadeepak1
      @biswadeepak1 Před 3 lety

      Here in BDD framework is naveen using Page Object Model?

  • @rifataminrabby5004
    @rifataminrabby5004 Před 3 lety

    Naveen in my eclipse the "format" / or the plugin is not working when im trying to do it in html and pretty together as you showed in the video, i tried just the "pretty" - it worked, could you be possible to solve this issue. and thanks for all your hard work. love your videos, from NYC.

  • @yuvrajkthorat
    @yuvrajkthorat Před 6 lety +1

    Excellent thing done....very good keep it up

  • @MohitSharma-iy3qr
    @MohitSharma-iy3qr Před rokem

    Amazing teaching luv you sir 💗

  • @testauto5245
    @testauto5245 Před 4 lety +1

    Thank you so much for this nice tutorial sir

  • @rajeevranjan3229
    @rajeevranjan3229 Před 6 lety +1

    I am going exception
    No backends were found. Please make sure you have a backend module on your CLASSPATH. can you help me

  • @darshanparab1064
    @darshanparab1064 Před 4 lety

    Can any one help me with this error when i try to run runner class as shon i video i get these error
    java.lang.IncompatibleClassChangeError: class cucumber.runtime.HookDefinitionMatch can not implement cucumber.runtime.StepDefinitionMatch, because it is not an interface (cucumber.runtime.StepDefinitionMatch is in unnamed module of loader 'app')
    at java.base/java.lang.ClassLoader.defineClass1(Native Method)

  • @sarikamishra9803
    @sarikamishra9803 Před 3 lety

    I am getting error cucumber.runtime.java.objectfactoryloader loadsingle object factory
    How to resolve this issue

  • @adamjoy8510
    @adamjoy8510 Před 2 lety

    Sir I have one doubt future files have there in maven project here right once we used one key word next time we used or not if we have any problem

  • @chipo9003
    @chipo9003 Před 3 lety

    Anyone tried this example with the latest version Cucumber 6.9.x and Junit 5.7.x?
    I have also followed several minimum libraries from the main Cucumber site and no luck. Perhaps this video needs updating to accommodate the newer versions in 2021?

    • @chipo9003
      @chipo9003 Před 3 lety

      See this new set of videos here: czcams.com/play/PLFGoYjJG_fqpObjigKg4bunu6_Ki7Ppn-.html

  • @ankitsachan1509
    @ankitsachan1509 Před 4 lety

    I have one question. @52.48 sec, you mentioned that from feature file, code will search for @Given annotation along with step name. As of now we do have only one step definition file. In large projects how does it work. Does it search in all the step definition files for respective method. Or is there any binding available where feature file knows in which step definition file, my methods are written.

  • @dronakaushik3840
    @dronakaushik3840 Před 3 lety

    I am just getting an error when i am trying to set the path for feature file, It says IllegalArgumentException Path must exist I am unable to find it on google as well, Please help