Problem in reporting Emailable report when running Parallel Test and Parallel Class at Test level

47 views
Skip to first unread message

Bharat Gupta

unread,
Mar 3, 2022, 8:19:13 PM3/3/22
to testng-users
I am trying to run the my test cases as package level hence running my test at  Test level in testng, but as my suite is getting bigger i am trying few combition. 
One of the best solution that i found is running Test in Parallel at Suite level but running Class in parallel at test level. Which means i will be able to complete all the classes in quick time.
 But problem here is Emailable reports are not generating correctly. It is not reporting few of the tests itself. Below is the example.

Testng.xml

<suite name="Suite" parallel="tests" thread-count="10" >

 <test name="HomePage"  parallel="classes" >

   <classes>

    <class name="home.LeftNavDashboardsViewTest" />

    <class name="home.FavouritesTest" />

    <class name="home.LeftNavSearchTest"/>

   </classes>

<test name="LoginPage"  parallel="classes" > 

  <classes>...


Emailable report will report home page and skip reporting Loginpage and Fun part is it is not consistent. Some time Login page will be reported and some time both. 


⇜Krishnan Mahadevan⇝

unread,
Mar 3, 2022, 10:51:45 PM3/3/22
to testng-users
Can you please share a simple maven/gradle project that can be used to reproduce the problem?
Please ensure that you are using the latest released version of TestNG (7.5)

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribblings @ https://rationaleemotions.com/


--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/testng-users/fee34837-a64d-4f8b-88dd-faf90a0bee72n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages