TestNG - How to retry a failed test automatically using IRetryAnalyzer
Жүктеу.....
Пікірлер: 5
@mikewagner60592 жыл бұрын
Great Job! Straight and to the point!
@johharsaai28813 жыл бұрын
Thank you
@smeeangle3 жыл бұрын
Thanks a lot . So clear.
@mahendratawade6062 жыл бұрын
Thanks for such a good stuff. One question here - when I ran it on gitlab pipeline at end in results section all the skipped test cases showing pass Like : Run 1 - Pass, Run 2- Pass, Run 3- Pass, Run 4- Failed. In this Run 1 to 3 are skipped but here it's showing pass
@ytdekhnevala36482 жыл бұрын
Do I need to use Assert.fail() ? Instead if the test is failing because a UI element is changed and if I'm not using Assert.fail() in order to fail test but instead using test.log(status.FAIL, "Test Failed"); - will that work?
Пікірлер: 5
Great Job! Straight and to the point!
Thank you
Thanks a lot . So clear.
Thanks for such a good stuff. One question here - when I ran it on gitlab pipeline at end in results section all the skipped test cases showing pass Like : Run 1 - Pass, Run 2- Pass, Run 3- Pass, Run 4- Failed. In this Run 1 to 3 are skipped but here it's showing pass
Do I need to use Assert.fail() ? Instead if the test is failing because a UI element is changed and if I'm not using Assert.fail() in order to fail test but instead using test.log(status.FAIL, "Test Failed"); - will that work?