Selenium QA
Selenium QA
Selenium QA
1. @Parameters
2. @BeforeSuite
3. @AfterSuite
4. @DataSource
Ans : 4
TestNG has a more elegant way of handling parameterized tests with the data-
provider concept. Is it true or false?
1. true
2. false
Ans : 1
1. None
2. Support for parameters.
3. Supports dependent methods testing.
4. Supports powerful execution model.
Ans :1
1. @Before/AfterGroup
2. @Before/AfterClass
3. @Before/AfterTest
4. @Before/AfterSuite
Ans :2
TestNG framework allows us to generate test reports in both HTML and XML
formats. Is it true or false?
1. false
2. true
Ans :2
1. false
2. true
Ans :2
1. false
2. true
Ans :2
Ans :4
1. The @DataProvider annotation accepts single string attribute and yields back
an array of objects.
2. TestNG doesn't need to extend any class whereas JUnit does.
3. None
4. TestNG permits to define the dependent test cases. Each test case is
independent of other test cases.
Ans :3
1. None
2. It's the time duration to wait for a test to finish its execution.
3. It's the time duration to wait for a test suite to finish its execution.
4. It's the time duration to wait for a test group to finish its execution.
Ans :2
https://www.guru99.com/automation-testing-interview-questions.html