Closed ghost closed 4 years ago
Can you share an example for me to repro?
Please find attached the example.
Hi Anshoo,
Wish u happy New Year!!!..
Did you get a chance to look at the file that is attached in the previous post?
Thanks Sen
Happy new year!
I will check this tomorrow, thank you for your patience.
Please check with 1.0.3
, it was fixed earlier. The code in your repo is from an older commit.
I have checked with 1.0.3 version still the report is incorrect with both the ITestListenerAdapter class and ITestListenerClassAdapter. We can check by running the Class1Tests.java in com.aventstack.extentreports.adapter.testlistener
Please find the screenshot below
Still unable to reproduce, here is what I am seeing:
Did you skip the beforesuite? if its skipped at beforesuite then we see the report incorrect. Could you please share me the sample code that you verified.
I have downloaded the source and ran the class1Tests.java under the package com.aventstack.extentreports.adapter.testlistener as TestNG and still the report comes incorrect. I dont know if i miss something. could you please help me.
Attached is the source which I have downloaded and executed.
extentreports-testng-adapter-master.zip
Additional note:
Method getTest(ITestResult result) in the ExtentTestManager class always returns the variable "t" with "passClass1" which cause the report incorrect. If we check the "result" it contains correct test method name.
Thank you Sen
Hi Anshoo,
Did you get a chance to look into my comments?
Thanks Sen
I will look into this today..
Hi Anshoo,
Able to reproduce this issue?, if we skip the before suite we do see this incorrect report.
Thanks Sen
I am really not sure what is happening. I run your class in your project and I get these errors. Running them directly in mine creates the correct report.
What timezone are you in? We can do a quick Webex. See the report that was just created.
Thanks for the quick update...
I am in IST zone, let me know your convenient time so that we can do webex.
Did you skip the beforsuite? report comes incorrect only when we skip the before suite.
Thanks Sen
Yes, this is after skipping the beforesuite.
Still no luck for me.. let me know your convenient time to do webex... Pls share the webex link
Did you get a chance to find why these error is coming?.. Is anything I am missing?/to update any jars or code difference?
Please let me know.
Thanks Senthil Raj R
I just downloaded the source and import it in to eclipse, I didn't do any changes.
Could you please help me to resolve this?
Thanks Sen
Hi Anshoo,
Report shows only one test case with exceptions, please find attached the screenshot for more details.
Thanks Sen