#6 - Tags in

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

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

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

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

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

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

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

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

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

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

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

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

    Thank you Sir 🙂

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

    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

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

    can you work with tags in an outline scenario?

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

    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.

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

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

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

      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)

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

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

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

    How to set priorities or sequence of feature file execution sir

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

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

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

    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 😊

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

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

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

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

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

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

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

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

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

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

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

      @@naveenautomationlabs Thanks brother

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

    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.

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

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

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

    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.