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

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
Hi, We provide online instructor-led training. I am looking for Java Teacher/Instructor who can teach java via online. If anyone interested then contact me. I have to start the class from tomorrow onwards.
Hi, If you haven't finalised yet, I am interested in being an instructor. I will be teaching the newest version of Java, Java 10. Experience - 3 yrs as Software Engineer, BTech CSE, teaching Java to school and college students since 3 yrs.
Ujjwal Rana

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

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

Why JAVA is Platform Independent?
Java is platform independent language because Java has a JVM {Java Virtual Machine} which converts a java code into a byte code which can run on any OS. That means, JVM is working as a sub-platform to...

Xpath Cheatsheet
Xpath Descendant selectors h1 //h1 ? div p //div//p ? ul > li //ul/li ? ul > li > a //ul/li/a div > * //div/* :root

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

Is Automation The Software Testing Miracle Cure?
The technology community is a big fan of automation. From DevOps’ continuous delivery roots to enterprises’ automatic business processes, automation is a trademark of the business world and...

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