
TestNG Framework Quiz
Authored by Gopinath Manimayan
Professional Development
Professional Development
Used 35+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
How to ensure TestNG is successfully installed?
TestNG Option is seen on file menu option
TestNG Option is seen when right clicked on package
Create TestNG class & Convert To TestNG options appear in TestNG Option
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many time @BeforeTest runs in the TestNG execution having n @Test
n times
nX2 times
1 time
n+1 times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to skip a test in TestNG execution?
Using @Test(include = false) annotation.
Using @Test(exclude = true) annotation.
Using @Test(enabled = false) annotation
Using @Test(enable = false) annotation
Using @Test(enabled = true) annotation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following features TestNG doesn’t support?
None of the below
Parallel Testing
Multiple browsers
Dependent methods
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid TestNG annotation?
@BeforeSuit
@BeforeClass
@Parameters
@DataSource
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we have 3 test using a data provider have 5 rows of data then what is the total count of test runs that happens ?
3
5
8
15
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
TestNG framework allows us to generate test reports in both HTML and XML formats. Is it true or false?
True
False
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?