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

Can I learn selenium without manual testing knowledge?

The mentor will guide you the basics of Manual Testing ...You can able to learn.
Krishna
How long will you take to complete selenium course as a weekend batch ? And what is the time duration for each class ?
Selenium and Java basics will take require around 8 hours of coaching. 2 hours every week. Rest, the student needs to practice at home on a daily basis
Ramachandran

Can I learn selenium without knowladge programing language

The mentor will guide you the java basics wrt selenium automation. You can able to learn. Gayatri
Ch
To start learning Selenium, how well do I have to know or be familiar with Java?
If you have to learn Web driver then you have to learn Java. At least you should be learning Core Java. In Selenium Web driver most of the things or every thing is done in Java. Or you can choose alternative programming language.
Uday
0 0
6
what is pop handling ?
using windowhandles() you can do popup handling with selenium webdriver
Vishal

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

Ask a Question

Related Lessons

Constructor Overloading
public class ConstructorOverloading { public ConstructorOverloading(){ System.out.println("default"); } public ConstructorOverloading(String a){ System.out.println("a"); } public ConstructorOverloading(int...
S

Sarthak C.

0 0
0

Selenium Web Driver commonly used method
Navigation Loading a web page in a current browser window driver.get("www.google.com") driver.navigate().to("www.google.com") driver.navigate().to("www.google.com") Move back & forward Driver.Navigate().Back() Driver.Navigate().Forward() Refresh...

Being a Tester.
Being a tester one should never ever work in an isolated environment. He should be aware of whole Product functionality and architecture.For starting you may proceed with - 1. Learn to login to the ip...

Difference between assert and verify in selenium
verify if a “verify” fails, the test will continue executing and logging the failure assert When an “assert” fails, the test will be aborted

Introduction of Selenium
Selenium is one of the most popular open-source automated testing Tools available today. Selenium automates web applications for testing purposes, but is certainly not limited to just that.Introducing...
N

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