Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between TESTNG and JUNIT? List out Annotations?



What is the difference between TESTNG and JUNIT? List out Annotations?..

Answer / chandra shekar u

JUNIT performs on serial Testing. Where as TESTNG can do both parallel and serial testing. This is the main difference. CUCUMBER can work only with JUNIT.

JUNIT annotations are:
@Test, @Before, @After, @Ignore, @BeforeClass, @AfterClass, @Rule, @Runwith(Suite.class), @SuiteClasses({}), @Parameters and @RumWith(Parameterized.class).

TESTNG Annotations are:
@Test, @Parameters, @BeforeMethod, @AfterMethod, @BeforeTest, @AfterTest, @BeforeClass, @AfterClass, @BeforeGroups, @AfterGroups, @BeforeSuite, @AfterSuite and @DataProvider

Is This Answer Correct ?    15 Yes 0 No

Post New Answer

More Selenium Interview Questions

How to enforce the title of the website?

0 Answers  


What is the difference between @factory and @data provider annotation?

0 Answers  


How to configure selenium web driver in eclipse?

0 Answers  


Explain how you can login into any site if it’s showing any authentication popup for password and username?

0 Answers  


Tell me can we use selenium rc for tests driving on two different browsers on one operating system without selenium grid?

0 Answers  


Is it possible to automate the captcha using selenium?

0 Answers  


Can we use selenium rc to drive tests on two different browsers on one operating system without selenium grid?

0 Answers  


How to developer selenium test cases?

0 Answers  


Does the selenium ide have any drawbacks?

0 Answers  


What is exception test in selenium?

0 Answers  


What selenese command and argument can be used to transfer the value of a javascript variable into a side variable?

0 Answers  


Tell me can selenium handle windows based pop-up?

0 Answers  


Categories