AfterSuite cannot be resolved to a type

469 views
Skip to first unread message

Kancharla Prasad

unread,
Jun 9, 2016, 1:59:40 AM6/9/16
to testng-users
Hi All,

I am new to testng, can someone help me to fix this error.

I added @BeforeSuite, @BeforeClass, @ Test. when i am using @AfterSuite am getting error as "AfterSuite cannot be resolved to a type"
and this error shows for the last @Test method.. if i comment @AfterSuite then no error.

what could be the cause for it, please guide.

⇜Krishnan Mahadevan⇝

unread,
Jun 9, 2016, 2:55:38 AM6/9/16
to testng...@googlegroups.com
Make sure you are resolving this annotation from TestNG.

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.

Prasad.L.V

unread,
Jun 9, 2016, 4:36:45 AM6/9/16
to testng...@googlegroups.com
Thank you krishnan.

somehow it got fixed by building up the project.. 
Reply all
Reply to author
Forward
0 new messages