Browser compatability testing

58 views
Skip to first unread message

Roshan Srivastava

unread,
Jul 24, 2014, 11:36:01 AM7/24/14
to seleniu...@googlegroups.com
Hi,

We are doing automated browser compatibility using selenium as an automation tool.The approach we are following are

We first decide a base browser let say IE 10 for internet explorer and then target browser starting from IE8 to IE11 and then we are picking every link /input on the page and find coordinate (x,y) width and height in base browser(IE10 in this case) and then we do similar activity for base browser and comparing the result.
During our comparative study of the result we found that these parameter never matches :) and it has variances of 5 to15 pixel in most case and in worst scenario more than 20. 
When we took screenshot manually and did comparison in Photoshop the difference was negligible where selenium was showing variance of 15 or more pixel. 

Is this a correct way of doing browser compatability(visual only) and why selenium is not calculating width height left right correctly or we are missing something.

PS We are doing similar excercise for chrome/firefox/safari

Any help/suggestion is highly appreciated.

Thanks!!!
Roshan
 

Vikram

unread,
Jul 29, 2014, 11:18:54 AM7/29/14
to seleniu...@googlegroups.com
Hey Roshan,

Does your product owner really cares about few pixels here and there ?

I will mainly check for functionality , major UI bugs and check if users are really reporting issues on IE.

I wonder if the user base using IE browser is > 10%

Regards,
Vikram

Mark Collin

unread,
Jul 29, 2014, 1:26:21 PM7/29/14
to seleniu...@googlegroups.com
Don’t use Selenium for visual checks, use it for functional ones!

The only way that you could do anything worthwhile using Selenium in my mind is to get Selenium to take a screenshot of each page in each browser, and then perform a manual visual check to see if you are happy with the way they all look.

You will never get a complex website looking identical with zero pixel deviations across multiple browsers on multiple machines, at the most basic level it will be using different fonts on OSX/Windows/Linux.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ac4b2711-373f-4c85-9399-6f8e5a700d44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc
Reply all
Reply to author
Forward
0 new messages