TestNG Fundamentals

TestNG Fundamentals

Professional Development

20 Qs

quiz-placeholder

Similar activities

Glovo Challenge

Glovo Challenge

Professional Development

20 Qs

C# Interfaces

C# Interfaces

Professional Development

16 Qs

QUIZ-5 static, String and StringBuffer

QUIZ-5 static, String and StringBuffer

Professional Development

20 Qs

Java Quiz

Java Quiz

Professional Development

20 Qs

DECI - Week 14 - round

DECI - Week 14 - round

Professional Development

18 Qs

FINAL REVISION _  2 _ 2020

FINAL REVISION _ 2 _ 2020

Professional Development

17 Qs

DAA

DAA

Professional Development

20 Qs

TestNG Fundamentals

TestNG Fundamentals

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Raul Olvera

Used 14+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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 BLANK QUESTION

3 mins • 1 pt

Media Image

given the following data provider specify how many times the test method is executed?

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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 BLANK QUESTION

2 mins • 1 pt

When groups include other groups, these groups are called....

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?