Introduction to TestNG.
TestNG is like a unit test in selenium.By using testng annotations we can invoke our test as we need.If we have 20 testcases and we need to run only 18.So we can skip the other two test.This can be done with the help of TestNG.We can run multilple testcases in a single batch file.In selenium if we write methods for our scripts.If any one one fails then excecution stop at that time but if we use TestNG then TestNG reports failure Testcaseand execute other tests.
We can use TestNG annotations according to our needs.
1.Testng is a framework itself.
2.Testng is a controller of Selenium.
3.Testng gives us very good Reports
4.Writing testcases in java mode sometime difficult to write.
5.TestNG annotations makes Testers selenium scripts easier.
6 TestNG has no main Method as in java.
Advantages:
1.Very good reporting structure is available
2.Can generate XML, HTML reports





Useful post in testing. Thanks for taking time to share this post.
ReplyDeleteRegards,
Manual Testing Training in Chennai | Manual Testing course in Chennai
Nice Information about the TestNG My sincere thanks for sharing this post and please continue to share this kind of post
ReplyDeleteSelenium Training in Chennai
.If want become a to learn for Java Training.We have to real-time training and 100% job assistance and it's live instructor trained for real-time scenario and they explain about the all latest version update for Java Training Course, to reach us
ReplyDeleteGood and interesting post about testing, thanks for sharing your views and ideas.. it helps me lot.... keep rocks and updating...
ReplyDeleteSoftware Testing Training in chennai | Selenium Training in chennai
I have read your blog and i got a very useful and knowledgeable information from your blog..
ReplyDeleteJava Training in Chennai | J2EE Training in Chennai | Core Java Training in Chennai | Best Java Training in Chennai
The Blog shared valuable information about the TestNG my sincere thanks for sharing this post please continue to share this post
ReplyDeleteSelenium Training in Bangalore ||
Selenium Training in BTM Layout
This blog contains very useful information about testNG. My sincere thanks to this blog. Selenium Training in Bangalore
ReplyDeleteYou have done really great job. Your blog is very unique and informative. Thanks..
ReplyDeletePower System Project Center in Chennai | Power System Project Center in Velachery
Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts, have a nice weekend!
ReplyDeletejava Training in Bangalore
Nice and good article.. it is very useful for me to learn and understand easily.. Power System Projects Center in Chennai | Power System Projects Center in Velachery
ReplyDeleteThanks for your wonderful post.It is really very helpful for us and I have gathered some important information from this blog.
ReplyDeleteMCA Project Center in Chennai | MCA Project Center in Velachery
Excellent Sharing. You have done a great job. I gathered lots of new information... Selenium Training in Chennai | Selenium Training institutes in Chennai
ReplyDelete