What is the use of dataprovider in TestNG?

Asked by Last Modified  

2 Answers

Follow 1
Answer

Please enter your answer

IT Corporate Trainer with 9 years of experience in Edu tech

TestNG comes up with DataProvider to automate the process of providing test cases for execution. DataProvider helps with data-driven test cases that carry the same methods but can be run multiple times with different data sets. It also helps in providing complex parameters to the test methods.
Comments

Professional Trainer

TestNG comes up with DataProvider to automate the process of providing test cases for execution. DataProvider helps with data-driven test cases that carry the same methods but can be run multiple times with different data sets. It also helps in providing complex parameters to the test methods
read more
TestNG comes up with DataProvider to automate the process of providing test cases for execution. DataProvider helps with data-driven test cases that carry the same methods but can be run multiple times with different data sets. It also helps in providing complex parameters to the test methods read less
Comments

Related Questions

I want to do online software testing course. Manual + Automation.
I would recommend a free course of JAVA, Selenium, and Manual testing for you. No charges for tuition at the student home. Online is good but I don't provide that. 100 % free and world class education.
Profile Photo
Baby
I want to know mobile application testing training institutes in Bangalore.
Hi Nithwesh, Why don't you go for online training classes where you can save time and money.
Profile Photo
Nithwesh
Currently I am working as a tester now, and looking to get trained in Data scientist. Will that be a good decision, if I change my stream and move to data scientist field ?
Yes, I used to work in software testing in 2014. After, my master's from IIT Guwahati, now I am working as a research engineer in Machine learning domain. Data Science is a beautiful field. It involves...
Profile Photo
Venkata
I want a Hindi teacher.
which class?
Profile Photo
Amrita
0 0
View Comments6
Who is better - Manual Tester or Automation Tester?
Its the validation and verification that matters. Either you do it manually or you do it through an automated script(automation tesing). The ability to busting the code is needed. And if you have automation...
Profile Photo
Maneesh Jha

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
View Comments0

What is Software Testing?
Software Testing is an approach to test an Application with different Testing approaches. There are 3 types of Application Web Application Mobile Application Desktop Application Major of applications...
Profile Photo

Puzzle:There are three boxes. One is labeled apples, another is labeled oranges. The last one is labeled apples an..................
Puzzle: There are three boxes. One is labeled apples, another is labeled oranges. The last one is labeled apples and oranges. You know that each one is labeled incorrectly. You may ask me to pick one fruit...
Profile Photo

Puzzle: A Milkman has 2 Empty Jugs and milk
Puzzle: A Milkman has 2 Empty Jugs and milkSize of- Jug A is 3 Ltr and Jug B is 5 LtrHow can he measure exactly one liter without wasting any milk?Solution:Step 1: Fill Jug A with...
Profile Photo

Priority vs Severity
Priority and severity level of defects needed to be defined as the development team cannot resolve all defects simultaneously. The test team needs to indicate how soon they want to get the defect fixed,...
V

Vijay

0 0
View Comments0

Recommended Articles

A lot of students who look forward to build a career in IT are keen to know if Software Testing could be stepping stone for them. Software testing is processes by means quality of the software is tested and improved. It is primarily done to figure out the differences between expected output and the actual output in software...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for Software Testing classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you