#3 - Cucumber (BDD) with Java - Write your first

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • #CucumberBDD #Gherkin #NaveenAutomationLabs
    In this video, I have explained what is Cucumber, how to setup Cucumber Junit Maven Project along with Feature files.
    Cucumber (BDD) with Java - Write your first Cucumber Test with Feature File.
    Full Cucumber 6 latest 2020 videos - playlist: • Cucumber BDD Framework...
    Learn:
    Cucumber Plugin in Eclipse
    What are the different components of Cucumber
    How to create a Feature file in Cucumber
    How to create step definition file mapping with feature file
    What is Gherkin DSL Language
    How to run feature file using Cucumber Test Runner
    You can download the Cucumber Eclipse Plugin:
    cucumber.githu...
    Cucumber Java Skeleton Repo:
    github.com/cuc...
    ~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    www.youtube.co...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
    t.me/joinchat/...
    Paid courses (Recorded) videos:
    naveenautomati...
    For Java & Selenium - naveenautomatio...
    For API (Manual + Automation) - naveenautomatio...

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

  • @saif-gn7qr
    @saif-gn7qr 3 ปีที่แล้ว +96

    I do not skip ads. This is my way of paying you back for your hard work and knowledge sharing

    • @evieranawat4480
      @evieranawat4480 3 ปีที่แล้ว +6

      What? You tube works like this? If we don't skip ads then only he will get paid🤔
      @naveen plz confirm then I'll do the same.

    • @naveenautomationlabs
      @naveenautomationlabs  3 ปีที่แล้ว +31

      Yes that's true.

    • @ankitajoshi2104
      @ankitajoshi2104 3 ปีที่แล้ว +17

      This is the best way to tell him Thanks :-)

    • @saif-gn7qr
      @saif-gn7qr 3 ปีที่แล้ว +6

      Install video speed controller and play the ad completely without skipping it. You save your time and your tutors get what they deserve.

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

      Thank you very much Naveen for your efforts and helping us to learn in our daily basis life
      How the famous people say
      >>
      And we are full filling that routine with Naveen's TH-cam channel

  • @rajshekhar8614
    @rajshekhar8614 2 ปีที่แล้ว +1

    Your just awesome Naveen ...beacuse of you I got job in IT ...I pray to God 🙏 for your healthy life and prosperous life

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

    hi naveen iam trying very hard to get job in automation though i didnt had chance to work on it before in my project, from your videos am learning it and it really helps me in interview bless me

  • @savitadighade6749
    @savitadighade6749 3 ปีที่แล้ว +2

    Thank you for sharing so much of knowledge. I have learnt java and selenium by watching your tutorial. You have explained each and everything in the most simplest way. Thank You
    Waiting for your next tutorial on Serenity BDD

  • @oshinjain1130
    @oshinjain1130 2 ปีที่แล้ว +3

    Hi Naveen, Your videos and content are really amazing. You travel from beginners to experienced level with such consistency that it is never difficult understanding any concepts whatsoever. Whenever i have to search videos for any topic i always prefer searching if you have videos on the same topic and my preference will always be your videos

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

    Best videos you will find in you tube for any automation topic... Naveen is rockstar 👍

  • @amnarao6342
    @amnarao6342 3 ปีที่แล้ว +2

    Hi Naveen, Hats off ..the kind of content you have provide across this series.. Please start a new series on API automation as most of the channel doesn't have any proper way of API automation

  • @syedsalmanahmed8430
    @syedsalmanahmed8430 3 ปีที่แล้ว +2

    hi, Naveen that a lot your videos are ready helpfully to learn anything in automation. The way you explain the thing is perfect. keep on your work like this .

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

    Thank you Brother, you explained extremely well. Salute to you !!!

  • @testinginsights-muktasharma
    @testinginsights-muktasharma 3 ปีที่แล้ว +5

    Thank you for all the hard-work that you put in each and every video you create for your viewers/students. 🙏 Bythway,when is next bloopers video coming 😄

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

    Best explanation with all basics,Thank you sir.

  • @deepika9864
    @deepika9864 2 ปีที่แล้ว +1

    I am doing the same, I am not all skipping ads, a little payback from me to you naveen bro☺️

  • @YashTech_Guru
    @YashTech_Guru 3 ปีที่แล้ว +2

    Get learning Naveen,your each videos really motivated to doing best in our work

  • @supriyassampath1419
    @supriyassampath1419 3 ปีที่แล้ว +2

    Thank you so much for sharing your knowledge.. god bless you

  • @anamzahra8538
    @anamzahra8538 ปีที่แล้ว

    perfectly expalined .. you are doing amazing !! Thanks

  • @kailashpathak8906
    @kailashpathak8906 3 ปีที่แล้ว +2

    Thanks Naveen for sharing such a nice video !

  • @sheemafarheen6226
    @sheemafarheen6226 หลายเดือนก่อน

    Hi Naveen, Could you please make a video on how to set up Cucumber in Eclipse with Java(latest). There have been many changes in the plugins and the sites used to install these plugins, since your last video.
    Your videos are really helpful, Thank You.

  • @shabnam7039
    @shabnam7039 3 ปีที่แล้ว +2

    Thanks, Naveen very informative. Can you please make a video with cucumber using Lambda expression. it will be really helpful. awesome video

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

    Awesome Naveen .Thank you for sharing this video.

  • @shailweb07
    @shailweb07 3 ปีที่แล้ว +2

    A very good way to explain :) Keep it UP.

  • @srikanthc5419
    @srikanthc5419 2 ปีที่แล้ว +1

    Thank you sir , it was really helpful

  • @vicky1577
    @vicky1577 3 ปีที่แล้ว +4

    Hi Naveen,
    I have updated my cucumber plugin but when I create a new feature file
    It is not having auto-generated feature file steps.

    • @bsamant80
      @bsamant80 2 ปีที่แล้ว

      for me as well, did u find any solution?

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

    Great...!!
    Can you please start the Selenium with csharp tutorials...! It would be a great help for us.
    Thank you...

  • @aniketkharde1766
    @aniketkharde1766 ปีที่แล้ว

    Hello naveen, cucumber eclipse plugin is not working... I tried with your way also.. It still not working.. It showing error like Cannot complete the install because one or more required items could not be found.

  • @skillsandthrills7054
    @skillsandthrills7054 ปีที่แล้ว

    why we have to change class name (Amazon Test runner) to Amazon TEst to see the detailed. output in maven? Its just clas name right ?

  • @vasanthagajaraj1997
    @vasanthagajaraj1997 3 หลายเดือนก่อน

    Hi Naveen, Awesome videos and Thanks to it, One doubt is there maximum limit of Example like different Column Header wise?
    Thanks

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

    @naveen. I followed the same steps however when i run my feature i am getting the below warning and not getting the usual suggestions of creating steps in step definition file and is blank in the console
    Below is what i see in the console:
    Nov 22, 2020 1:41:06 PM cucumber.api.cli.Main run
    WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main
    Scenario: Launch Google and validate title # src/test/java/AppFeatures/Launch.feature:21
    0 Scenarios
    0 Steps
    0m0.191s

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

      @Naveen im also facing the same issue any solution for that.

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

    When I put pretty in the plug-in, instead of pretty colors it came out as ?[32m] given etc…. Just random chars instead of colors. What am I missing?

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

    Thank u.. No words.. For your help.. Sir..

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

    Hey Naveen...your videos are amazing and i like the way you teach from the beginner level. Can you please put some videos on protractor with cucumber framework...

  • @Homemadefoodsbyveena
    @Homemadefoodsbyveena ปีที่แล้ว

    Correct me if am wrong ...feature files should be created under project not under src/test/java....it is a file not a package....

  • @AffairWithGeo
    @AffairWithGeo ปีที่แล้ว

    Whats the purpose of creating Product and Search Class, what is the beniefit of it?

  • @ShaheenaS-ug1mg
    @ShaheenaS-ug1mg ปีที่แล้ว

    Hi Naveen, you have told to configure run configuration for feature file but when i right click on featurefile >run configure> i dont get option for cucmber feature in that create manage and run config window...how to proceed? plz guide

  • @sireeshalvs3480
    @sireeshalvs3480 ปีที่แล้ว

    Hi Naveen,
    When I run a feature file, I am getting below issue
    Error: Could not find or load main class cucumber.api.cli.Main
    I tried to fix this by updating cucumber dependencies in pom.xml and setting class path, path variables but nothing is working.
    Can you please guide what can be done ?

  • @pallavisharma8671
    @pallavisharma8671 2 ปีที่แล้ว

    Thanks Naveen , I was able to create feature files and run through . But when I tried to run the feature files through Testrunner I am stucked there . Can you guide me what correct Jar files and changes needs to be done in the POM.xml . I tried alot but it is giving me initialization error etc .

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

    Was Eagerly waiting for this series... Naveen i had one error coming while integrating it with Bamboo.. Chrome driver is not executable and crhome driver exited abnormally.

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

    Hi Naveen,
    @15min in the video, while I am creating Search. feature file, it is not showing the details inside the file. It looks like properties file only.
    I imported cucumber plugins into the project.
    Can you please tell me where I am going wrong?

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

    Hi Naveen,
    I see cucumber installed under installed section of marketplace. As I attempt to create feature file I am getting a pop up window that you showed and as I select Ok > marketplace opens but empty. I uninstalled and installed cucumber plugin > restarted eclipse but my feature file is being created as regular Text Editor. Please help!

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

    Earlier we used to execute test cases by running Runner class. Now we are executing it with featurefile. What is the difference? and what if we want to execute with Runner class.

  • @snehabhalerao8017
    @snehabhalerao8017 ปีที่แล้ว

    Hi Naveen,
    pom.xml does not look similar on GitHub as shown in the video. Because of differences in the file getting errors in eclipse.

  • @Rahul_0637br
    @Rahul_0637br 2 ปีที่แล้ว +1

    Hi Naveen. Please answer my question.
    My manager told me to learn cucumber as the new project is on Cucumber Framework.
    Can you please tell what else i have to study. Is selenium enough? Or should i learn Testng , maven and other concepts?

    • @naveenautomationlabs
      @naveenautomationlabs  2 ปีที่แล้ว

      Yes you have to learn cucumber, selenium, testng and maven.

  • @stefan8193
    @stefan8193 2 ปีที่แล้ว

    Is there any way that I can transfer test cases from test lodge directly to feature file without just rewriting it? Doing parse of JSON or something like that?

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

    @Naveen in your playlist there is already cucumber playlist with junit, i already learnt that 1 year ago, is this series is different from that?

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

      This is with latest cucumber version 6 having more features as compared to older one.

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

    Hi Naveen,
    I am not getting steps when i just execute my feature file. Below is the error
    "Error: Could not find or load main class cucumber.api.cli.Main"

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

      Were you able to resolve

    • @poohbear4226
      @poohbear4226 2 ปีที่แล้ว

      Hi Riya,
      I am facing the same issueas you mentioned. Can someone please help us to resolve this.

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

    Hi Naveen for me Feature file is not highlighting with Gerkin keyword, it shows as plain text, even I can not run my feature file also. I have installed cucumber plugin and included all the dependencies also. dont know what is the issue

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

    Great explanation Sir.. Thank you

  • @nagendrakumar.s4140
    @nagendrakumar.s4140 2 ปีที่แล้ว

    Hi Naveen , i have question do we need both selenium standalone serve and selenium java jars.What is the main importance of these two ?

  • @nahidasultana6842
    @nahidasultana6842 ปีที่แล้ว

    Thanks for the tutorials, when I copy-paste the methods it gives me @Given errors and does not give me the import options. if I manually write import still errors are there. any suggestion?

  • @harshitsachdeva4836
    @harshitsachdeva4836 ปีที่แล้ว

    I was autowiring one service class in stepdefinition file that was giving error to me-error creating bean with name

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

    Hi Naveen, why you created Constructor for the Product class , is there any way we can do it without creating constructor

  • @avinashkunapareddy7429
    @avinashkunapareddy7429 2 ปีที่แล้ว

    Hi Naveen,
    Which programming language is better to integrate cucumber with selenium? Either Java or Javascript?

  • @chaitanya424modela
    @chaitanya424modela ปีที่แล้ว

    Every thing is good...could u plz explain us if I want to pass list of values as parameter or a single parameter send as dynamically instead of static values...how could I do that..

  • @abhilash6200
    @abhilash6200 ปีที่แล้ว

    Hi Sir, console shows build as success where tests are not being executed in my case with cucumber >6.8.1 and junit 4...i am so happy that out of 20 videos I watched u r only 1 using io.cucumber

    • @abhilash6200
      @abhilash6200 ปีที่แล้ว

      I need your help sir please let me know how to contact u

  • @nitya8406
    @nitya8406 2 ปีที่แล้ว

    Thank you so much for the great series. Can you please help me to solve the below,
    Empty Console when i am running Test Runner class as JUnit Test. But getting results in Console, running the feature file as Run As -> Run Config

  • @sweetthirty2
    @sweetthirty2 2 ปีที่แล้ว

    Sir can we write background keyword or scenario outline at the bottom of the feature file?? doest it throw any error asked in recent interview

  • @jeelanalikhan8086
    @jeelanalikhan8086 2 ปีที่แล้ว

    Hello Naveen,
    Thanks for this tutorial. I find it very useful. On following the same steps I could not execute the test runner class as it shows 0 class executed in the Junit tab, but I am to execute it from the maven commands and it displays the result as Build Success. Can you please help me resolve the issue.

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

    Then : expected results, when should I use this "given , when and " keywords?

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

    Hi Naveen, I am using java 11, but the maven java version is 1.8 means java 8 so will I be able to execute the test run here?

  • @vinodkumar-uu4gi
    @vinodkumar-uu4gi 3 ปีที่แล้ว +1

    Hi, I am getting this error while running the feature file alone without the step definition file "Error: Could not find or load main class cucumber.api.cli.Main". Can anyone help me with this?

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

      I am also getting the same. If you were able to resolve it, could you please share how?

    • @GauravSingh-zp2lc
      @GauravSingh-zp2lc 3 ปีที่แล้ว

      resolve hua ?

  • @swetaraju-kp3vf
    @swetaraju-kp3vf 4 หลายเดือนก่อน

    Hello thanks a lot for posting this video's very helpful.. i wanted to check if you could help or add some recordings for connecting and running mongo queries using BDD framework please

  • @appupruthvi8558
    @appupruthvi8558 2 ปีที่แล้ว

    @Naveen - I am getting initialisation error while running junit on cucumber runner class file. Can you please help

  • @karanatreya7314
    @karanatreya7314 ปีที่แล้ว

    Getting this error when trying to install cucumber eclipse plugin -
    Any help please .
    An error occurred while collecting items to be installed
    session context was:(profile=D__ECLIPSE_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    Result of processing steps.
    OK
    OK
    OK
    Public key not found for 810cecf8ba271008.
    OK
    Result of processing steps.
    OK
    OK
    OK
    Public key not found for 810cecf8ba271008.
    OK

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

    Hi Naveen...in console I don't get any green format(colour full formatted))

  • @SandeepKumar-ce8dp
    @SandeepKumar-ce8dp 3 ปีที่แล้ว +2

    Thanks Naveen

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

    Hi Naveen...Only this video is fast ...otherwise all selenium and java series are awesome.

  • @anygamer2792
    @anygamer2792 ปีที่แล้ว

    Hi Naveen,
    I need one solution,
    I need to run the cucumber scenario in tag-wise but that tag we have to fetch from excel file, in this case cucumberOptiona annotation is not going to work I implement cucumber runtime options but there also I got some problems it generate code snippets in console but the steps were already glued please help me on this

    • @anygamer2792
      @anygamer2792 ปีที่แล้ว

      org.testng.annotations.AfterSuite;
      import org.testng.annotations.BeforeSuite;
      import io.cucumber.testng.AbstractTestNGCucumberTests;
      import io.cucumber.testng.CucumberOptions;
      import utilities.ExtentManager;
      import utilities.ExtentTestManager;
      @CucumberOptions(features = "src/test/java/features/",
      glue = "stepdefinitions",
      //monochrome=false, //to make steps in color
      plugin = { "pretty",
      "com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:",
      "rerun:ReRunScenarios/FailedReRun.txt"},
      dryRun = false//to check compilation errors
      ,tags="@test"
      )
      public class TestApplication extends AbstractTestNGCucumberTests {
      /*
      * @Override
      *
      * @DataProvider(parallel = true) public Object[][] scenarios() { return
      * super.scenarios(); }
      */
      @BeforeSuite
      public void beforeExecution() {
      System.out.println("*** Test Execution started ***");
      }
      @AfterSuite
      public void afterExecution() {
      System.out.println("*** Test Execution Finished ***");
      ExtentTestManager.endTest();
      ExtentManager.getInstance().flush();
      }
      }
      I have using the above test application to run the cucumber scenarios tag wise......
      Requirement : How to get tags from excel file and using the tags, I have to run the corresponding cucumber scenarios
      public static boolean cucumberRun(String tag) {
      try {
      ClassLoader classLoader = CustomClass.class.getClassLoader();
      ResourceLoader resourceLoader = new MultiLoader(classLoader);
      ClassFinder classFinder = new ResourceLoaderClassFinder(resourceLoader, classLoader);
      /* Adding cucumber plugins */ List pluginList = new ArrayList();
      pluginList.add("--plugin");
      pluginList.add("html:target/cucumber-html-report");
      pluginList.add("--plugin");
      pluginList.add("json:target/cucumber.json");
      pluginList.add("--plugin");
      pluginList.add("com.cucumber.listener.ExtentCucumberFormatter:");
      pluginList.add("--plugin");
      pluginList.add("rerun:target/failedScenarios.txt");
      /* Location for BDD extent report. */ ExtentProperties extentProperties = ExtentProperties.INSTANCE;
      extentProperties.setReportPath("location/Extent_report.html");
      /*
      * Adding cucumberOptions.
      *
      * You can get the tag value from excel and pass it here. We need to add @ before tag value.
      */ RuntimeOptions ro = new RuntimeOptions(pluginList);
      ro.getFilters().add("@"+tag);
      ro.getFeaturePaths().add("location of feature files");
      ro.getGlue().add("location of glue code");
      /* Loads all the resources into Cucumber RunTime class and execute. */
      cucumber.runtime.Runtime runtime = new cucumber.runtime.Runtime(resourceLoader, classFinder, classLoader,
      ro);
      runtime.run();
      }catch(Exception e){
      // Handle exception
      }
      This code i am using. This code i got from stack overflow

  • @ankitaverma9440
    @ankitaverma9440 2 ปีที่แล้ว

    Hi Naveen, I am getting error "Error: Could not find or load main class cucumber.api.cli.Main" when running feature file for the first time. Could you please suggest some solution?

    • @shyamsundersiraveni5178
      @shyamsundersiraveni5178 ปีที่แล้ว

      can someone please provide the solution for this error. Am also facing this error.

  • @Shimmer_glow99
    @Shimmer_glow99 ปีที่แล้ว

    Hi can anyone help me with this I am getting searched product is : null but It should be Apple macbook pro please help me I am stuck!

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

    Hi Naveen, When i run the feature file, am not getting any undefined scenarios message to implement missing steps with snippets in the console. Can you plz help me out on this.

    • @Srhnu449
      @Srhnu449 3 ปีที่แล้ว +2

      Remove the colon (:) after the keywords (Given, When, etc) in your feature file.

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

      @@Srhnu449 I didn't use : in feature file

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

      @@Srhnu449 Thank you it works

  • @rangaswamy3839
    @rangaswamy3839 2 ปีที่แล้ว

    Hi sir while am running the runner class am getting error like Failed configuration i even tried n number of ways by looking your videos can u able to help me sir plz

  • @deepalibansal2796
    @deepalibansal2796 2 ปีที่แล้ว

    Can you share your pom.xml file @Naveen as the one provided in cucmber skeleton java , is not recognising many of the keywords and classes . Maybe because of the dependencies

  • @Stride_Purple
    @Stride_Purple 10 หลายเดือนก่อน

    Why cant we have the file name as AmazonTestRunner?

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

    Sir, why we need to remove Runner from AmazonTEST runner class, I unable to get that

  • @bestdate9541
    @bestdate9541 2 ปีที่แล้ว

    Good video, but a small candid suggestion, rather than using 'over here' just use 'here', if offended then explain the difference between 'OVER HERE' vs ' HERE', please. OVER HERE is not posh English, PLEASE PLEASE UNDERSTAND.

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

    How to install cucumber plug-in in eclipse in offline mode. HOW to find stable version. As many companies have restrictions to install plug-in as firewall settings in place.

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

    Hi Nareen sir
    I love your videos
    Is there any chance you can make a end to end project
    On intelij
    Selenium Java BDD junit also using postman aws docker jira
    Thank you again love your work

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

    Hi Naveen. Thanks a lot for sharing knowledge with us. I have used plugin = {"pretty"} and also I have given monochrome = true but in my console I'm not getting proper text. Can you please tell me what I need to do ?

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

      you can add ,monochrome = false in runner file in options, at least you can avoid extra special characters in console output. but no color format :-(

      @RunWith(Cucumber.class)
      @CucumberOptions(
      features = {"src/test/resource/appFeatures/Uber.feature"},
      glue = {"stepDefination"},
      plugin = {"pretty"},
      monochrome = true)
      public class UberTest {
      }

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

    Easily understandable...

  • @sonali420
    @sonali420 2 ปีที่แล้ว

    after addi ng plugin pretty i am not getting colourful output in console but some weird text

    • @sonali420
      @sonali420 2 ปีที่แล้ว

      Scenario: Search a Product # src/test/java/AppFeatures/Searchs.feature:22
      step1:I am on search page
      Given I have a Search field on Amazon Pay # stepdefinitions.Searchss.i_have_a_search_field_on_amazon_pay()
      step 2: we searched the product with Apple Macbook Proand price is1000
      When I search for a product with name "Apple Macbook Pro" and price 1000 # stepdefinitions.Searchss.i_search_for_a_product_with_name_and_price(java.lang.String,java.lang.Integer)
      step3:product is displayed
      Apple Macbook Pro
      Then Product with "Apple Macbook Pro" should be displayed

  • @Ruchisingh-p3h
    @Ruchisingh-p3h หลายเดือนก่อน

    Hi @naveen can you please create same kind of video for playwright with js

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

    Sir , when we write the test cases manually in excel sheet just when the requirement is known and development is in the process or about to start then that is also BDD ?

  • @rakibuddin8937
    @rakibuddin8937 ปีที่แล้ว

    nice video. very helpful

  • @shreedeevi2800
    @shreedeevi2800 2 ปีที่แล้ว

    Can i know who will be responsible for creating feature files qa Or pm or dev

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

    I am not getting yellow highlighted Text in feature file ....Can anyone help why not getting this

  • @abdulquadiransari7476
    @abdulquadiransari7476 26 วันที่ผ่านมา

    it would have been better if you would have followed standard convention while naming Java package.

  • @mounikapathipati6098
    @mounikapathipati6098 2 ปีที่แล้ว

    Hi
    I was unable to create maven,Could you let me know the reason

  • @856shaileshkumar
    @856shaileshkumar 2 ปีที่แล้ว

    Anyone else getting the error : Error: Could not find or load main class cucumber.cli.Main

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

    Hello Naveen,
    I am not able to install Cucumber Eclipse Plugin, I used the link you provided and it show the software in the list but next button is still disabled. can you please help me with this.

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

      you can install it from Eclipse Market Place...

  • @PriyankaSingh-yz7sr
    @PriyankaSingh-yz7sr 3 ปีที่แล้ว

    Hi Naveen, Thank you for this video.. am using Intellij IDE and trying to create cucumber framework using basic script. but when am trying to run definition file even my path is correct but getting error as -
    "0 test classes found in package 'com.examples.cucumber'
    Process finished with exit code 254"
    Path is correct but not sure why am getting this error.

  • @jajatisahoo3831
    @jajatisahoo3831 2 ปีที่แล้ว

    Good Explanation

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

    Below are the issues I'm facing after installation of Cucumber Eclipse plugin in my IDE (Eclipse IDE for Java Developers)
    1) Cucumber step definitions in .feature file not highlight in eclipse
    2) Run as cucumber feature not showing in eclipse
    3) In Run Configurations, I can't see Cucumber Feature
    4) In Launch Configurations, I can't see Cucumber Feature
    Can someone help me ?

    • @ankursharma786
      @ankursharma786 2 ปีที่แล้ว

      I am having the same issue. did it resloved ?

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

    Hey Naveen your video is really helpful. However when i created my feature file it does not show any sample data. Also, it is shown as plain text and not colors. Error in the feature file is displayed as : mismatched input '
    ' expecting 'Feature:'
    Please help i want to learn automation

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

      cucumber isnt installed in your ide

  • @muralimohank7218
    @muralimohank7218 9 หลายเดือนก่อน

    Please make vedios using python with feature files, step files

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

    Hi Naveen can u pls explain how to set up the selenium ,java in eclipse

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

    this vedio latest code available in your github? Kindly help me out where i have to find this vedio code

  • @GG-hk5iz
    @GG-hk5iz 3 ปีที่แล้ว

    Hi @Naveen , Thanks a lot for your video. While creating the maven project in Eclipse, I am getting the error "Could not resolve archetype org.apachemaven.archetypes::1.4 from any of the configured repository "

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

      you need to update/add archetype. i had same issue.

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

    Hi Naveen. Thank you so much for the tutorial videos. I have a question that why my feature file is not showing any colours for the keywords even after installing the eclipse plugin.Also in the Testrunner after using plugin = {"pretty"},no change is happening in the console. but I files are running successfully.Kindly help me.

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

      you can add ,monochrome = false in runner file in options, at least you can avoid extra special characters in console output. but no color format :-(
      @RunWith(Cucumber.class)
      @CucumberOptions(
      features = {"src/test/resource/appFeatures/Uber.feature"},
      glue = {"stepDefination"},
      plugin = {"pretty"},
      monochrome = true)
      public class UberTest {
      }

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

      @@soloforever6635 thanks, this helped

  • @92BORN26
    @92BORN26 3 ปีที่แล้ว

    Hi Naveen,My feature file/ step definition file is not generating any o/p.Could you please tell what might be the issue?

  • @sudiptakumardas819
    @sudiptakumardas819 2 ปีที่แล้ว

    @Naveen: Thanks for the awesome video series on Cucumber. Actually while designing the test runner class I am getting an error related to the packages "import cucumber.api.CucumberOptions;", "import cucumber.api.junit.Cucumber;". I am getting "cannot be resolved to a type error". For the @RunWith(Cucumber.class)
    @CucumberOptions(
    features = "Feature"
    ,glue={"stepDefinition"}
    )
    I need the packages above but I am getting the errors with packages.
    Could you please help me on this. I am trying to learn Cucumber and following your tutorials.
    Thanks,
    Sudipto

    • @cinthiyaantony2387
      @cinthiyaantony2387 ปีที่แล้ว

      check features path eg) features = src/test/java/(your package name) and type it if you can't import

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

    Hi Naveen.. I am not able to download the Naturals plugin... could u plz help me sort that issue of mine plz