How can I perform parameterization using TestNG?

Asked by Last Modified  

1 Answer

Follow 1
Answer

Please enter your answer

Professional Trainer

Create a java test class, say, ParameterizedTest1. java. Add test method parameterTest() to your test class. This method takes a string as input parameter. Add the annotation @Parameters("myName") to this method. The parameter would be passed a value from testng.
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
I want a Hindi teacher.
which class?
Profile Photo
Amrita
0 0
View Comments6
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

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

Ask a Question

Related Lessons

Do's And Don'ts In Your Resume
Do’s and Don’ts on your resume: DO Sell yourself: First and foremost. Customize your resume for each job application (based on domain). Use keywords selected with your prospective...
Profile Photo

Defect Management
Defect Management Terms: Application Life Cycle (ALM) Development Phase Testing Phase Production Phase ------------------------------------------------------------------ Error ...
Profile Photo

Software Development Life Cycle Methodologies.
In this, I'm going to explain types of Software Development Life Cycle methods In earlier days many organisations follows these model: 1. Waterfall Model 2. Prototype Model 3. Incremental Model 4....
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

Manual Testing / Black Box Testing / Functional Testing.
Software Testing Scope is very high. Testing is forever. Career growth. Testing Finding the problems and reporting to developers. (Applications) Finally developers will fix the issues.
D

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 >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

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