Using Extent Reports 3.0 version with selenium java, Why all test steps are getting logged in my first test method?

@BeforeSuitepublic void setUpConfig(){ report = createInstance("TestSummaryReport.html"); if(properties.ReadPropertiesFile("Browser").equalsIgnoreCase("Chrome")) { System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir")+"\\"+properties.ReadPropertiesFile("ChromeDriver")); driver = new ChromeDriver(); }else if(properties.ReadPropertiesFile("Browser").equalsIgnoreCase("Firefox")) { System.setProperty("webdriver.gecko.driver", System.getProperty("user.dir")+"\\"+properties.ReadPropertiesFile...Read more

How to display the TestNg "dependsOnMethods" as separate node in the test result column Extent HTML report

How to display the TestNg "dependsOnMethods" as separate node in the test result column Extent HTML report"I am running the TestNg,java, extent reports 3.1.2, selenium tests in Maven project. I have a test- TEST1 which calls TEST2 internally(using TestNg- dependendsOnMethods).After the run, when I check the Extent Report, it shows the results of TEST1 & TEST2 separately as 2 tests rather 1 test i.e.TEST1 with 2 child tests i.e. TEST1 & TEST2. This is the link to the current situation : https://imgur.com/ZnBNqzoI expect the Extent HTML ...Read more