UrbanPro

Learn Selenium from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How do I run a Selenium test on Chrome and Firefox simultaneously?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

Spoken English Teacher

If you are using TestNG, you can parametrize you test in TestNG.xml and then run testcases parallel.
Comments

If you desire to be able to run on 2 different browsers, then you simply create two tests. 1 will run on Chrome and one on Firefox. In the first test create a FirefoxDriver (which no longer exists and has been replaced with GeckoDriver). In the 2nd test, create a ChromeDriver and run with that. If...
read more
If you desire to be able to run on 2 different browsers, then you simply create two tests. 1 will run on Chrome and one on Firefox. In the first test create a FirefoxDriver (which no longer exists and has been replaced with GeckoDriver). In the 2nd test, create a ChromeDriver and run with that. If you desire to run a single test on Chrome and then continue that test on Firefox, then you still need 2 drivers. However, you will do something like this: var chromeDriver = new ChromeDriver(); chromeDriver.DoSomething(); var firefoxDriver = new GeckoDriver(); firefoxDriver.DoSomethingElse(); Keep in mind that the session that you finished in the Chrome browser will NOT carry over to the session in the Firefox browser. So you will need to pick up where the first browser left you. Finally, if you desire to run 2 tests at the same time, then apply the first approach that I mentioned by creating 2 tests. Each has it’s own browser. Using your testing framework, make your tests capable of running in parallel. Run your tests and they will run at the same time on 2 different browsers. read less
Comments

Related Questions

Hi All,

Which combination is good?

1) Selenium with Java

2) Selenium with Python

Thank you.

If you're new to coding, I do prefer Python as more like to a descriptive language. But you'll notice less selenium support in web while compared to Java. Java has a broad support base. But Selenium with...
B
Is Selenium in automation a good career?
Yes, it is an awesome career option and it will add value too. I saw people from Manual Testing upgraded themselves to Selenium. If you want to make career in Automation Testing field, then Selenium is...
Vijayaadithya
0 0
8
What is the best way to learn selenium testing? N start career in automation testing?
For learning Selenium testing , Prepare for Core Java later learn Selenium WebDriver.
Deepak
I am looking for online Selenium with Robot framework in Python programming.
Hi, I am 8.5 yrs in it industry in automation.i will give all kind of practical experience. With regards Shalini
Swapnil
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

Advanced Selenium Course
Advanced Selenium with Cucumber: Introduction: Overview of Selenium Advantages of Selenium The Selenium Suite Introduction to Selenium IDE Selenium Remote Control Selenium Grid The architecture...

TestNG
TestNG Concepts TestNG: TestNG is an automation framework to run the test cases, test suites and do parallel testing. It is an advanced version of Junit. It consists of many features like annotations,...

Selenium WebDriver 3.0, Test NG and JAVA.
Hello, Selenium WebDriver 3.0 with GeckoDriver is the latest upgrade of Selenium. To execute automation test scripts in Mozilla browser we need to install GeckoDriver seperately and the scripts should...

Selenium WebDriver Cheat Sheet
This cheat sheet for selenium webdriver provides all the important and commonly used methods, operations and commands for your easy daily access.

How Motivation Affects Learning and Behavior
Motivation directs behavior toward particular goals. Motivation leads to increased effort and energy. Motivation increases the amount of effort and energy that learners expend in activities directly...

Recommended Articles

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 >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for Selenium Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Selenium Classes?

The best tutors for Selenium Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Selenium with the Best Tutors

The best Tutors for Selenium Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more