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 do I upload a file using selenium? I need to upload a word file during test execution.
Mention what are the advantages of using git hub for selenium?
How to execute javascript in selenium?
Mention what is intellij?
What are the two modes of views in selenium ide?
How to set test case priority in testng?
in real world, how do we log reports using selenium? is it with log4j or testNG listener?? please answer asap
Explain what is the difference between find elements () and find element ()?
What is the difference between page object model (pom) and page factory?
Explain what are the different types of locators in selenium?
How to switch between frames in selenium?
Can selenium handle windows based pop up?