Talking about our requirement to introduce TestNG with WebDriver is that it provides an efficient and effective test result format that can, in turn, be shared with the stakeholders to have a glimpse of the product s/application s health thereby eliminating the drawback of WebDriver s incapability to generate test reports. TestNG has an inbuilt exception handling mechanism which lets the program to run without terminating unexpectedly.
Both TestNG and JUnit belong to the same family of Unit Frameworks where TestNG is an extended version to JUnit and is more extensively used in the current testing era.
Features of TestNG:
Support for annotations(Annotations are preceded by a @ symbol in both TestNG and JUnit.)
Support for parameterization
Advance execution methodology that does not require test suites to be created
Support for Data Driven Testing using Data providers
Enables user to set execution priorities for the test methods
Supports threat safe environment when executing multiple threads.
Fu-VISION TRAINING SOLUTION PVT LTD
COIMBATORE: HEAD OFFICE
NO: 96-A SREE NAGAR,
PALANI AANDAVAR ILLAM, 1nd FLOOR OPP KRISHNA SWEETS,
AVINASHI ROAD, PEELAMEDU,
HOPES COLLEGE BUS STOP,
SAI TOWERS, DIAGONALLY OPP TO GANGA-YAMUNA-KAVERI THEATRE
ABOVE BAJAJ MOTORCYCLES,
GP (100FT ROAD) COIMBATORE-641012
MAIL ID: firstname.lastname@example.org
Mobile number: 9360029290.