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

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...
Venkata
this is free class or with fee class tell me
it will cost you only 4500/- for selenium testing
Basavaraju
Hello all, can anyone suggest me best IT course to get / available job for fresher?
IBM continuously keeps recruiting for IBM San admins. Go for IBM San training and storage virtualization. It helps you to get a job easily.
Priya
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...
Maneesh Jha
Hello, Dear Sir/Madam, I am an MCA 2014 passed out candidate, I am eagerly searching for a job, but is facing certain problems, can you please tell me if you provide training as well as placement coordination or experience letter along??
Hi Kavya,, I am providing training for just 3000/- for freshers who are trying for job. and Once if you get trained from me you will be in the position to work on selenium using java with out any bodies support..! - Thanks, Jitendra.
Kavya

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

Ask a Question

Related Lessons

Puzzle : In a factory, there are 10 machine which produces exactly 1 kg of sugar box. But unfortunately 1 machine among them is ............
Puzzle : In a factory, there are 10 machine which produces exactly 1 kg of sugar box. But unfortunately 1 machine among them is defective and produces 900 gm sugar box. How you find the defective one?Note:...

How to Shape Your Software Testing Career?
When I met with the students they ask or can say its a frequently ask question "How much Scope of Testing is?" "What the pay package I will get?" "Is career secure in Software Testing?" "I will learn...

Mobile APP Automation
Agenda of this artical is to come up with a solution to use only one test case and execute it on both android and iOS. Lets first focus on why we would need something like this. First Lets try to answer...

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
0

Puzzle: You have a birthday cake and have exactly 3 cuts to cut it into 8 equal pieces. How do you do it?
Puzzle:You have a birthday cake and have exactly 3 cuts to cut it into 8 equal pieces. How do you do it? solutioncross on cacke, and cut on half with cylendricaly.

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