
TestNG Fundamentals
Authored by Raul Olvera
Computers
Professional Development
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is a set of code that controls how method below them must be executed
TestNG Dataprovider
TestNG Listeners
TestNG Annotation
TestNG Suite
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Specify the ways we can connect the Listener interface to the class:
at a class level and at a suite level
at a method level and at suite level
at a suite level
at a class level and method level
3.
FILL IN THE BLANKS QUESTION
3 mins • 1 pt
given the following data provider specify how many times the test method is executed?
(a)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
This annotated method will be executed only once before any of the tests in the current class are run.
@BeforeMethod
@BeforeClass
@BeforeSuite
onStart
5.
FILL IN THE BLANKS QUESTION
2 mins • 1 pt
When groups include other groups, these groups are called (a)
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Select the correct Hierarchy of TestNG Annotations
@BeforeSuite
@BeforeClass
@BeforeTest
@BeforeMetod
@Test
@AfterMethod
@AfterTest
@AfterClass
@AfterSuite
@BeforeSuite
@BeforeClass
@BeforeMetod
@BeforeTest
@Test
@AfterTest
@AfterMethod
@AfterClass
@AfterSuite
@BeforeSuite
@BeforeMetod
@BeforeTest
@BeforeClass
@Test
@AfterClass
@AfterTest
@AfterMethod
@AfterSuite
@BeforeSuite
@BeforeTest
@BeforeClass
@BeforeMetod
@Test
@AfterMethod
@AfterClass
@AfterTest
@AfterSuite
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
when using a data provider the array of an object[m][n], What does the 'm' means???
the parameters
the rows
the data
the bidimentional array
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?