How to install TestNG in Eclipse and sample program of testNG

620 views
Skip to first unread message

NagaRaju Dasam

unread,
Aug 25, 2010, 9:08:35 AM8/25/10
to Selenium Users
Hi Guys,

I wrote some test cases using Junit...one of my friend told me TestNG
is better than Junit.. i already installed test NG...can you please
tell me how to write a simple script using TestNG...do i need to
import any .jar files to reference library??? can we generate reports
using testNG??


Thanks,
Naga

jrock2004

unread,
Aug 25, 2010, 9:30:24 AM8/25/10
to Selenium Users
TestNG is a framework. How I use TestNG is I install Eclipse and
install the TestNG plugin. After you enable it for your project you
will need to setup the POM file. I have a blog post on how to setup
TestNG with Java

http://jcwebconcepts.net/?p=409

Hope that helps.

Niraj Kumar

unread,
Aug 25, 2010, 9:58:12 AM8/25/10
to seleniu...@googlegroups.com
Go through this blog
http://automationtricks.blogspot.com/2010/05/how-to-setup-selenium-rc-with-testng-in.html



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.




--
Thanks & Regard,
Niraj Kumar

NagaRaju dasam

unread,
Aug 25, 2010, 10:36:54 AM8/25/10
to seleniu...@googlegroups.com
Niraj,

That blog doesnt help me...if u have any sample script can u send me that...


Thanks,
Naga
Reply all
Reply to author
Forward
0 new messages