mirror of
https://github.com/appium/appium.git
synced 2026-05-24 21:08:51 -05:00
Updated references from iOS 6.1 to iOS 7.1 and references from Android 4.2 to Android 4.4.
[ci skip]
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ you will see your device on the grid console page:
|
||||
[
|
||||
{
|
||||
"browserName": "<e.g._iPhone5_or_iPad4>",
|
||||
"version":"<version_of_iOS_e.g._6.1>",
|
||||
"version":"<version_of_iOS_e.g._7.1>",
|
||||
"maxInstances": 1,
|
||||
"platform":"<platform_e.g._MAC_or_ANDROID>"
|
||||
}
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@ kinds of appium dev tasks. Here's what you can do:
|
||||
|grunt lint|Run JSLint|
|
||||
|grunt test|Run the unit tests|
|
||||
|grunt unit|Run the unit tests|
|
||||
|grunt buildApp:<AppName>:<SDK>|Build an iOS app for the iPhone Simulator. Expects there to be a .app at `sample-code/apps/<AppName>/build/Release-iphonesimulator/<AppName>.app`. Default SDK is 'iphonesimulator6.0'|
|
||||
|grunt buildApp:<AppName>:<SDK>|Build an iOS app for the iPhone Simulator. Expects there to be a .app at `sample-code/apps/<AppName>/build/Release-iphonesimulator/<AppName>.app`. Default SDK is 'iphonesimulator7.1'|
|
||||
|grunt signApp:<certName>|Signs the test app with an absolute path to an iOS dev certificate|
|
||||
|grunt authorize|Authorize your simulator to run without prompting|
|
||||
|grunt log|Tail appium.log (useful when running tests)|
|
||||
@@ -24,7 +24,7 @@ kinds of appium dev tasks. Here's what you can do:
|
||||
|
||||
## Miscellaneous notes
|
||||
|
||||
By default, `grunt buildApp` builds apps using the iPhone 6.1 simulator SDK.
|
||||
By default, `grunt buildApp` builds apps using the iPhone 7.1 simulator SDK.
|
||||
You can overwrite the simulator by passing another SDK to grunt (to figure out
|
||||
which SDKs you have available, try `xcodebuild -showsdks`:
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ Then, use desired capabilities like these to run your test in mobile Safari:
|
||||
```js
|
||||
{
|
||||
platformName: 'iOS'
|
||||
, platformVersion: '6.1'
|
||||
, platformVersion: '7.1'
|
||||
, browserName: 'Safari'
|
||||
, deviceName: 'iPhone Simulator'
|
||||
}
|
||||
@@ -27,7 +27,7 @@ Then, use desired capabilities like these to run your test in mobile Safari:
|
||||
```python
|
||||
{
|
||||
'platformName': 'iOS',
|
||||
'platformVersion': '6.1',
|
||||
'platformVersion': '7.1',
|
||||
'browserName': 'Safari',
|
||||
'deviceName': 'iPhone Simulator'
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@ Appium on OS X supports iOS and Android testing.
|
||||
|
||||
* Appium requires Mac OS X 10.7, but 10.8 is recommended.
|
||||
* Make sure you have XCode and the iOS SDK(s) installed. (Appium currently
|
||||
supports Xcode 4.6.3 for iOS up to 6.1 and Xcode 5 for iOS 7.0. Note that
|
||||
testing against iOS versions below 7.0 using Xcode 5 is not recommended. See
|
||||
the next section for more information.)
|
||||
supports Xcode 4.6.3 for iOS up to 6.1 and Xcode 5 for iOS 7.0 and 7.1. Note
|
||||
that testing against iOS versions below 7.0 using Xcode 5 is not recommended.
|
||||
See the next section for more information.)
|
||||
* You need to authorize use of the iOS Simulator. If you are running Appium
|
||||
from NPM, you'll do this by running `sudo authorize_ios` (`authorize_ios` is
|
||||
a binary made available by the Appium npm package). If you're running Appium
|
||||
@@ -20,7 +20,7 @@ Appium on OS X supports iOS and Android testing.
|
||||
Apple's `instruments` binary, which Appium uses to launch the iOS simulator, by
|
||||
default uses the currently-selected Xcode, and the highest iOS SDK installed
|
||||
with that version of Xcode. This means that if you want to test iOS 6.1, but
|
||||
have iOS 7.0 installed, Appium will be forced to use the 7.0 Simulator
|
||||
have iOS 7.1 installed, Appium will be forced to use the 7.1 Simulator
|
||||
regardless. The only way around this is to have multiple copies of Xcode
|
||||
installed with different sets of SDKs. You can then switch to the particular
|
||||
copy of Xcode that has the versions you want to test with before starting
|
||||
@@ -39,7 +39,7 @@ To prepare for iOS 6.1 testing. We run it again with a different Xcode:
|
||||
|
||||
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
|
||||
|
||||
To go back to iOS 7.0 testing.
|
||||
To go back to iOS 7.1 testing.
|
||||
|
||||
## System setup (Android)
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ Then script your WebDriver test, sending in the following desired capabilities:
|
||||
```js
|
||||
{
|
||||
platformName: 'iOS',
|
||||
platformVersion: '6.1',
|
||||
platformVersion: '7.1',
|
||||
deviceName: 'iPhone Simulator',
|
||||
app: myApp
|
||||
}
|
||||
@@ -43,7 +43,7 @@ Then script your WebDriver test, sending in the following desired capabilities:
|
||||
```python
|
||||
{
|
||||
'platformName': 'iOS',
|
||||
'platformVersion': '6.1',
|
||||
'platformVersion': '7.1',
|
||||
'deviceName': 'iPhone Simulator',
|
||||
'app': myApp
|
||||
}
|
||||
@@ -88,7 +88,7 @@ Then script your WebDriver test, sending in the following desired capabilities:
|
||||
```js
|
||||
{
|
||||
platformName: 'Android',
|
||||
platformVersion: '4.2',
|
||||
platformVersion: '4.4',
|
||||
deviceName: 'Android Emulator',
|
||||
app: myApp
|
||||
}
|
||||
@@ -97,7 +97,7 @@ Then script your WebDriver test, sending in the following desired capabilities:
|
||||
```python
|
||||
{
|
||||
'platformName': 'Android',
|
||||
'platformVersion': '4.2',
|
||||
'platformVersion': '4.4',
|
||||
'deviceName': 'Android Emulator',
|
||||
'app': myApp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user