different mapping between chrome and firefox
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
different mapping between chrome and firefox
Hello everybody
I noticed that if I use chrome to do a test and immediately after the test I run it with firefox the test dies because firefox does a different mapping than chrome. how can I avoid this problem? in your opinion complete tests can understand which browser you are using and consequently use the correct mapping?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is correct... however, define "mapping"? Because, sure, it will detect the browser, but you have to understand that different browsers may render applications differently. So, sometimes properties may change, hierarchies may change, etc. So, while the BROWSER may detect just fine, some of the other pieces may not.
Your screenshot that you supplied... well, it doesn't really give enough information. We see the objects... but how are they mapped? What's their hiearchy compared to the other objects? What properties are used for mapping them?
To be able to debug your mapping... well, we need to see the actual mapping.
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
.. and moreover, sometimes, depending upon devs or techs used, components could be different between browsers ... 😞
No magic sure but by spending your time on good selection of attributes/properties to define as safe and fixed, you avoid lot of problems.
If you can, ask to the dev team to introduce an unique id just for u in their code. It(s just a best practice to do for them so !
Un sourire et ça repart
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Community!
@asavoia does this answer your question? Please mark the best answer as a solution.
And, of course, do not hesitate to ask more questions here if you still have them.
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @asavoia,
my 2 cents, there is a great article in our documentation explaining how to do cross-browser testing in TestComplete. I recommend that you read it: https://support.smartbear.com/testcomplete/docs/app-testing/web/general/cross-browser/about.html
Tanya Yatskovskaya
SmartBear Community and Education Manager
