Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 11 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(7)
您可能还想研究 Cucumber 它基本上提供了一种高级语言来执行测试。测试由许多步骤组成,底层的 step_definitions 是用 Ruby 编写的。
Calabash 提供 Android 的步骤定义< /a> 对于 iOS 就像按下按钮一样,滑动、滚动……
但不确定这对于移动设备上的网络测试效果如何。
You might also want to look into Cucumber which basically offers a high level language to execute tests. A test consists of a number of steps and the underlying step_definitions are written in Ruby.
Calabash offers step definitions for Android and for iOS like pressing a button, swipe, scroll, ...
Not sure though how this works out for web testing on mobile devices.
有多种工具可以测试 iOS 和 Android 应用程序。以下是一个选择:
There are multiple tools that can test iOS and Android applications. Here is a selection:
我从来没有使用过任何其他的 Android 系统,但 Robotium 对我来说是最好的。
编辑:
Android WebDriver 允许运行自动化的端到端测试,以确保您的网站在从 Android 浏览器查看时正常工作。
Selenium - 浏览器自动化框架
I never use any other for android but Robotium is best in my case.
EDIT:
Android WebDriver allows to run automated end-to-end tests that ensure your site works correctly when viewed from the Android browser.
Selenium - Browser automation framework
WebDriver 是 selenium 2,它支持 Android 和 iOS。
您还可以考虑 experitest 的 SeeTest,它支持 dom 和图像处理。
WebDriver is selenium 2 and it support both Android and iOS.
You could also consider SeeTest from experitest, it support both dom and image processing.
MonkeyTalk 似乎能够处理 iOS、Android 和 Web。免责声明:我刚刚开始玩 MonkeyTalk,并没有使用 Robotium。
MonkeyTalk seems to be able to handle both iOS, Android and web. Disclaimer: I just started playing with MonkeyTalk and did not use Robotium.
另一个选择是 Appium,这是一种与 Selenium 兼容的移动自动化工具,可以自动化移动应用程序,包括移动浏览器。
Another option is Appium, a Selenium-compatible mobile automation tool that can automate mobile apps, including mobile browsers.
看起来答案是:是的,这些是现在的两个标准工具(截至 2011 年 10 月,即该答案最初撰写的时间)。
有些服务可以允许在真实(不是仿真器或模拟器)iOS 和 Android 设备上进行自动化测试,包括 MonkeyTalk 和 experitest (截至 2013 年 4 月对答案的修订)。
Looks like the answer is: Yep, those are the two standard tools right now (as of October 2011, when this answer was originally written).
There are services that may allow automated tests on both real (not emulators or simulators) iOS and Android devices including MonkeyTalk and experitest (as of this revision to the answer in April 2013).