How to make codes run with more than one browers
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019
11:14 AM
01-31-2019
11:14 AM
How to make codes run with more than one browers
Hi,
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?
Thanks.
Solved! Go to Solution.
Labels:
- Labels:
-
Chrome
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019
12:36 PM
01-31-2019
12:36 PM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2019
01:09 AM
02-01-2019
01:09 AM
Hi,
In addition to Robert's reply, https://support.smartbear.com/testcomplete/docs/app-testing/web/general/cross-browser/index.html help section might help.
Regards,
/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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
/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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2019
05:15 AM
02-04-2019
05:15 AM
Thanks, Alex. I found a solution via the link you sent me in "Parameterizing the Browsers ..."
