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

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

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

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

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

    • @evieranawat4480
      @evieranawat4480 4 ปีที่แล้ว +7

      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  4 ปีที่แล้ว +33

      Yes that's true.

    • @ankitajoshi2104
      @ankitajoshi2104 4 ปีที่แล้ว +18

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

    • @saif-gn7qr
      @saif-gn7qr 4 ปีที่แล้ว +7

      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 4 ปีที่แล้ว +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 ปีที่แล้ว +2

    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 ปีที่แล้ว +2

    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

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

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

  • @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

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

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

  • @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 .

  • @amnarao6342
    @amnarao6342 4 ปีที่แล้ว +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

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

    Best explanation with all basics,Thank you sir.

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

    Thanks Naveen for sharing such a nice video !

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

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

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

    perfectly expalined .. you are doing amazing !! Thanks

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

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

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

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

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

    Thanks!

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

    Thank you sir , it was really helpful

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

    Awesome Naveen .Thank you for sharing this video.

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

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

  • @testinginsights-muktasharma
    @testinginsights-muktasharma 4 ปีที่แล้ว +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 😄

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

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

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

    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 4 ปีที่แล้ว +2

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

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

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

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

    nice video. very helpful

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

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

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

    Thanks Naveen

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

    Great explanation Sir.. Thank you

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

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

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

    Good Explanation

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

    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..

  • @Swarno2004
    @Swarno2004 4 ปีที่แล้ว +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  4 ปีที่แล้ว +1

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

  • @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...

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

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

  • @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

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

    Excellent bro

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

    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

  • @aniketkhaire9448
    @aniketkhaire9448 4 ปีที่แล้ว +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.

  • @Rahul_0637br
    @Rahul_0637br 3 ปีที่แล้ว +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  3 ปีที่แล้ว

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

  • @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 {
      }

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

    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 ?

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

    Easily understandable...

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

    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 2 ปีที่แล้ว

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

  • @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?

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

    nice vedio...how to test fxn having complex code and db calls

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

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

  • @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

  • @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.

  • @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 ?

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

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

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

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

  • @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?

  • @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.

  • @muthu2490
    @muthu2490 4 ปีที่แล้ว +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.

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

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

  • @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 3 ปีที่แล้ว

      for me as well, did u find any solution?

  • @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 .

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

    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

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

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

  • @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....

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

    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?

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

    We have to give same dependency, properties, plugins for all maven project

  • @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.

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

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

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

    Thank you, Sir!

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

    Hi Naveen, I am getting "SLF4J(W): No SLF4J providers were found." error while try to run using Maven. I have added the SLF dependency but not help. Please help me.

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

    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

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

    Hi Naveen, Thanks a lot for this.. Just One question I am using the same 6.9 cucumber everything is running and working fine the issue is in my eclipse in console the color is not coming green for the given when then. I am using windows.

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

      Use monochrome = true in your test runner under cucumber options. Btw it doesn't matter.

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

      @@naveenautomationlabs Thanks @naveen I have used the same as mentioned by you earlier. was curious to know about the colors :) Thanks and the series is awesome helped me a lot :)

  • @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

  • @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

  • @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 ?

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

    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

  • @ramyaraja9411
    @ramyaraja9411 4 ปีที่แล้ว +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

  • @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.

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

    Please make vedios using python with feature files, step files

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

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

  • @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?

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

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

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

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

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

    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?

  • @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.

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

    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 ?

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

    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

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

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

  • @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

  • @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

  • @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 3 ปีที่แล้ว

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

  • @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.

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

    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

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

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

  • @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 2 ปีที่แล้ว

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

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

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

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

    hi naveen will learn to possible robot with java

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

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

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

    Why cant we have the file name as AmazonTestRunner?

  • @Jannat-smile
    @Jannat-smile 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

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

    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!

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

    Can u make 1 video on OTA api.? Cucumber is outdated now.
    But yeah i appreciate ur efforts n thanks man.... U made my learning sooo easy.. 🙏

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

      Cucumber is not outdated. This is the most popular bdd based framework tool. And how is HP ALM OTA API compared to cucumber?

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

      @@naveenautomationlabs yeah that is diff topic..i just want u to cover that.. I agree they r not related.. Sry i mixed 2 lines😣

  • @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.

  • @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...