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 |
How to handle https website in selenium? Or how to accept the ssl untrusted connection?
What do you mean by xpath?
If one wanted to display the value of a variable named answer in the log file, what would the first argument to the previous command look like?
What is the difference between poi and jxl jar?
Do you know a way to refresh browser by using selenium?
Explain how selenium grid works?
What are the Different Types of Waiting in the WebDriver?
What is difference between / & //
What programing language is most useful for creating selenium evaluations?
What type of tests have you automated?
What test can selenium do?
What is selenium rc?