Ask a Question

How to make codes run with more than one browers


How to make codes run with more than one browers


I am new to web testing, and I would like to know how to make my codes written for Chrome to also work with I.E11 or vice versa. Can anyone shed some lights?



Esteemed Contributor

Generally speaking, so long as you don't use browser specific properties and such, there shouldn't be a difference in the tests.  If you do end up needing to do so, you should put conditional code in to check "If browser is Chrome then bar, else foo"

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Champion Level 3



In addition to Robert's reply, help section might help.


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.

Thanks, Alex. I found a solution via the link you sent me in "Parameterizing the Browsers ..."

Showing results for 
Search instead for 
Did you mean: