It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What is Data Provider in TestNG?

DataProvider is a method in a class that returns a two dimensional an array of object (Object [ ][ ]) to the test method. The test method will be called m times in the m*n type of object array.


    m ➨ The first array m represents the number of rows that has to be repeated your test m number of times.

     n ➨ The second array n represents a column that is the number of parameters in the test data. 

For more details: Data Provider in TestNG

1 comment

The ability to quickly check vast volumes of data on the device is a key advantage for automating functional testing.

But the data set must be manipulable, calculated and hundreds of test iterations and permutations must be made with minimal effort. Test Automation Frameworks must be capable of integrating with tablets and offering efficient calculation capabilities.


Log in or Sign up to comment
Community showcase
Posted in Off-topic

Friday Fun: Atlassian Summit

This year will be my first time attending Atlassian Summit, yay! So I wanted to use this Friday Fun topic to find out more from all of you. Are you attending? Is there anything specific you are look...

324 views 13 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you