TestNG : ITestContext

18 views
Skip to first unread message

email...@gmail.com

unread,
Nov 22, 2016, 10:44:36 AM11/22/16
to testng-users
how to get test method execution time using ITestContext  or any other possible way

⇜Krishnan Mahadevan⇝

unread,
Nov 22, 2016, 10:48:49 AM11/22/16
to testng...@googlegroups.com
You should be able to calculate this via

ITestResult.getEndMillis() - ITestResult.getStartMillis()


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/

On Tue, Nov 22, 2016 at 4:38 PM, <email...@gmail.com> wrote:
how to get test method execution time using ITestContext  or any other possible way

--
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+unsubscribe@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.

Reply all
Reply to author
Forward
0 new messages