🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: TestNG: all 10 questions

Quiz: TestNG · Question 2 of 10

A @DataProvider returns 3 rows. How many times does the linked @Test run?

A @DataProvider returns 3 rows. How many times does the linked @Test run?

  1. A.Once
  2. B.Three times
  3. C.Six times
  4. D.It depends on the browser
Answer & explanation

Correct answer: Three times

Each row is a separate test result.

Can you get the rest right without peeking?

Take the timed Quiz: TestNG quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →