You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
I have implemented extent report 3.1.5 via ITestListener interface and using retryAnalyzer in my testsuite.
So , in onStart() method , I have called extent.createTest(String testname) method with testname as argument.
I am printing logs via a common generic file having common methods like click, sendkeys etc. used across @beforemethod @test and @AfterMethod annotations.
Now whenever test case is failed , it goes to retry analyzer and its started again based on retry count.
Again code flow comes to onStart() method of ITestListener Interface which is having extent.create(String testname) method.
Now while retrying the test case since test case name is same , new test case is not created , which is causing logs of the retried test case to be merged with the previous test run logs.
I hope ,I am able to explain the situation , please help me to get over it , Am I missing something here or doing it the wrong way ?
I have implemented extent report 3.1.5 via ITestListener interface and using retryAnalyzer in my testsuite.
I hope ,I am able to explain the situation , please help me to get over it , Am I missing something here or doing it the wrong way ?
Thanks,
Yogit Thakral