Lecture19: Rerun Failed Test Cases BDD Cucumber|| IRetryAnalyzer

Ғылым және технология

🚀 In this tutorial, we'll understand How to Re run failed Test cases in Cucumber
🔍 Key Points:
📌 Problem statement: How to Rerun failed test cases in BDD Cucumber on the fly
📌 Solution:
1. Using IRetryAnalyzer and IAnnotationTransformer interfaces of TestNG
Playlist link: • Mastering BDD from Scr...
If you're interested in improving your BDD testing skills and making your scenarios more organized and efficient, this video is a must-watch.
Regards,
PrinceAutomationDestination

Пікірлер: 38

  • @amarendrapani6146
    @amarendrapani614611 күн бұрын

    retry logic explanation is so good.

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    11 күн бұрын

    Thanks buddy

  • @dhruba454
    @dhruba4543 ай бұрын

    Very good explanation

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    3 ай бұрын

    Thank you

  • @nunnasivakumar7240
    @nunnasivakumar72402 ай бұрын

    informative

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    2 ай бұрын

    Thanks 🙏🏼

  • @karthickrajpattabi
    @karthickrajpattabi9 ай бұрын

    Awesome content on retry.hats off

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    9 ай бұрын

    Thanks

  • @nitinsingh6737
    @nitinsingh67379 ай бұрын

    Hats off to your effort Prince , Great explanation step by step. 😍

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    9 ай бұрын

    Thanks for liking

  • @r.r_creations_india3330
    @r.r_creations_india33302 ай бұрын

    Good explanation. Could u pls share git repo.

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    2 ай бұрын

    Thanks sure github.com/prnbtr09/bdd-cucumber

  • @pramodmallick5746
    @pramodmallick57467 ай бұрын

    Good effort on coding, but need to explain with differences, step by step, with actual errors and difficulties, and why do we need to adopt one method over another. It is explained as pre coded and pre designed. Thank you for your effort.

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    7 ай бұрын

    Sure pramodh please let me know if you face some challenges I will try to create another video on differences and respective application Also pre designed and pre coded because want to keep video short and crisp, on the fly will take some time Thanks 🙏🏼

  • @rajeshbommidi517
    @rajeshbommidi5179 ай бұрын

    Nice explanation

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    9 ай бұрын

    Thanks

  • @HemantAttri-t4q
    @HemantAttri-t4q10 күн бұрын

    but on the cucumber report there is no mention of the retries, also the test failure appears even if it was passed on the retry.

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    10 күн бұрын

    Have you used it in the listener ? And how did you run ?

  • @HemantAttri-t4q

    @HemantAttri-t4q

    9 күн бұрын

    @@PrinceAutomationDestination I am running using the cucumberRunnerclass by passing the IRetryAnalyzer in the @Test annotation by overriding the @runScenario method. No I have not used in the listers.

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    9 күн бұрын

    Go as per steps mentioned, you will have to use listener in testng.xml

  • @user-zb4pu3ir9u
    @user-zb4pu3ir9u4 ай бұрын

    When i try to add listener to runner class i do not find the modify run configuration option how to add to the runner as i need to run through the runner class using eclipse how to do that explain

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    4 ай бұрын

    Please check this repo and check the versions of dependencies from pom.xml github.com/prnbtr09/bdd-cucumber

  • @RenuYadav-qk2zm
    @RenuYadav-qk2zm2 ай бұрын

    Could you please post some more videos for cucumber reporting so that i can share it with my team easily. Reports along with screenshots as well.

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    2 ай бұрын

    Sure

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    2 ай бұрын

    Hi i have started adding the video on extent report, within this week rest of videos would be available kzread.info/dash/bejne/pGhls7uwk5Ooebg.html

  • @prashanthchatta9888
    @prashanthchatta98883 ай бұрын

    Hello Sir, Thank you, When i implemented the retry listener in my cucumber framework the browser is not getting quit when it is trying for retry, can you please share your inputs on this. Thanks in advance

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    3 ай бұрын

    Are you using after hooks to quit browser, IRetryAnalyzer listener should not have any relation with driver quit Make sure your retry count is set as 1, 2 or 3 It should quit

  • @prashanthchatta9888

    @prashanthchatta9888

    3 ай бұрын

    @@PrinceAutomationDestination Thanks for the reply, Though i have given @After it is not getting executed due to timeout exception due to which the quitting of browser is not happening. Please share your inputs

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    3 ай бұрын

    Share your git repo link

  • @prashanthchatta9888

    @prashanthchatta9888

    3 ай бұрын

    @@PrinceAutomationDestination i cannot share my git repo as it is company repo, can you share your inputs for my question i tried to execute using cucumber re-run plugin by generating the failure scenarios text file in the target when i run through the cucumber test runner class it executes only the scenarios which got failed but i run through maven command it is executing all the scenarios, can you please how to tackle this to only execute the failure scenarios through maven, Thanks in advacne This is how my failurescenario.txt looks like file:src/test/resources/features/HomePage.feature:17:18

  • @AnkitSaini-rh6sz
    @AnkitSaini-rh6sz8 ай бұрын

    Nice explanation. Could you please explain how to retry only a specific scenario and leave other scenarios even though they are failed

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    8 ай бұрын

    Thanks buddy, yes that should be doable but I won't recommend the same. i will get back to you. www.linkedin.com/in/prince-kumar-7b389a68?

  • @AnkitSaini-rh6sz

    @AnkitSaini-rh6sz

    8 ай бұрын

    Ok but why not?

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    8 ай бұрын

    Because this is to retry all the failed test cases we want to apply certain condition then it will work in that certain condition only

  • @Manoj-gr7kn
    @Manoj-gr7kn9 ай бұрын

    Screen share is not clear

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    9 ай бұрын

    Please check once more sir, maybe some network issues at your end , it is an HD just confirmed Please check and confirm, if needed will recreate

  • @Manoj-gr7kn

    @Manoj-gr7kn

    9 ай бұрын

    @@PrinceAutomationDestination ok fine.. you can use white background theme. It would be more clear for us

  • @PrinceAutomationDestination

    @PrinceAutomationDestination

    9 ай бұрын

    Sure thanks

Келесі