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

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
I completed BCA in 2016. Is learning software testing good for me because as I have a gap in my career? Please suggest.
If you can do programming then, you can start your career with any programming that gives you the right package and scope is very good. But if you are feeling link, you will not be able to do programming,...
Varun
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.
Nithwesh
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
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

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 Safety-Critical Software?
A software whose failure may cause death or injuries to the users called Safety-Critical Software.The software present as part of Aeroplanes, or present in Rail as railway signalling software or Automotive...

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

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

Software Testing Course in Latur - Online Classes Available | SevenMentor
Software Testing Classes in Latur is the most common way of assessing a framework or its component(s) with the goal to observe whether or not it fulfills the predefined prerequisites. Testing...

A Magical New Way To Test Your Apps On Real Devices
Apps are the 'new thing'. We are living in an era, where, you click on your mobile screen for your evening cup of 'cuppa'. With the advent of technology and internet, mobile phones and services are getting...

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