Retry analyzer execution only @Aftermethod

50 views
Skip to first unread message

akash kansal

unread,
Jun 7, 2018, 10:34:21 AM6/7/18
to testng-users
Hi,

Is there any way to execute retry for failed @Test only when  @AfterMethod. gets executed.


Krishnan Mahadevan

unread,
Jun 7, 2018, 12:07:52 PM6/7/18
to testng...@googlegroups.com

When you attempt this using TestNG 6.14.3 what do you see?

 

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 Scribbings @ http://rationaleemotions.wordpress.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 post to this group, send email to testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

akash kansal

unread,
Jun 8, 2018, 6:27:19 AM6/8/18
to testng-users
Well i have tried this with 6.9.10. it's not working.

But after trying with 6.14.3. working as expected @after invocation.

Thanks Mr. Krishnan.

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"   ------------------TRULY.
Reply all
Reply to author
Forward
0 new messages