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
retry logic explanation is so good.
@PrinceAutomationDestination
11 күн бұрын
Thanks buddy
Very good explanation
@PrinceAutomationDestination
3 ай бұрын
Thank you
informative
@PrinceAutomationDestination
2 ай бұрын
Thanks 🙏🏼
Awesome content on retry.hats off
@PrinceAutomationDestination
9 ай бұрын
Thanks
Hats off to your effort Prince , Great explanation step by step. 😍
@PrinceAutomationDestination
9 ай бұрын
Thanks for liking
Good explanation. Could u pls share git repo.
@PrinceAutomationDestination
2 ай бұрын
Thanks sure github.com/prnbtr09/bdd-cucumber
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
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 🙏🏼
Nice explanation
@PrinceAutomationDestination
9 ай бұрын
Thanks
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
10 күн бұрын
Have you used it in the listener ? And how did you run ?
@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
9 күн бұрын
Go as per steps mentioned, you will have to use listener in testng.xml
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
4 ай бұрын
Please check this repo and check the versions of dependencies from pom.xml github.com/prnbtr09/bdd-cucumber
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
2 ай бұрын
Sure
@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
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
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
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
3 ай бұрын
Share your git repo link
@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
Nice explanation. Could you please explain how to retry only a specific scenario and leave other scenarios even though they are failed
@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
8 ай бұрын
Ok but why not?
@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
Screen share is not clear
@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
9 ай бұрын
@@PrinceAutomationDestination ok fine.. you can use white background theme. It would be more clear for us
@PrinceAutomationDestination
9 ай бұрын
Sure thanks