#6 - Tags in

Поділитися
Вставка
  • Опубліковано 22 жов 2024

КОМЕНТАРІ • 44

  • @krishanuchakraborty3500
    @krishanuchakraborty3500 3 роки тому +15

    How are you even managing your time @Naveen? You seriously need to give us some insights, highly inspired by you 🙏 Goes without saying, this new cucumber series is killer ❤️

    • @naveenautomationlabs
      @naveenautomationlabs  3 роки тому +8

      Managing time is a secret :) But thank you for your kind words.

    • @user-yb2fc1ur6g
      @user-yb2fc1ur6g 3 роки тому

      @@naveenautomationlabs U r an Inspiration for all of us

  • @biyasbanerjee7288
    @biyasbanerjee7288 3 роки тому

    I appreciate the way you taught Naveen :) especially you give some small tip that is very useful. Thank you, Naveen.

  • @smsn-jq2zd
    @smsn-jq2zd 2 роки тому

    Thank you naveen it's really helpful the tags are really important topic from cucumber and you have explain all the expression clearly..

  • @parthapramanik5330
    @parthapramanik5330 3 роки тому +1

    Thanks @Naveen for the wonderful video. I was trying to execute test cases under a particular tag using -Dcucumber.options="--tags @tag1", but it was not working. -Dcucumber.filter.tags="@tag1" works perfectly as you mentioned this works with the latest version of cucumber. Thanks again.

  • @jaishankar532
    @jaishankar532 3 роки тому +3

    Brilliant! I was searching for this feature, thank you.

  • @krunalparekh5858
    @krunalparekh5858 3 роки тому +1

    It’s amazing. Thank you Naveen sir. But how we can call scenario from different feature file in order through tag. I can see, when we are calling tags from different scenario it will run according to alphabetically.. Without hooks can we do that?? Right now I am in a project where i am facing this. Please give us some suggestions for that sir. Thank you so much

  • @roshanravani5782
    @roshanravani5782 3 роки тому +2

    Hey @Naveen can you make a video on new tools and technologies coming to the automation industry, 5 years down the line?

  • @SK-ff2qi
    @SK-ff2qi 2 роки тому

    Hii @Naveen , I just want to know if we have to use tags in a frame work so which dependencies we need to add

  • @juhiagarwal7682
    @juhiagarwal7682 3 роки тому

    Hey Naveen..Thanks a lot to make such detailed videos. I am facing an issue, the tags passed in mvn command not overwriting the tags given in cucumberoptions in test file

  • @subhashreesahoo2233
    @subhashreesahoo2233 3 роки тому +1

    Thank u sir, no words for your help 🙏...

  • @ankeshkumar9120
    @ankeshkumar9120 3 роки тому +1

    Hi Naveen. The series is too good. I got confused at one place, When running the UberTest with tags="not @Prod", its also running the AmazonSearchTest(Though I commented everything in that file). How to disable that? Any leads? Thanks :)

    • @naveenautomationlabs
      @naveenautomationlabs  3 роки тому

      Give the uber feature file path in your junit runner class.

    • @SudhaRani-xp8xz
      @SudhaRani-xp8xz 3 роки тому

      @@naveenautomationlabs ​ Hi Naveen , Pretty plugin is not working for me ,Not sure Why i am getting the output like below . In your Video the output is in Green colour. Did i miss something @Smoke
      Scenario: Booking cab Sedan # Feature/Uber.feature:4
      Step 1 : Sedan
      Given User wants to select a car type "Sedan" from uber application # stepDefinition.UberStepDef.user_wants_to_select_a_car_type_from_uber_application(java.lang.String)
      Step2 : SedanBangalorePune
      When User selects car "Sedan" and pick up point "Bangalore" and drop location "Pune" # stepDefinition.UberStepDef.user_selects_car_and_pick_up_point_and_drop_location(java.lang.String,java.lang.String,java.lang.String)

  • @mayanksharma7341
    @mayanksharma7341 3 роки тому

    Hi Naveen, I have created all the step definition files for respective feature file but still I am getting warning that the feature does not have a matching glue code. Although the feature file is running as expected but I am not able to remove these warnings from my feature file.

  • @nagak6092
    @nagak6092 9 місяців тому

    Hi Naveen
    Could you please help me to resolve below cucumber query,
    How to set up dependency on cucumber test scripts like if there are 4 scripts A, B, C and D.
    If A passes then go to B then if B passes go to C etc
    If A fails don't go B and C and D.

  • @ahmettemel8245
    @ahmettemel8245 2 роки тому

    thank you

  • @Gaurav12081
    @Gaurav12081 3 роки тому

    Hi naveen in my project i have n number of feature files how do i run all feature files is there is any way to do this using tags? Please suggest thanks!

  • @tamilselvans8421
    @tamilselvans8421 3 роки тому

    Hi Naveen
    am getting an error icon in my project folder but inside the code, there is no error.
    Some jar files which u shared in GIT is throwing an error

  • @yashuy3279
    @yashuy3279 2 роки тому

    Thank you Sir 🙂

  • @sudhakarrajunibhanupudi5331
    @sudhakarrajunibhanupudi5331 3 роки тому

    How do I exclude a particular tag (feature/scenario level) in the report after executing it. Is there a way to do it? Please reply

  • @MrGmessi
    @MrGmessi 3 роки тому

    can you work with tags in an outline scenario?

  • @purnapcn8970
    @purnapcn8970 Рік тому

    If the feature file contains 3 @somke scenarios but i want execute only one @smoke scenario how can we approach?

  • @manikantan2457
    @manikantan2457 3 роки тому

    Hi Naveen, How to run Multiple Tags in Cucumber IO and Kindly help me how can we rerun failed feature in Jenkins .

  • @DR-nx1oe
    @DR-nx1oe 3 роки тому

    thanks for the tutorial Sir , one question please , do we need a TestRunner Class for Every Feature, or we can use just one TestRunner Class for all

    • @manjarikumari9302
      @manjarikumari9302 3 роки тому

      Hi DR, do you know response for your question? Kindly share if you have

  • @vitulbansal7077
    @vitulbansal7077 2 роки тому

    What if I want to run tags in my own order? Lets say I want to run @prod then @smoke then @regression
    When I was trying for my project it was running in alphabetical order. Can you please help me out for it n Thanks in advance 😊

  • @sharanbasavaswami1521
    @sharanbasavaswami1521 3 роки тому

    Hi Naveen, your videos are very helpful. Tons of thanks for it and may I know what are the perks a subscriber with membership (Rs.159/month)will get . I tried to reach you but was unable to kindly reply.

  • @meghnabhalerao3110
    @meghnabhalerao3110 Рік тому

    What if we are having same tag with 3 scenerios , how will the execution will be done

  • @vignesh1720
    @vignesh1720 3 роки тому

    How to set priorities or sequence of feature file execution sir

  • @WittyRider00
    @WittyRider00 Рік тому

    Kindly share if we can read the tag from file and match with the scenario tag then execute the matched one

  • @avengers1960
    @avengers1960 3 роки тому

    How to run Multiple Feature files in Order? Say for Eg: I have Login.feature and Dashboard.feature and I wanted to run the Login Feature followed by Dashboard? How can i achieve this in runner file ? @Naveen

  • @priyapattabhiraman1576
    @priyapattabhiraman1576 3 роки тому

    Can you explain this statement
    Plugin={"pretty"} ......?

  • @priyapattabhiraman1576
    @priyapattabhiraman1576 3 роки тому

    Sir If possible can you provide notes for every video it will be like reference for us

  • @sumeshm23
    @sumeshm23 3 роки тому +1

    I gave dryRun = true and tags="@tag1 and @tag2" but I m not getting missing stepdefenition instead I m getting runs 0/1 in testrunner please help

    • @naveenautomationlabs
      @naveenautomationlabs  3 роки тому +1

      And will match both the tags on the same scenario. So use OR.

    • @sumeshm23
      @sumeshm23 3 роки тому

      @@naveenautomationlabs Thanks brother

  • @bhavyamandaliya9545
    @bhavyamandaliya9545 3 роки тому

    If i run the case with Junit. It runs all the step definition even after , providing tags value in Java runner file. Did someone face this issue?

  • @mahendratiwary3689
    @mahendratiwary3689 3 роки тому

    Small suggestion, Maven and Eclipse are kind of outdated these days, I mean not preferred. It will be good if your examples are based on IntelliJ and Gradle. It was just a suggestion otherwise very good work.