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 |
in real world, how do we log reports using selenium? is it with log4j or testNG listener?? please answer asap
When should one use selenium grid?
In selenium ide what are the element locators that can be used to locate elements on web page?
What are the advantages of page object model framework?
what will be the first salary and what will be the hike in the salary?
List out the names of programming languages, browsers and operating systems that are supported by selenium.
What is the difference between find elements () and find element ()?
What is difference between / & //
Explain what does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.
How do you find element using Java Script?
How to select a value from a drop-down?
Can we edit recorded selenium ide test cases?