-1

I am working on Automation Project using Selenium. I follow a keyword driven approach where all my locators and data are retrieved from excel sheet.

I am trying to incorporate extent report 3.0.6 into my project. Post execution, it shows the count of test step and test view as same.

My scenario is Test View should be 1 and Test Steps should be 7.

Do we have any sample code or example to understand the reporting issue? Any sugesstion to implement any other report ?

Priya
  • 69
  • 4
  • 15
  • @BeforeSuite public void setupReport() { //extent = ExtentManager.createInstance("extent.html"); htmlReporter = new ExtentHtmlReporter(System.getProperty("user.dir")+"\\Report\\AutomationResult.html"); extent= new ExtentReports(); extent.attachReporter(htmlReporter); } – Priya Sep 05 '17 at 11:44
  • Question is unclear. – abhishek Sharma Sep 05 '17 at 11:48
  • Let me rephrase my query.Seems to be some problem in editing – Priya Sep 05 '17 at 12:42
  • Let me rephrase my query.Seems to be some problem in editing . I have query in Extent Reporting 3.0.6. When I run my test suite in selenium, count of TEST VIEW and TEST STEPS displayed on Extent Report generated is same. Example:- I have login test scenario and it contains 7 test steps to be executed in two different sheets on excel file. How to incorporate count of steps populated in test step view – Priya Sep 05 '17 at 12:48
  • Please fix the formatting in your question and put all details there instead of in comments. – JeffC Sep 05 '17 at 13:22

1 Answers1

0

This was one of the fixes in 3.0.7. You can use AnalysisStrategy.CLASS to fix this.

Anshoo
  • 725
  • 5
  • 10