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

Will I get the online coaching if I can't make it to the center?
Hello Nitya. Yes We do provide online training for Testing on Weekdays as well as Weekends.
Nitya
What are the skills required for a software tester?
Analytical skills and logical thinking. Keep on learning and update yourself everytime.
Misha
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
Hello, I am new in iOS development. What is the best way of learning iOS and Programming also?
You could start learning objective C for iOS app development. Please contact us for more information.
Vikas
I want a Hindi teacher.
which class?
Amrita
0 0
6

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

Ask a Question

Related Lessons

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...

Seven Qualities of Highly Effective Testers
Want to make a career in Software Industry? Are you looking Software Testing as your career? Do you know what makes a Tester successful? Seven Qualities of Highly Effective Testers: Every profession...

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

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....

Selenium
Selenium Overview: Selenium Components and Architecture. Why Java for Selenium, Installing Java Eclipse. First Eclipse Project and Java program. Platform independence. Selenium...

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