Closed KishanKrishna closed 8 years ago
There are no jars in the package, not even pom.xml? Also, you need to follow a more dynamic approach like this example so all extent methods are abstracted out in one place, see BaseClass
for example. ExtentTestManager
class manages all threaded test instances, but make sure to create only 1 thread using this class per thread.
I dont use Maven build tool instead use only Testng.xml to run . Let me give a try .
Hi KK,
Do you still need help ? I was able to resolve this for myself
No . i am able to resolve this.Thanks for asking.
On Sep 29, 2016 21:41, "pkum11" notifications@github.com wrote:
Hi KK,
Do you still need help ? I was able to resolve this for myself
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/anshooarora/extentreports-java/issues/417#issuecomment-250513524, or mute the thread https://github.com/notifications/unsubscribe-auth/ARJjbBApyDd1vxOqU4FCH_vys_6PT2LLks5qu-MXgaJpZM4IFT-A .
Looks like it is resolved. so the issue should get closed.
@KishanKrishna / @pkum11
Facing same problem , could you please help me to resolve the issue.
Thanks In Anticipation
How to handle the extent reports when the scripts are running parallel
Hi Anshoo... i am using extent reports to generate html reports. it is working fine with single testfixture but when i am doing parallel execution.. i am unable to proceed with testing as screen shots are appending twice for each test.... using nunit and extent reports..... how to flush the reports at end of all testfixtures .. Please let me know is there any option to flush at the end of exectuion in case of parallel execution
Hi Anshoo ,
As discussed earlier, I am uploading my POC
I have been following Extent reporting model and trying to implement using Parallel Usage in TestNG with Selenium Grid + Page Factory model. I am able to get all results with single script execution for 2.40.2v of Extent reports but could facing issues when running in parallel.
Results for each thread instance are not getting segregated properly to each thread instead it gets results of other threads are getting mixed up.
I am using endTest after each Test method and flush at the end. But don't understand exactly how extent report object is segregating each thread results in the output .
Can you help me here? I am attaching my POC framework removing jars. Please add jars before you test them.
Sample results ResultPoc.zip