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

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

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

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

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

Priority in TestNG
public class Priority { @Test (priority=1)public void login() {System.out.println("login");} @Testpublic void email1() {System.out.println("email1");} @Test (priority=-2)public void email2() {System.out.println("email2");} //I...
S

Sarthak C.

0 0
0

What is testing, application,softwere and what is manual testing and its categories
HI All Thist Text lesson is to brief you about manual Testing. Before knowing what is manual testing, will know what is testing first then what is software and then what is softwere testing. ok. ...

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