Selenium Integration with Cucumber BDD Tool

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025

ความคิดเห็น • 696

  • @kalyanirathod2488
    @kalyanirathod2488 7 ปีที่แล้ว +2

    Hello Mukesh,
    I just wanted to tell you THANK YOU VERY MUCH for all the knowledge you share with us. Truly, you are serving immensely to IT field. Once again, thank you very much. Stay always blessed and happy.

  • @komalgautam07
    @komalgautam07 8 ปีที่แล้ว +1

    Everytime I want to learn a new Topic I prefer your tutorials. thanks for the wonderful Job..👍

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thanks Komal :) I am glad you started Cucumber too . Stay updated with new tools.

  • @mushfiquazaman9597
    @mushfiquazaman9597 8 ปีที่แล้ว

    Hello Mukesh, I just wanted to thank you for this wonderful video. After trying several videos, this is the first time I am able to setup a Cucumber projects.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      +Mushfiqua Zaman Cheers mate

  • @harijanapareddy9797
    @harijanapareddy9797 7 ปีที่แล้ว +1

    Man you are just brilliant. I faced some issues before starting to watch this video and I just followed the step by step and it worked without any issues. Keerthi doing the great work man. Cheers

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      I am gald it worked for you Hari :) Keep learning.

  • @acchutdevkule7841
    @acchutdevkule7841 3 ปีที่แล้ว +7

    Even if this video is 5years old but still greatest of all videos

    • @Mukeshotwani
      @Mukeshotwani  3 ปีที่แล้ว +1

      This means alot to me @Acchut

  • @thesud7
    @thesud7 8 ปีที่แล้ว +1

    Really good and clear instructions on how to start with this. Appreciate it.
    I would also like some examples on how to manage different test regarding priority or dependency to other tests / features / scenarios.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      +chris zet Hi Chris yes i will upload soon. Keep watching.

    • @thesud7
      @thesud7 8 ปีที่แล้ว +1

      +Mukesh otwani thank you

  • @patils22
    @patils22 3 ปีที่แล้ว

    Thanks Mukesh. I am a beginner and face many issues trying to execute the scripts. Many a times even stack overflow doesn't come to the rescue. But have resolved many issues after watching your vidoes. Thanks once again.

  • @yashdewangan8450
    @yashdewangan8450 8 ปีที่แล้ว

    Hi Mukesh, your explanation is brilliant. I am beginner , learned step by step to run cucumber. thanks for your video.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Cheers Yash :) keep visiting

  • @deblinachatterjee8559
    @deblinachatterjee8559 8 ปีที่แล้ว

    Finally got the video i was searching for so long. U described it so well tht i did not face any problem to implement it.Thanks a lot. I regularly follow ur videos and now eagerly waiting for the next part of this topic. please show us the parameterization and other features . Want to know more details.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hey Deblina first of all cheers for your first cucumber program. Yes in future videos I have planned the same and more videos yet to come. Keep visiting and let me know if any help from my side.

  • @mahendrasonavane4335
    @mahendrasonavane4335 8 ปีที่แล้ว

    Hello Mukesh,
    Awesome explanation, really like it.
    You are helping lot others, thanks from others who are watching but unable to comment.
    Keep posting new videos.
    Thanks

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว +1

      +mahendra sonavane Hey Mahendra thanks Mate :) Some are very lazy to comment as well. Please try this from your side and let me know if any help from my side.

    • @mahendrasonavane4335
      @mahendrasonavane4335 8 ปีที่แล้ว

      +Mukesh otwani : your explanation is clear, and the best part in you, Explaining proper installation of any tool with steps and then scripting part .. i done the same my end within half hour .. thanks a ton :)

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      +mahendra sonavane Cheers

  • @sumitachoubey8821
    @sumitachoubey8821 8 ปีที่แล้ว

    Hi Mukesh...I found this video very informative . you have explained it very well. Thanks a ton!! waiting for more videos to come with other features of cucumber as well.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      hI sUMITA Your welcome. Keep visiting and will upload complete video series soon.

  • @sureshgarine
    @sureshgarine 7 ปีที่แล้ว

    This video is really helpful for my interview prep and learning new skills. Thank you so much.

  • @harshinig4961
    @harshinig4961 7 ปีที่แล้ว

    Great work Mukesh ! Your videos are very helpful for interview preparation. Thorough explanation and easy to understand. I've gone through other videos of you regarding Se, TestNG etc. Really appreciate it :)

  • @upendrad6081
    @upendrad6081 8 ปีที่แล้ว +1

    very clear explanation. awesome Mukesh

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      +Upendra D Thanks Upendra

  • @prash20052005noob
    @prash20052005noob 7 ปีที่แล้ว +1

    Clear explanation Mukesh . Thanks for the video. Please upload as many as you can. :)

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว +1

      Yes Prashanth will so soon.

  • @venkatavenkata5757
    @venkatavenkata5757 7 ปีที่แล้ว

    Hi mukesh... Thanks for posting such a wonderful video.. I wrote the script exactly what u explained in your video and It's working fine ...

  • @shammikadahanayaka2552
    @shammikadahanayaka2552 8 ปีที่แล้ว

    Your tutorials are very much helpful.. Please continue your knowledge sharing... :)

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      +shammika dahanayaka Hi Shammika your welcome keep visiting.

  • @aniketsamudra1374
    @aniketsamudra1374 8 ปีที่แล้ว

    Awesome, everything worked the way you have showed. Thanks a ton for the info, this help get started on cucumber

  • @PradeepChauhan17
    @PradeepChauhan17 5 ปีที่แล้ว +1

    Brilliant! Clear and concise what I wanted. thank you Mukesh.

  • @kirantherise1
    @kirantherise1 8 ปีที่แล้ว

    Hi Mukesh, Thank you.... Simple and understandable... Thank you and happy diwali in advance...

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thanks Kiran and Happy diwali to you and your family.

  • @testinginsights-muktasharma
    @testinginsights-muktasharma 7 ปีที่แล้ว

    Great video, Mukesh! Thank you for step by step explanation! its awesome!

  • @sankaranarayanan5700
    @sankaranarayanan5700 7 ปีที่แล้ว +1

    Very useful video ! Expecting a lot from you

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Thanks Sankar more yet to come.

  • @KishoreKrishnaM
    @KishoreKrishnaM 6 ปีที่แล้ว +1

    Crystal Clear Explanation.. Thanks Mukesh

  • @priyavijayakumar1509
    @priyavijayakumar1509 7 ปีที่แล้ว +1

    very informative video . . thanks a ton mukesh . .

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      +Priya Iyer Thank you 😊Priya
      Keep visiting

  • @Hello512
    @Hello512 7 ปีที่แล้ว

    Very clear explanation. Thank you Mukesh.

  • @nagagsalka5371
    @nagagsalka5371 8 ปีที่แล้ว

    Hi Mukesh,
    I don't know how to thank you for this video clip, it did really help me understanding java-cucumber
    I will repeat the example you demonstrate here in the clip, I will let you know if anything goes wrong (Hope NOT).
    regards
    Nagag S

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hope it will work without issues.:)

  • @shashank5025
    @shashank5025 4 ปีที่แล้ว

    U are just awesome bhai♥️ i just love to learn by watching ur videos!!👍

  • @varshathaker1056
    @varshathaker1056 8 ปีที่แล้ว

    Thanks a lot Mukesh.. You explain really well.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thanks Varsha :) keep visiting

  • @ramreddy433
    @ramreddy433 5 ปีที่แล้ว +2

    point to point .. Nice and clear.

  • @ayoo.mp3
    @ayoo.mp3 6 ปีที่แล้ว +1

    Much appreciate this video, easy to understand!

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hey Adilet Mamyrov I am glad you liked my tutorial . Keep learning and Sharing. Feel free to contact for any issues related to Automation.

  • @mariyabandi1774
    @mariyabandi1774 6 ปีที่แล้ว +1

    Wonderful video, very well explained with step by step ...Thanks a lot:)

  • @venuteepireddy4217
    @venuteepireddy4217 7 ปีที่แล้ว

    Very good explanation. Thanks, my friend.

  • @spiritualquest6092
    @spiritualquest6092 8 ปีที่แล้ว +1

    Excellent, tks for your time.

  • @jayaram059
    @jayaram059 6 ปีที่แล้ว

    Good Mukesh, Very nice explanation with good examples

  • @ramakamepalli1206
    @ramakamepalli1206 8 ปีที่แล้ว

    Man, Ur just an awesome guy, keep share the videos.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thanks Rama keep visiting,

  • @muthukumarekappan1185
    @muthukumarekappan1185 6 ปีที่แล้ว +1

    Dude, That was clear and concise. Thank YOU.

  • @nazeer1222
    @nazeer1222 8 ปีที่แล้ว +2

    Great!!!! Informative.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thansk Naz keep visiting.

  • @ZoeHillGale
    @ZoeHillGale 5 ปีที่แล้ว +1

    Very good tutorial! Excellent explanation!

    • @Mukeshotwani
      @Mukeshotwani  5 ปีที่แล้ว +1

      Thanks a ton Massiel 😀 Keep learning and let me know if any help required from my side.

  • @vasaviselenium8748
    @vasaviselenium8748 8 ปีที่แล้ว

    Awsome explanation.Thank you.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      +vasavi Selenium thanks vasavi

  • @ishankathus
    @ishankathus 7 ปีที่แล้ว

    I went through all the videos of this tutorial and really effective in terms of getting a good start in cucumber and selenium testing.
    Furthermore it would be excellent if you can demonstrate how we can have run prerequisite in features. As an example there would be a login feature and before that Registration should be executed. How to handle those in cucumber.

  • @jayasrireddyyengalareddy347
    @jayasrireddyyengalareddy347 6 ปีที่แล้ว

    All I can say is loads and loads of thanks it is very clear vedio

  • @sumathakn4359
    @sumathakn4359 7 ปีที่แล้ว +1

    Very helpful video:-)

  • @salvadorgleznolasco5983
    @salvadorgleznolasco5983 7 ปีที่แล้ว

    It was a very useful tutorial, thanks

  • @karthiksurvepalli5695
    @karthiksurvepalli5695 8 ปีที่แล้ว

    explanation is amazing!!!

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Thanks mate

    • @karthiksurvepalli5695
      @karthiksurvepalli5695 8 ปีที่แล้ว

      Hey mukesh pls let me know LinkedIn of you to follow...mine is karthik survepalli....

  • @tiagonobilis
    @tiagonobilis 5 ปีที่แล้ว +1

    Very nice! Excellent class...

  • @manojkumarrajasekar2833
    @manojkumarrajasekar2833 7 ปีที่แล้ว +1

    Thanks mukesh, this is really helpful.

  • @bhupathiraj8143
    @bhupathiraj8143 6 ปีที่แล้ว +1

    Very useful. Thank u buddy Mukesh.

  • @ciarab3154
    @ciarab3154 7 ปีที่แล้ว +1

    Thanks mukesh...this tutorial helped a lot..

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Most welcome Ciara :) I am glad it helped you..

  • @rajkumars4413
    @rajkumars4413 6 ปีที่แล้ว +1

    Please restore the jar file in your google drive.. Simply well explained..thanks

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Thanks Raj sure I will do today.

  • @prashantj7839
    @prashantj7839 6 ปีที่แล้ว +1

    THis is a great tutorial. Appreciate all your efforts, however please note that 'Cucumber' should be pronounced as 'Q- cum- ber' and not 'ku-kum-ber'

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Thanks Prashant for nice feedback. I must agree that I am very bad in pronunciation 😬

  • @amitbhardwaj7824
    @amitbhardwaj7824 4 ปีที่แล้ว +1

    nice video keep uploading bro good job

    • @Mukeshotwani
      @Mukeshotwani  4 ปีที่แล้ว

      Feel free to connect with me for any issue in Cucumber

  • @debasismohanty997
    @debasismohanty997 8 ปีที่แล้ว +1

    Hi Mukesh am very happy after go through your videos.its realy helpfull.suppose i have a large number of data instead of writting in Examples can we use apache poi to fetch those data in cucumber???do you have any video for this???

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hi ,
      here you go www.seleniumframework.com/cucumber-jvm-3/data-driven-framework-with-excel/

  • @manjunathmadineni2312
    @manjunathmadineni2312 7 ปีที่แล้ว +1

    Hi mukesh
    Thanks for the videos of Cucumber and
    are these videos enough for getting a job or still i need to know more about cucmber

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Hi Manju,
      Once you done with below topics then you will be ready with Cucumber
      www.seleniumframework.com/cucumber-jvm-3/cucumber-jvm-and-selenium/

  • @amrendrakumar4280
    @amrendrakumar4280 7 ปีที่แล้ว

    Really Helpful video.Thank you!!

  • @dineshahuja848
    @dineshahuja848 8 ปีที่แล้ว +1

    Really amazing Mukesh :) But i'm little bit confused if selenium is there then why we should use cucumber ? any additional feature available in Cucumber apart from specifying feature,scenario and steps. Because at the end you're integrating the Cucumber with selenium itself. Would be helpful if you clarify this :) Thanks a lot for sharing the such useful information with everyone :) Cheers.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว +1

      +Dinesh Ahuja Hi Dinesh BDD will make test easy to understand for everyone. Selenium test is in pure java code which is hard for business users to understand.
      BDD main intension is to make requirement clear in plain english for client developer and tester.

    • @dineshahuja848
      @dineshahuja848 8 ปีที่แล้ว

      Thanks mukesh for explanation :)

  • @rajeevkommana1990
    @rajeevkommana1990 8 ปีที่แล้ว +1

    Thanks so much mukesh

  • @stevenclark1973
    @stevenclark1973 8 ปีที่แล้ว

    Great video. It is likely that I would need to know anymore about cucumber & Gherkin for an automated testing job or are these fundamentals pretty much the standard being used for most clients? Thanks

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Yes Steve For Cucumber you just need small information about Gherkins and all cucumber concepts. This is just as an example but in industry we have to create some robust framework to handle complex scenarios.

  • @justin-George
    @justin-George 6 ปีที่แล้ว +1

    Nice video and well explained (y)

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Thank you so much Justin

  • @arivuselvant2243
    @arivuselvant2243 6 ปีที่แล้ว

    Well explained..many thanks!

  • @oldstylegaming
    @oldstylegaming 7 ปีที่แล้ว

    Really good thankyou :-)

  • @bhaveshsachanandani5704
    @bhaveshsachanandani5704 8 ปีที่แล้ว +1

    Hello Mukesh, It was a nice video giving overview of Cucumber. Thanks for the info, however there few drawbacks associated with it like learning a new language Gherkin,etc. Can we also run it using TestNG framework instead of JUnit? Also please share a video on test results integration with cucumber. Thanks...

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hey Bhavesh, as of now only Junit supported by Cucumber lets wait for TestNG :) and For Gherkins only you need to understand some keywords that all.

    • @bhaveshsachanandani5704
      @bhaveshsachanandani5704 8 ปีที่แล้ว +1

      Thanks Mukesh.. :)

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Welcome mate

  • @PraveenTata16
    @PraveenTata16 7 ปีที่แล้ว +1

    Hi Mukesh,
    I noticed cucumber-testng dependecy on the Maven website as well.
    I tried using it, but as we have to use @RunWith(Cucumber.class) --> this imports JUnit package.
    Can you please make a video on using TestNG with Cucumber? It will be of great help.
    I will also try more to find out about its use.
    Thanks.

  • @sunilpothugunta2496
    @sunilpothugunta2496 8 ปีที่แล้ว +1

    Hi Mukesh
    Nice explanation i have few questions here
    1. How to execute the multiple feature files one by one
    2. How could we prioritize the feature files for executing in sequence
    Kindly let me know possible to solutions

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hi Sunil,
      Please find my comments inline.
      1- You can give feature file using @Tag which will run scenario based on your requirement.
      2- This I have to check as of now I am using @Tags to run

  • @dammarie
    @dammarie 5 ปีที่แล้ว +3

    Hi , small update from this video, use @CucumberOptions instead of @Cucumber.Options as Cucumber.Options seems deprecated. Good work Mukesh thank you so much.

    • @Mukeshotwani
      @Mukeshotwani  5 ปีที่แล้ว

      Thanks @Raj yes I agree Cucumber.Options deprecated after 1.2.4

    • @shivam_methi
      @shivam_methi 5 ปีที่แล้ว

      Hi @Raj, I'm facing some problem. If you cqn help me

  • @venkatreddy9007
    @venkatreddy9007 8 ปีที่แล้ว +2

    Hi mukesh I really like ur videos....I have a question....for example if we have 10 scenarios in the feature file I want to execute only one scenario fro test runner....how we will do it....please clarify

    • @erlanbeisen9981
      @erlanbeisen9981 8 ปีที่แล้ว +1

      You need to use annotations. and in Runner class use --> @CucumberOptions(tags={"@Smoke"}). So it`s run only that feature file or Scenario, depends where are you going to put that annotation.

    • @venkatreddy9007
      @venkatreddy9007 8 ปีที่แล้ว +1

      Thanks for ur reply Erla....
      Smoke is the feature file, if we want to execute only one scenario in smoke what has to be done

    • @erlanbeisen9981
      @erlanbeisen9981 8 ปีที่แล้ว +1

      Just write an annotation before Scenario:
      @youCanGiveAnyNameToThisAnnotation
      Scenario: As user I should be able to log in with vilid credentials
      Given I`m on amazon home page...
      And in the runner class:
      @CucumberOptions(tags={"@youCanGiveAnyNameToThisAnnotation"})

    • @venkatreddy9007
      @venkatreddy9007 8 ปีที่แล้ว

      Got it thanks a lot....

  • @khinchichandra
    @khinchichandra 8 ปีที่แล้ว +1

    Hi Mukesh, your video is very useful. Could you please guide me where can i get all required JAR files. Thanks

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Jar link i have given in video description.

  • @sanjaysaxena5893
    @sanjaysaxena5893 7 ปีที่แล้ว

    Grate help! Appreciated.

  • @MicheliCunha
    @MicheliCunha 7 ปีที่แล้ว

    thanks for share Knowledge ;)

  • @bikramdhimal9285
    @bikramdhimal9285 5 ปีที่แล้ว +1

    You are amazing.

  • @vinitaarya9760
    @vinitaarya9760 7 ปีที่แล้ว +1

    Hi Mukesh, Can we have the Test Runner class and Step Definition class in the same package?

  • @MrJitendraparate
    @MrJitendraparate 7 ปีที่แล้ว +1

    Hi Mukesh,, can you please post videos on jbehave framework with serenity

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      +jitendra parate sorry jitendra I have worked on these tools till now

  • @davidvasanthraj
    @davidvasanthraj 8 ปีที่แล้ว +1

    Hi Mukesh... thank you for the great video,
    If i have more than one ".Features files" in the same folder, but I'm interested in specific ".Features file", do we need to give the complete path of that .features files example : (@CucumberOptions(features="Features/ProfilePage.features")) ??

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว +1

      Hi David you can give specific file path as well to run test.

  • @nitishbhardwaj6597
    @nitishbhardwaj6597 7 ปีที่แล้ว +1

    Hi Mukesh ,
    I am getting exception "Exception in thread "main" cucumber.runtime.CucumberException: No backends were found. Please make sure you have a backend module on your CLASSPATH." Please suggest. Unable to execute scripts

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Hi Nitish,
      Try with maven th-cam.com/video/WYdTkTzGFxE/w-d-xo.html

  • @PankajSharma-tl1hh
    @PankajSharma-tl1hh 8 ปีที่แล้ว +1

    Hi Mukesh ,
    First of all thanks for providing this info about Cucumber. i have a quick question about Cucumber that , does Cucumber provide any kind of certification if yes could you provide some info on that as well .
    Thanks
    Pankaj

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      HI Pankaj for Selenium and Cucumber we dont have certifications. All are open source.

    • @PankajSharma-tl1hh
      @PankajSharma-tl1hh 8 ปีที่แล้ว

      Thanks Mukesh ..

  • @OmarOUTABARINE
    @OmarOUTABARINE 7 ปีที่แล้ว +1

    Thanks Mukesh, What about if we want to use the Cucumber Gherkin (given, when, then) in other language, do you have any idea ?

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Sorry Omar I worked on JAVA only.

    • @OmarOUTABARINE
      @OmarOUTABARINE 7 ปีที่แล้ว

      Okay Mukesh, I have another question, I tried to follow your tuturial to integrate Maven Cucumber projet with Jenkins, but when I run the build I have this following errorn do you have any idea?
      Executing Maven: -B -f C:\CWorkSpace\olaf.cucumber.selenium\pom.xml clean install
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      at hudson.remoting.Request$2.run(Request.java:336)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoSuchFieldError: DEFAULT_USER_SETTINGS_FILE
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.settings(DefaultMavenExecutionRequestBuilder.java:658)
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.getMavenExecutionRequest(DefaultMavenExecutionRequestBuilder.java:149)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.getMavenExecutionRequest(Maven33Launcher.java:150)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:127)
      ... 21 more
      ERROR: Echec à la lecture des POMs
      java.io.IOException: java.lang.reflect.InvocationTargetException
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:179)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      at hudson.remoting.Request$2.run(Request.java:336)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      at ......remote call to Channel to Maven [C:\Program Files\Java\jdk1.8.0_111/bin/java, -cp, C:\Users\ooutabar\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-agent-1.8.1.jar;C:\automatisation\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar;C:\automatisation\apache-maven-3.5.0/conf/logging, jenkins.maven3.agent.Maven33Main, C:\automatisation\apache-maven-3.5.0, C:\Users\ooutabar\.jenkins\war\WEB-INF\lib
      emoting-3.7.jar, C:\Users\ooutabar\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-interceptor-1.8.1.jar, C:\Users\ooutabar\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.8.1.jar, 58680](Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      at hudson.remoting.Channel.call(Channel.java:830)
      at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:161)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:873)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1728)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:405)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      at hudson.remoting.Request$2.run(Request.java:336)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
      at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:179)
      ... 14 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      ... 14 more
      Caused by: java.lang.NoSuchFieldError: DEFAULT_USER_SETTINGS_FILE
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.settings(DefaultMavenExecutionRequestBuilder.java:658)
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.getMavenExecutionRequest(DefaultMavenExecutionRequestBuilder.java:149)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.getMavenExecutionRequest(Maven33Launcher.java:150)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:127)
      ... 21 more
      channel stopped
      Finished: FAILURE

  • @hhpatel
    @hhpatel 8 ปีที่แล้ว +1

    Hi Mukesh,
    It seems that the link for Jars is pointing to other location so jars are no more available . Can you point me to right location please?

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      It is pointing to the correct location. drive.google.com/drive/folders/0B5v_nInLNoqualhZWHk3eGFfd0k

  • @sunilk.c5367
    @sunilk.c5367 8 ปีที่แล้ว

    Thank you very much Mukesh for this easy tutorial. Very helpful. Need small clarification on this tutorial, as we have executed Smoke test case from stepDefination by providing path in test runner. When I need to run other test cases in stepDefination, where to provide the path of those test case in testrunner? Thanks and Regards. Sunil

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Sunil if you mention feature file path then it will run all feature file and if you want to run specific feature file then we can use tags in Cucumber

    • @sunilk.c5367
      @sunilk.c5367 8 ปีที่แล้ว

      +Mukesh otwani , Hi Mukesh, thank you for your answer

  • @ramphalke5775
    @ramphalke5775 6 ปีที่แล้ว +1

    Thank you very much , Very useful video for me.
    Also can you please let me know from where I can get the updated/latest jar files for cucumber? Actually there are lot of links but which one you will prefer?

    • @Mukeshotwani
      @Mukeshotwani  6 ปีที่แล้ว

      Hi Ram try with maven to avoid jar issues th-cam.com/video/WYdTkTzGFxE/w-d-xo.html&list=PL6flErFppaj1Ogn82-OINRkPwoieZ2dEX&index=4

  • @baluvideos
    @baluvideos 8 ปีที่แล้ว

    Thanks a lot Mahesh. It was really useful session on cucumber integration., Much appreciated
    I have a complex web application. I started using selenium
    can you clarify on how to go with - how many cucumber scenario files can be used? what is the best practice
    Also can I skip few scenarios during execution from the feature file having 'n' no. of scenarios ?

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hi Balu, Yes you can do that using Tag in feature file. I will try to upload video on this.

  • @lakshmiay4986
    @lakshmiay4986 7 ปีที่แล้ว +1

    Hi mukesh ,
    Could you please clarify the following :
    Along with these jar files ,do we need to add cucumber plugin via eclipse help menu ?
    Thanks

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Yes it would be good if you will install it will help you to understand keywords properly.

    • @saiedtrefi5487
      @saiedtrefi5487 7 ปีที่แล้ว

      Thank you man, I solve the problem
      I just need to install the last update

  • @shubhambhatnagar6209
    @shubhambhatnagar6209 7 ปีที่แล้ว

    Hi mukesh,
    kindly let me know why we use cucumber in our project n its advantage over testng with selenium. also let us know use of feature file

  • @anamikarai5766
    @anamikarai5766 5 ปีที่แล้ว +1

    the code that you are copying from console window at 23:30 is not displayed for me. is there anything missing from my side

    • @Mukeshotwani
      @Mukeshotwani  5 ปีที่แล้ว

      Hi Anamika,
      Please check below thing if glue code is not generated
      1- Installed the latest plugin
      2- Feature file should be in proper format
      3- Use latest cucumber jars
      Please try with all above and if is still not done then let me know.

  • @manoramasingh4407
    @manoramasingh4407 8 ปีที่แล้ว

    Hie Sir
    Could you please tell me which version of Firefox you are using.Actually I have written everything as explained by you in this video.Downloaded jar files from your drive and selenium standalone jar to...Then also program is not running
    {
    java.lang.NullPointerException
    at stepDefination.SmokeTest.Open_firefox_and_start_application(SmokeTest.java:15)
    at ?.Given Open firefox and start application(MyApplication.feature:3)}

  • @sudeepchodankar1789
    @sudeepchodankar1789 8 ปีที่แล้ว +1

    Hi Mukesh,
    I followed the exact steps as given. When I run my test using Run As, in Console I am not able to get any of the messages as you got. But still of left hand side panel everything is passed but there is nothing to expand after the Scenario(In your case you got Given, When and Then).
    As there is no error message i am not able to figure out what could have gone wrong.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Can u run maven clean maven test

  • @parib1407
    @parib1407 6 ปีที่แล้ว +1

    Hi Mukesh.. your videos on Cucumber is of great help for beginners.. But i have a question here.. Is it possible that we can use Cucmber integrated with Selenium along with TestNG..??

  • @lovenishist
    @lovenishist 8 ปีที่แล้ว

    hi mukesh,
    when i am trying to run my programm as a junit then it is showing me result till scenario not getting the result of (given,when,then)

  • @xoda345
    @xoda345 5 ปีที่แล้ว +4

    hey Mukesh, u did not use System.setproperty to set the path of chrome driver executable. How does it work without it?

    • @Mukeshotwani
      @Mukeshotwani  5 ปีที่แล้ว +1

      Hi Swarup, If you set driver folder in path variable in windows, then no need to give in test scenario.

    • @xoda345
      @xoda345 5 ปีที่แล้ว +1

      @@Mukeshotwani do we need to create separate path variable in environment settings? Is that what you are saying?

  • @garvitakhare8940
    @garvitakhare8940 8 ปีที่แล้ว +1

    Hello Mukesh,thanks for all the efforts you are putting,i m learning automation through your videos only ,I jz need one help,i need the exact syntax for feature file plugin which I can directly copy paste in pom.xml as I not getting one

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว +1

      Hi Garvita as of now I dont have any post on this but soon I will create and publish :)
      Happy new year.
      learn-automation.com/integration-of-cucumber-with-selenium-webdriver/

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Try with maven project th-cam.com/video/WYdTkTzGFxE/w-d-xo.html

  • @selerao319
    @selerao319 8 ปีที่แล้ว

    Hi Mukesh, Thanks for the tutorial, it is really informative, I wanted to know can we use Selenium +Cucumber with SQL validation, eg. If i want to validate the ui elements from database, can this be done from Cucumber or Selenium, If Cucumber please let me know how to do the same or some pointers for the same.

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hi Sele, It's an interesting question. Yes we can do that and we can make DB connection using Java and rest code will remain same.th-cam.com/video/CjNqKlTluxc/w-d-xo.html

  • @KnightTraders
    @KnightTraders 7 ปีที่แล้ว

    Hi Mukesh,
    Thanks for such a good videos.
    I have a question, after running the feature file, an exception message as "Exception in thread "main" cucumber.runtime.CucumberException: No backends were found. Please make sure you have a backend module on your CLASSPATH.". But as per your video there should be nothing in console. Can you please post your suggestion.

  • @manaspradhan2166
    @manaspradhan2166 8 ปีที่แล้ว

    Hi Mukesh, i like the video very much..thanks
    one help...could you pls tell where we can download the cucumber jars...

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hi Manas Chek drive.google.com/folderview?id=0B5v_nInLNoqualhZWHk3eGFfd0k&usp=sharing

  • @windakristianaGirlPower
    @windakristianaGirlPower 8 ปีที่แล้ว +1

    I have been try your video,
    when i run as cucumber in the feature, the gherkin is not run . I found issue " no definition found" can you help me ?

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Hi,
      Can you please run the same from TestRunner.

  • @sivakumarmummidi6730
    @sivakumarmummidi6730 6 ปีที่แล้ว

    really enjoyed ur video

  • @automationexpert8714
    @automationexpert8714 6 ปีที่แล้ว +1

    Thank you very much Mukesh

  • @priyankanilakhe2359
    @priyankanilakhe2359 7 ปีที่แล้ว

    Hi Mukesh,
    Thanks for videos :)
    could you please mention the site from where we can get latest cucumber all jars required?

  • @chetansahu5629
    @chetansahu5629 6 ปีที่แล้ว +1

    As i see you added junit jar file ,i'm wondering why didn't you use TestNg instead ?

  • @srilakshmivishnupriyachodi8109
    @srilakshmivishnupriyachodi8109 7 ปีที่แล้ว +1

    Hi, After setting up the BDD cucumber framework in Eclipse jee Neon and after creating the feature file getting the error on feature file "
    "mismatched input '' expecting 'Feature:" How to fix this could you please suggest

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Hi Priya,
      Try with maven to fix this issue th-cam.com/video/WYdTkTzGFxE/w-d-xo.html

  • @Connect2Educate-RamGupta
    @Connect2Educate-RamGupta 7 ปีที่แล้ว +1

    Hi Mukesh, I am getting below error-- cucumber.runtime.CucumberException: java.io.FileNotFoundException: C:\Users
    am%20gupta\.m2
    epository\info\cukes\cucumber-java\1.2.2\cucumber-java-1.2.2.jar (The system cannot find the path specified)
    Please advise

    • @Mukeshotwani
      @Mukeshotwani  7 ปีที่แล้ว

      Hi ram can u try this with Maven project.

  • @suryakantchavan7061
    @suryakantchavan7061 8 ปีที่แล้ว

    Thanks you brother

    • @Mukeshotwani
      @Mukeshotwani  8 ปีที่แล้ว

      Welcome Surya. Hope you have implemented the same in your machine.

  • @kp-ps7wi
    @kp-ps7wi 6 ปีที่แล้ว +1

    Hi . I am getting error on @Cucumber.Options() as cannot be resolved to a type.