硒是值得的测试在移动设备上?测试、设备

由网友(我去、少年你这是喜脉!)分享简介:我们一直在准备做我们的使用Selenium的Web应用程序的UI测试。我们现在有第二个想法。从我可以告诉,该webdrivers为Android和iOS设备不使用,用户将使用实际的浏览器。相反,他们使用web视图,其可以是或可以不是类似于实际的浏览器。我已经看到了Android版,特别各种报告,似乎表明的WebView...

我们一直在准备做我们的使用Selenium的Web应用程序的UI测试。我们现在有第二个想法。从我可以告诉,该webdrivers为Android和iOS设备不使用,用户将使用实际的浏览器。相反,他们使用web视图,其可以是或可以不是类似于实际的浏览器。我已经看到了Android版,特别各种报告,似乎表明的WebView行为不同于内置的浏览器和Chrome浏览器,这是现在某些设备上的默认。

We've been planning to do UI testing of our web application using Selenium. We're now having second thoughts. From what I can tell, the webdrivers for Android and iOS devices don't use the actual browser that a user would use. Instead they use a WebView, which may or may not be similar to the actual browser. I've seen various reports for Android in particular that seem to indicate that the WebView behaves differently than the built in browser and from Chrome, which is now the default on some devices.

你是否觉得使用Selenium测试实际的硬件设备上是值得的?是不是比使用仿真器或多或少准确?你发现了什么是使用自动化测试,让你舒服,你的web应用程序将正常工作在所有您所支持的硬件平台的最有效方法是什么?

Do you find that using Selenium to test on the actual hardware device is worthwhile? Is it more or less accurate than using emulators? What have you found is the most effective way to use automated testing to make you comfortable that your web application will work correctly on all of the hardware platforms that you support?

在我们的例子中,我们需要支持近期主流浏览器版本在PC,Mac,平板电脑和电话。硒是运作良好的PC测试,但我关心的平板电脑和手机的测试。我们正在考虑是否要推出我们自己的,或者使用类似uitest.js,我们实际上可以在实际设备浏览器中运行。

In our case, we need to support recent versions of major browsers on PCs, Macs, tablets, and phones. Selenium is working well for the PC testing, but I'm concerned about the tablet and phone testing. We're considering whether we should roll our own or use something like uitest.js that we can actually run on the actual device browsers.

推荐答案

虽然两者存在于硒webdriver的源$ C ​​$ C库今天iPhone的驱动程序和Android驱动程序使用WebView控件来浏览网页,这两个项目都在很大程度上是德precated。这种去precation是明确的,在iPhone的驱动程序的情况下,和默契在Android驱动程序的情况下。

While both the iPhone driver and Android driver that exist in the Selenium WebDriver source code repository today use a WebView control to browse the web, both projects have been largely deprecated. This deprecation is explicit in the case of the iPhone driver, and tacit in the case of the Android driver.

这些驱动程序已被取代其他项目,如 IOS驱动,的

阅读全文

相关推荐

最新文章