He blogs at http://blog.varunin.com and is active on Stack Overflow, Selenium, and robotium groups. He is also the author of an upcoming open source android automation tool Bot-bot, which has record and re-play features like Selenium.
He currently holds the position of QA Architect at Pramati Technologies Private Limited, Hyderabad, India.
Acknowledgement
First of all I would like to thank my mother and father for supporting me and guiding me on the correct path throughout my life.
I would like to thank my wife, Sandhya, who has tolerated me and my passion towards work and has always been supportive. Thanks for all your support.
I would like to thank Pramati Technologies where I have learned most of the things that I know now. I would like to thank Mr Jay and Vijay Pullur for starting such a wonderful company and providing such a great environment to learn and work.
I would like to thank my managers, Reddy Raja and Sharad Solanki, without their support, inspiration, and motivation I may not have been able to reach my current position. A special thanks to Apurba Nath and Rohit Rai for relying on me and my skills.
I would like to thank all my friends without whom life may not be as fruitful as it is now.
I would also like to thank Cedric Beust, the creator of TestNG unit testing framework, for coming up with such a good unit test framework, for solving developer and QA engineer's problems and for being an inspiration of what we can aspire to in QA.
Last but by no means the least I would like to thank Packt Publishing for giving this wonderful opportunity to write this book and share my knowledge.
About the Reviewers
Yagna Narayana Dande is currently working as a Lead Software Engineer in Testing at Komli Media, a digital advertising and technology company. She previously worked as a QA Engineer at MapR Technologies. MapR Technologies focuses on engineering game-changing, Map/Reduce-related technologies.
She has also worked as a Software Engineer at Symantec, helping consumers and organizations secure and manage the information-driven world.
Mihai Vilcu has been involved in large-scale testing projects for several years and has exposure to top technologies for both automated and manual testing and functional and non-functional testing. "Software testing excellence" is the motto that drives Mihai's career.
Some of the applications covered by Mihai in his career are CRMs, ERPs, billing platforms, and rating, collection and business process management applications.
Since software platforms are spread and intensely used in many industries in our times, Mihai has performed in fields such as telecom, banking, healthcare, software development, and more.
Readers are welcome to contact Mihai for questions regarding testing as well as requesting his involvement in your projects. He can be contacted via his e-mail: <.
www.PacktPub.com
Support files, eBooks, discount offers and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at > for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print and bookmark content
- On demand and accessible via web browser
Free Access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Preface
Introduction
Currently, TestNG is the most widely used testing framework in the software industry. It provides a lot of features over the conventional JUnit framework and is used for different kinds of testing like unit, functional, integration testing, and so on. This book explains different features of TestNG with examples. You will learn about the basic features as well as some of the advanced features provided by TestNG.
What this book covers
, Getting Started , explains TestNG and its advantages over other existing frameworks. It also explains how to install and run your first TestNG test.
, Understanding testng.xml , explains the testng.xml file which is used to configure the TestNG tests. It also explains different ways to create test suites by adding test packages, test classes, and test methods to the respective test suite, according to test needs.