How do I do multiple browser testing with TestNG?

Asked by Last Modified  

2 Answers

Follow 2
Answer

Please enter your answer

IT Corporate Trainer with 9 years of experience in Edu tech

Cross browser testing in Selenium can be carried out by parameterizing the browser variable. For parameterizing the browser variable we can use the @Parameter annotation of TestNG. Using the @Parameter annotation, we can pass different values of browser to the test scripts from the testng. xml file.
Comments

Professional Trainer

Multi-browser testing or cross-browser testing is the essential requirement for your website in current times. With so many browsers in a race to capture the market today, the time when internet explorer ruled the world has gone. Today, the user could be sitting in front of any browser, and as a developer,...
read more
Multi-browser testing or cross-browser testing is the essential requirement for your website in current times. With so many browsers in a race to capture the market today, the time when internet explorer ruled the world has gone. Today, the user could be sitting in front of any browser, and as a developer, you cannot just say, "well, let's suppose all the users are on chrome". Since the development of such types of websites is so important, so is their testing. For testing the websites efficiently that takes control over the browser drivers, we need Selenium. For using Selenium efficiently, we need TestNG. read less
Comments

Related Questions

What is Jfree chart and how It can be used?
JFreeChart is a free chart library for Java that can generate a wide variety of charts for use in applications, applets and servlets.
Hariprasad M.
I want to join an IT academy which can provide me 100% guaranteed job. Can you suggest some?
Hi Anuja, There is nothing or no one in the world who can guarantee you a job except your own hard work and will to succeed in life. A good tutor can guide you in the right direction and provide assistance...
Anuja
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
this is free class or with fee class tell me
it will cost you only 4500/- for selenium testing
Basavaraju

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 : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed.....
Puzzle : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed from outside the room, you can turn the light switches on or off...

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


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
0

WE <3 TEST AUTOMATION..but do WE know AUTOMATION ANTIPATTERNS!?
MIND THE AUTOMATION ANTIPATTERNS! * TESTING PYRAMID * The goal of test automation is to accelerate the feedback cycle. In order to achieve this goal it is important to use the right mix of diferent...

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 >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

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 >

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