mirror of
https://github.com/appium/appium.git
synced 2026-02-10 20:09:49 -06:00
@@ -40,15 +40,15 @@ Appium最终开启了跨平台原生移动自动化的可能.
|
||||
* Mac OS X 10.7 or higher, 10.8.4 recommended
|
||||
* XCode >= 4.6.3
|
||||
* Apple Developer Tools (iPhone simulator SDK, command line tools)
|
||||
* [Ensure you read our documentation on setting yourself up for iOS testing!](running-on-osx.cn#ios)
|
||||
* [Ensure you read our documentation on setting yourself up for iOS testing!](running-on-osx.cn.md#ios)
|
||||
|
||||
### android依赖
|
||||
|
||||
* [Android SDK](http://developer.android.com) API >= 17 (Additional features require 18)
|
||||
* Appium支持OS X上的Android, Linux和Windows上的beta支持.确保你通过如下的指示来配置你需要运行测试的不同系统的环境
|
||||
* [linux](running-on-linux.cn)
|
||||
* [osx](running-on-osx.cn#android)
|
||||
* [windows](running-on-windows.cn)
|
||||
* [linux](running-on-linux.cn.md)
|
||||
* [osx](running-on-osx.cn.md#android)
|
||||
* [windows](running-on-windows.cn.md)
|
||||
|
||||
### FirefoxOS Requirements
|
||||
|
||||
@@ -71,15 +71,15 @@ Appium最终开启了跨平台原生移动自动化的可能.
|
||||
## 为Appium编写测试
|
||||
|
||||
我们支持 [Selenium WebDriver JSON Wire Protocol](https://github.com/appium/appium/wiki/JSON-Wire-Protocol:-Supported-Methods) 的一个子集
|
||||
首先还需要指定特定移动平台相关的 [desired capabilities](caps.cn) 来通过appium运行你的测试
|
||||
首先还需要指定特定移动平台相关的 [desired capabilities](caps.cn.md) 来通过appium运行你的测试
|
||||
|
||||
你可以通过 [WebDriver](https://code.google.com/p/selenium/wiki/JsonWireProtocol) 的元素定位策略的一个子集来定位元素
|
||||
更多信息请参考 [finding elements](finding-elements.cn)
|
||||
更多信息请参考 [finding elements](finding-elements.cn.md)
|
||||
|
||||
|
||||
我们也对 JSON Wire Protocol for [automating mobile gestures](gestures.cn) 做了一些扩展以支持像 tap, flick, 和 swipe 这样的动作(松开,按压,滑动等手机手势)
|
||||
我们也对 JSON Wire Protocol for [automating mobile gestures](gestures.cn.md) 做了一些扩展以支持像 tap, flick, 和 swipe 这样的动作(松开,按压,滑动等手机手势)
|
||||
|
||||
你也可以在混合模式下自动化你的用HTML5构建的Web页面 [hybrid app guide](hybrid.cn)
|
||||
你也可以在混合模式下自动化你的用HTML5构建的Web页面 [hybrid app guide](hybrid.cn.md)
|
||||
这个代码地址包含了 [很多不同语言的测试例子](https://github.com/appium/appium/tree/master/sample-code/examples/node)!
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ FirefoxOS的支持依赖一个基于Gecko平台并且兼容WebDriver的自动化
|
||||
|
||||
## 其他项目的授权和灵感来源
|
||||
|
||||
[Credits](credits.cn)
|
||||
[Credits](credits.cn.md)
|
||||
|
||||
## 邮件列表
|
||||
|
||||
@@ -112,7 +112,7 @@ FirefoxOS的支持依赖一个基于Gecko平台并且兼容WebDriver的自动化
|
||||
|
||||
## 问题定位
|
||||
|
||||
我们增加了一个 [问题定位指南](troubleshooting.cn).
|
||||
我们增加了一个 [问题定位指南](troubleshooting.cn.md).
|
||||
如果你遇到一些问题,请看下这个问的那个.它包含了一些常见的错误说明,以及在无法解决的情况如何和社区联系
|
||||
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
|
||||
node .
|
||||
|
||||
你可以在 [server documentation](server-args.cn) 找到所有的命令行参数。
|
||||
你可以在 [server documentation](server-args.cn.md) 找到所有的命令行参数。
|
||||
|
||||
|
||||
## 备注
|
||||
* There exists a hardware accelerated emulator for android, it has it's own
|
||||
limitations. For more information you can check out this
|
||||
Android 有一些硬件加速的模拟器,这些模拟器有自己的限制。你可以在 [page](android-hax-emulator.cn) 找到更多的信息。
|
||||
Android 有一些硬件加速的模拟器,这些模拟器有自己的限制。你可以在 [page](android-hax-emulator.cn.md) 找到更多的信息。
|
||||
* 确保你使用的 AVD 里面的 `config.ini` 有这条指令 `hw.battery=yes`。
|
||||
|
||||
@@ -35,4 +35,4 @@ Appium 使用苹果提供的 `instruments` 来启动 iOS 模拟器,默认它
|
||||
我们需要 Maven 来支持 Selendroid, 借助 Selendroid, Appium 可以在低于 4.2 的 Android 版本里运行。
|
||||
* 确保你的 AVD 已经配置好了最新的 Android 版本 (一个可以运行的 UIAutomator)(至少 4.1 )。你可以使用 Android SDK tool 来创建 AVD。 别忘记给 AVD 起个好记的名字,下次你可以用它来启动模拟器并在模拟器上运行测试。
|
||||
* 确保你使用的 AVD 里面的 `config.ini` 有这条指令 `hw.battery=yes`。
|
||||
* Android 有一些硬件加速的模拟器,这些模拟器有自己的限制。你可以在 [page](android-hax-emulator.cn) 找到更多的信息。
|
||||
* Android 有一些硬件加速的模拟器,这些模拟器有自己的限制。你可以在 [page](android-hax-emulator.cn.md) 找到更多的信息。
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
## 备注
|
||||
* 你必须带上--no-reset和--full-reset标记,以用于windows上的android
|
||||
* 有一个硬件加速模拟器用于android,但是它有自己的一些限制,如果你想了解更多,请参考[页面](android-hax-emulator.cn)
|
||||
* 有一个硬件加速模拟器用于android,但是它有自己的一些限制,如果你想了解更多,请参考[页面](android-hax-emulator.cn.md)
|
||||
* 确保在你的AVD的`config.ini`中有一个配置项为`hw.battery=yes`
|
||||
|
||||
|
||||
|
||||
@@ -36,4 +36,4 @@ wd.execute_script("mobile: longClick",{ "touchCount": 1, "x": 0, "y": 300, "elem
|
||||
* long press (长按)
|
||||
* single tap (单击)
|
||||
|
||||
其他手势通过 "Alternative access method" 支持,参见 [自动化手机手势](gestures.cn)
|
||||
其他手势通过 "Alternative access method" 支持,参见 [自动化手机手势](gestures.cn.md)
|
||||
@@ -80,4 +80,4 @@ bundle exec rake ci:fruit_deploy_app | while read line ; do
|
||||
|
||||
Once fruitstrap is killed, node server can be launched and Appium tests can run!
|
||||
|
||||
Next: [Running Appium on Real Devices](./real-devices.html)
|
||||
Next: [Running Appium on Real Devices](real-devices.md)
|
||||
Reference in New Issue
Block a user