简体   繁体   English

跨移动浏览器测试

[英]Cross mobile browser testing

What is the best way to test my website across various mobile browsers AND various versions of each of those browsers.在各种移动浏览器和每种浏览器的各种版本上测试我的网站的最佳方法是什么?


Additional Info:附加信息:

Most of the online cross browser testing support wide range of desktop browser testing, and quite a range of mobile devices.大多数在线跨浏览器测试支持广泛的桌面浏览器测试,以及相当多的移动设备。 But they don't seem to offer various versions of mobile browsers on those devices.但他们似乎没有在这些设备上提供各种版本的移动浏览器。

This similar question is quite old and it is surprising that in spite of the proliferation of mobile devices and focus on responsive designs, testing services for mobile is not catching up. 这个类似的问题已经很老了,令人惊讶的是,尽管移动设备激增并专注于响应式设计,但移动测试服务并没有迎头赶上。

Major mobile browsers I would like to target : various mobile versions of Safari, Chrome, Firefox, Opera, Dolphin, UC Web etc我想定位的主要移动浏览器:Safari、Chrome、Firefox、Opera、Dolphin、UC Web 等的各种移动版本


Just wanted to note this and this good alternative to online testing services for desktop browsers.只是想注意这个这个桌面浏览器在线测试服务的很好的替代品。 Maybe something similar exists for mobile browsers too?也许移动浏览器也存在类似的东西?

I'll suggest that both Opera's "device mode" is a really good for a first crack.我建议 Opera 的“设备模式”都非常适合首次破解。 But nothing beats actual device testing.但没有什么比实际的设备测试更胜一筹了。 I have found the odd case where Chrome's iPhone mode renders something different than what the actual phone does, but I would say it is about 90%.我发现了一个奇怪的情况,Chrome 的 iPhone 模式呈现出与实际手机不同的东西,但我会说它大约是 90%。 And the fact that it is so much easier to tweak code, and refresh using Chrome on the desktop rather than tweak, and refresh on phone, that I tolerate the 10% difference as long as I can.事实上,在桌面上使用 Chrome 调整代码和刷新比在手机上调整和刷新要容易得多,所以我尽可能容忍 10% 的差异。 Then I just verify on an actual device after I am done with Chome's device mode.然后,在完成 Chome 的设备模式后,我只需在实际设备上进行验证。

I have not used Opera's device mode, but have heard it is good too.我没有用过Opera的设备模式,但听说它也不错。

有一个名为https://www.browserling.com/的工具可用于桌面和移动测试(Android)

I don't think there is one way of doing cross browser testing across various mobile browsers and versions.我认为没有一种方法可以跨各种移动浏览器和版本进行跨浏览器测试。 It all boils down to what you want to do?这一切都归结为你想做什么?

It is impossible to cover ALL browser combinations and versions.不可能涵盖所有浏览器组合和版本。 So my suggestion based on experience would be-所以我基于经验的建议是——

  • If you have too many combinations in mind, use a combinatorial tool (pairwise testing) from here - http://www.pairwise.org/tools.asp and reduce the number of permutations to get the best coverage.如果您有太多组合,请使用此处的组合工具(成对测试) - http://www.pairwise.org/tools.asp并减少排列数量以获得最佳覆盖率。

  • Then go to Android and Apple website to see what the most commonly used phones and versions in the US, Europe and Asia region are based on where your customers are located.然后转到 Android 和 Apple 网站,根据您的客户所在的位置查看美国、欧洲和亚洲地区最常用的手机和版本。 They have all these stats publicly available on their website他们在他们的网站上公开了所有这些统计数据

  • If you have google analytics see what browsers, versions and phones your users most commonly use to access your website如果你有谷歌分析,看看你的用户最常使用什么浏览器、版本和手机来访问你的网站

Now, you will have a list of devices and browser versions which is more focused.现在,您将拥有一个更集中的设备和浏览器版本列表。

  • Check what budget you have to invest in cross browser testing.检查您必须在跨浏览器测试上投入多少预算。 Based on that I would recommend buying at least a couple of phones and tablets based on the usage statistics you got in the first 3 steps.基于此,我建议根据您在前 3 个步骤中获得的使用统计数据,至少购买几部手机和平板电脑。 Then, you can choose from a number of cross browser testing tools/services like然后,您可以从许多跨浏览器测试工具/服务中进行选择,例如

Now atleast you have a more scientific way of doing cross browser testing :-)现在至少你有一种更科学的方法来进行跨浏览器测试:-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM