appium_console 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/appium_console/version.rb +2 -2
- data/osx.md +42 -3
- data/readme.md +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGFjNDc1ZmNkOGNmY2QxNjdhZDEzYjQ0YWE0OTI5MTQ5NDUzZGQwNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGM0YjUyOTQwYWUyY2RjOTEwZDVmOGYxMTMwNmNmM2EwM2JiOWY3OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTk3YTdmZjQzYzEwYzdiNGY1ZGJiN2YyZGJjNzYxOWJiMTg3ZDYxMmE0MzE1
|
10
|
+
YjNmYWYzMGQ2ZTgzOGVmMDU3YWRkMmJkNDg0YTFjYWJkMjQ3NmUyMWE1MWM5
|
11
|
+
M2VmM2ZmMjc2N2U5YjNhNjQyZjEwOTk2Yjg3NDc5MThiOTE3NTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODY4OGQxMTZiNGQ1M2QzNTFkOWE3ZjgxN2U0YjQxZjI1NDFiN2ZlM2I1ODdk
|
14
|
+
NDk3MzQ0NmU3Y2UzYTIwYTJkZWEwYWE4MDhmMTFhNjkyNWQxYjExY2JjOTE5
|
15
|
+
ZTNiYzRmYTJhZGMxNjEwMzE2N2FlYjdlMGEyNjkwZjMwNDJmNWI=
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
module AppiumConsole
|
3
|
-
VERSION = '0.0.
|
4
|
-
DATE = '2013-03-
|
3
|
+
VERSION = '0.0.23' unless defined? ::AppiumConsole::VERSION
|
4
|
+
DATE = '2013-03-27' unless defined? ::AppiumConsole::DATE
|
5
5
|
end
|
data/osx.md
CHANGED
@@ -7,13 +7,36 @@ Appium Android should run on Linux however iOS testing requires OS X.
|
|
7
7
|
|
8
8
|
`$ git clone git://github.com/appium/ruby_console.git`
|
9
9
|
|
10
|
-
- Ensure you have Ruby 1.9.3+ (1.8 is not supported).
|
10
|
+
- Ensure you have Ruby 1.9.3+ (1.8 is not supported). Install the latest stable patch release of Ruby 1.9.3 (not Ruby 2.0).
|
11
|
+
|
12
|
+
`$ \curl -L https://get.rvm.io | bash -s stable --ruby=1.9.3`
|
13
|
+
|
14
|
+
- Make sure RVM is using the correct Ruby by default
|
15
|
+
|
16
|
+
```
|
17
|
+
$ rvm list
|
18
|
+
$ rvm --default use 1.9.3
|
19
|
+
```
|
20
|
+
|
21
|
+
- Check that it's installed properly by printing the ruby version.
|
11
22
|
|
12
23
|
`$ ruby --version`
|
13
24
|
|
25
|
+
- Update RubyGems and Bundler.
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
gem update --system ;\
|
29
|
+
gem install --no-rdoc --no-ri bundler ;\
|
30
|
+
gem update bundler
|
31
|
+
```
|
32
|
+
|
14
33
|
- Install appium_console gem.
|
15
34
|
|
16
|
-
|
35
|
+
```ruby
|
36
|
+
gem uninstall -aIx appium_lib ;\
|
37
|
+
gem uninstall -aIx appium_console ;\
|
38
|
+
gem install --no-rdoc --no-ri appium_console
|
39
|
+
```
|
17
40
|
|
18
41
|
- Export APP_PATH, APP_PACKAGE, APP_ACTIVITY
|
19
42
|
|
@@ -27,7 +50,7 @@ export APP_ACTIVITY="MyActivity"
|
|
27
50
|
|
28
51
|
`$ echo $APP_PATH $APP_PACKAGE $APP_ACTIVITY`
|
29
52
|
|
30
|
-
- Install [nodejs](http://nodejs.org/)
|
53
|
+
- Install [nodejs](http://nodejs.org/) using the big green install button. Node should be `v0.10.1` or better.
|
31
54
|
|
32
55
|
`$ node --version`
|
33
56
|
|
@@ -82,3 +105,19 @@ If there are any problems viewing or downloading the packages, go to `Packages -
|
|
82
105
|
`adb kill-server; adb devices`
|
83
106
|
|
84
107
|
If you see `error: protocol fault (no status)` just keep running the command until the emulator is detected.
|
108
|
+
|
109
|
+
- With both the Android emulator running and the Appium server started, it's time to launch the appium console. Make sure the ENV vars are exported.
|
110
|
+
|
111
|
+
APP_ACTIVITY is the activity to start the app with.
|
112
|
+
APP_WAIT_ACTIVITY is the activity to wait for before considering the app as having been started.
|
113
|
+
|
114
|
+
```
|
115
|
+
export APP_PATH="/path/to/my.apk" ;\
|
116
|
+
export APP_PACKAGE="com.my.Pkg" ;\
|
117
|
+
export APP_ACTIVITY="StartActivity"
|
118
|
+
export APP_WAIT_ACTIVITY="SplashActivity"
|
119
|
+
```
|
120
|
+
|
121
|
+
`arc`
|
122
|
+
|
123
|
+
If you see `WARN: Unresolved specs during Gem::Specification.reset:`, it's safe to ignore that.
|
data/readme.md
CHANGED
@@ -52,10 +52,14 @@ For OS X, export the path to your .app bundle `MyApp.app` or zipped app bundle `
|
|
52
52
|
|
53
53
|
For Android:
|
54
54
|
|
55
|
+
`APP_ACTIVITY` is the activity to start the app with.
|
56
|
+
`APP_WAIT_ACTIVITY` is the activity to wait for before considering the app as having been started.
|
57
|
+
|
55
58
|
```
|
56
59
|
export APP_PATH="/path/to/my.apk" ;\
|
57
60
|
export APP_PACKAGE="com.my.Pkg" ;\
|
58
|
-
export APP_ACTIVITY="
|
61
|
+
export APP_ACTIVITY="StartActivity" ;\
|
62
|
+
export APP_WAIT_ACTIVITY="SplashActivity"
|
59
63
|
```
|
60
64
|
|
61
65
|
You may want to define the environment variables in `~/.bash_profile` so you don't have to export them again.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appium_lib
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.23
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.
|
26
|
+
version: 0.0.23
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|