awetestlib 0.1.28 → 0.1.29pre1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitattributes +22 -22
- data/.gitignore +69 -69
- data/.yardopts +7 -7
- data/README.md +108 -108
- data/awetestlib.gemspec +57 -57
- data/awetestlib.windows.gemspec +41 -41
- data/awetestlib_notes.txt +4 -4
- data/awetestlib_osx.gemspec +47 -48
- data/bin/awetestlib +99 -99
- data/bin/awetestlib-android-setup.rb +26 -26
- data/bin/awetestlib-cucumber-setup.rb +28 -28
- data/bin/awetestlib-driver-setup.rb +21 -21
- data/bin/awetestlib-helpers.rb +41 -41
- data/bin/awetestlib-mobile-app-setup.rb +31 -31
- data/bin/awetestlib-netbeans-setup.rb +58 -58
- data/bin/awetestlib-regression-setup.rb +15 -15
- data/bin/awetestlib-rubymine-setup.rb +39 -39
- data/drivers/chromedriver.exe +0 -0
- data/ext/Rakefile +1 -1
- data/ext/mkrf_conf.rb +27 -27
- data/lib/awetestlib/html_report.rb +142 -142
- data/lib/awetestlib/logging.rb +366 -366
- data/lib/awetestlib/regression/browser.rb +1380 -1375
- data/lib/awetestlib/regression/drag_and_drop.rb +421 -420
- data/lib/awetestlib/regression/find.rb +345 -345
- data/lib/awetestlib/regression/legacy.rb +1187 -1187
- data/lib/awetestlib/regression/page_data.rb +191 -191
- data/lib/awetestlib/regression/runner.rb +307 -307
- data/lib/awetestlib/regression/tables.rb +627 -619
- data/lib/awetestlib/regression/user_input.rb +576 -576
- data/lib/awetestlib/regression/utilities.rb +1046 -988
- data/lib/awetestlib/regression/validations.rb +1093 -1074
- data/lib/awetestlib/regression/waits.rb +470 -470
- data/lib/awetestlib/runner.rb +18 -18
- data/lib/awetestlib.rb +41 -41
- data/lib/patches/README +2 -2
- data/lib/patches/firewatir.rb +106 -106
- data/lib/patches/watir.rb +175 -175
- data/lib/version.rb +2 -2
- data/license.txt +13 -13
- data/netbeans_setup.md +29 -29
- data/rdoc_test.bat +1 -1
- data/rubymine_setup.md +23 -23
- data/setup_samples/sample_android/features/dk.mejer.hansen.control.FlyingColorsPlayerAidActivity.apk +0 -0
- data/setup_samples/sample_android/features/sample_android.feature +5 -5
- data/setup_samples/sample_android/features/step_definitions/calabash_steps.rb +1 -1
- data/setup_samples/sample_android/features/support/app_installation_hooks.rb +36 -36
- data/setup_samples/sample_android/features/support/app_life_cycle_hooks.rb +14 -14
- data/setup_samples/sample_android/features/test_servers/8ba795a0288381ae346b67867b586881_0.3.2.apk +0 -0
- data/setup_samples/sample_cucumber/features/step_definitions/predefined_steps.rb +76 -76
- data/setup_samples/sample_cucumber/features/yahoo_mail.feature +11 -11
- data/setup_samples/sample_mobile_app/features/my_first.feature +14 -14
- data/setup_samples/sample_mobile_app/features/step_definitions/predefined_webview_steps.rb +80 -80
- data/setup_samples/sample_mobile_app/features/support/env.rb +2 -2
- data/setup_samples/sample_netbeans/demo.rb +86 -86
- data/setup_samples/sample_netbeans/nbproject/configs/Demo.properties +2 -2
- data/setup_samples/sample_netbeans/nbproject/private/config.properties +1 -1
- data/setup_samples/sample_netbeans/nbproject/private/configs/Demo.properties +2 -2
- data/setup_samples/sample_netbeans/nbproject/private/private.properties +2 -2
- data/setup_samples/sample_netbeans/nbproject/project.properties +5 -5
- data/setup_samples/sample_netbeans/nbproject/project.xml +13 -13
- data/setup_samples/sample_rubymine/.idea/encodings.xml +5 -5
- data/setup_samples/sample_rubymine/.idea/misc.xml +5 -5
- data/setup_samples/sample_rubymine/.idea/modules.xml +9 -9
- data/setup_samples/sample_rubymine/.idea/sample_rubymine.iml +9 -9
- data/setup_samples/sample_rubymine/.idea/scopes/scope_settings.xml +4 -4
- data/setup_samples/sample_rubymine/.idea/vcs.xml +7 -7
- data/setup_samples/sample_rubymine/.idea/workspace.xml +213 -213
- data/setup_samples/sample_rubymine/demo.rb +86 -86
- data/test/create_zoho.rb +66 -66
- data/test/create_zoho_account1.rb +68 -68
- data/test/create_zoho_account2.rb +72 -72
- data/test/demo.rb +87 -87
- data/test/google_search1.rb +16 -16
- data/test/google_search2.rb +19 -19
- data/test/login_1.rb +37 -37
- data/test/login_1a.rb +37 -37
- data/test/login_2.rb +32 -32
- data/test/zoho_exercise.rb +21 -21
- data/test/zoho_util.rb +487 -487
- data/tmp/placeholder.html +71 -71
- metadata +18 -49
data/.gitattributes
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
# Auto detect text files and perform LF normalization
|
2
|
-
* text=auto
|
3
|
-
|
4
|
-
# Custom for Visual Studio
|
5
|
-
*.cs diff=csharp
|
6
|
-
*.sln merge=union
|
7
|
-
*.csproj merge=union
|
8
|
-
*.vbproj merge=union
|
9
|
-
*.fsproj merge=union
|
10
|
-
*.dbproj merge=union
|
11
|
-
|
12
|
-
# Standard to msysgit
|
13
|
-
*.doc diff=astextplain
|
14
|
-
*.DOC diff=astextplain
|
15
|
-
*.docx diff=astextplain
|
16
|
-
*.DOCX diff=astextplain
|
17
|
-
*.dot diff=astextplain
|
18
|
-
*.DOT diff=astextplain
|
19
|
-
*.pdf diff=astextplain
|
20
|
-
*.PDF diff=astextplain
|
21
|
-
*.rtf diff=astextplain
|
22
|
-
*.RTF diff=astextplain
|
1
|
+
# Auto detect text files and perform LF normalization
|
2
|
+
* text=auto
|
3
|
+
|
4
|
+
# Custom for Visual Studio
|
5
|
+
*.cs diff=csharp
|
6
|
+
*.sln merge=union
|
7
|
+
*.csproj merge=union
|
8
|
+
*.vbproj merge=union
|
9
|
+
*.fsproj merge=union
|
10
|
+
*.dbproj merge=union
|
11
|
+
|
12
|
+
# Standard to msysgit
|
13
|
+
*.doc diff=astextplain
|
14
|
+
*.DOC diff=astextplain
|
15
|
+
*.docx diff=astextplain
|
16
|
+
*.DOCX diff=astextplain
|
17
|
+
*.dot diff=astextplain
|
18
|
+
*.DOT diff=astextplain
|
19
|
+
*.pdf diff=astextplain
|
20
|
+
*.PDF diff=astextplain
|
21
|
+
*.rtf diff=astextplain
|
22
|
+
*.RTF diff=astextplain
|
data/.gitignore
CHANGED
@@ -1,69 +1,69 @@
|
|
1
|
-
awetestlib*.gem
|
2
|
-
*.csv
|
3
|
-
|
4
|
-
# gVim tmp files
|
5
|
-
*~
|
6
|
-
# rcov generated
|
7
|
-
coverage
|
8
|
-
|
9
|
-
# rdoc generated
|
10
|
-
rdoc
|
11
|
-
|
12
|
-
# yard generated
|
13
|
-
doc
|
14
|
-
.yardoc
|
15
|
-
|
16
|
-
# bundler
|
17
|
-
.bundle
|
18
|
-
Gemfile.lock
|
19
|
-
|
20
|
-
# jeweler generated
|
21
|
-
pkg
|
22
|
-
|
23
|
-
# for windows
|
24
|
-
Thumb.db
|
25
|
-
|
26
|
-
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
27
|
-
#
|
28
|
-
# * Create a file at ~/.gitignore
|
29
|
-
# * Include files you want ignored
|
30
|
-
# * Run: git config --global core.excludesfile ~/.gitignore
|
31
|
-
#
|
32
|
-
# After doing this, these files will be ignored in all your git projects,
|
33
|
-
# saving you from having to 'pollute' every project you touch with them
|
34
|
-
#
|
35
|
-
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
36
|
-
#
|
37
|
-
# For MacOS:
|
38
|
-
#
|
39
|
-
.DS_Store
|
40
|
-
tmp/*
|
41
|
-
.rvmrc
|
42
|
-
|
43
|
-
# For TextMate
|
44
|
-
#*.tmproj
|
45
|
-
#tmtags
|
46
|
-
|
47
|
-
# For emacs:
|
48
|
-
#*~
|
49
|
-
#\#*
|
50
|
-
#.\#*
|
51
|
-
|
52
|
-
# For vim:
|
53
|
-
*.sw[onp]
|
54
|
-
|
55
|
-
# For redcar:
|
56
|
-
#.redcar
|
57
|
-
|
58
|
-
# For rubinius:
|
59
|
-
#*.rbc
|
60
|
-
|
61
|
-
config/win2008.txt
|
62
|
-
|
63
|
-
__MACOSX/
|
64
|
-
short_passing_test/
|
65
|
-
dump.rdb
|
66
|
-
.idea
|
67
|
-
config/settings.yml
|
68
|
-
PROJECT_NAME
|
69
|
-
*.log
|
1
|
+
awetestlib*.gem
|
2
|
+
*.csv
|
3
|
+
|
4
|
+
# gVim tmp files
|
5
|
+
*~
|
6
|
+
# rcov generated
|
7
|
+
coverage
|
8
|
+
|
9
|
+
# rdoc generated
|
10
|
+
rdoc
|
11
|
+
|
12
|
+
# yard generated
|
13
|
+
doc
|
14
|
+
.yardoc
|
15
|
+
|
16
|
+
# bundler
|
17
|
+
.bundle
|
18
|
+
Gemfile.lock
|
19
|
+
|
20
|
+
# jeweler generated
|
21
|
+
pkg
|
22
|
+
|
23
|
+
# for windows
|
24
|
+
Thumb.db
|
25
|
+
|
26
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
27
|
+
#
|
28
|
+
# * Create a file at ~/.gitignore
|
29
|
+
# * Include files you want ignored
|
30
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
31
|
+
#
|
32
|
+
# After doing this, these files will be ignored in all your git projects,
|
33
|
+
# saving you from having to 'pollute' every project you touch with them
|
34
|
+
#
|
35
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
36
|
+
#
|
37
|
+
# For MacOS:
|
38
|
+
#
|
39
|
+
.DS_Store
|
40
|
+
tmp/*
|
41
|
+
.rvmrc
|
42
|
+
|
43
|
+
# For TextMate
|
44
|
+
#*.tmproj
|
45
|
+
#tmtags
|
46
|
+
|
47
|
+
# For emacs:
|
48
|
+
#*~
|
49
|
+
#\#*
|
50
|
+
#.\#*
|
51
|
+
|
52
|
+
# For vim:
|
53
|
+
*.sw[onp]
|
54
|
+
|
55
|
+
# For redcar:
|
56
|
+
#.redcar
|
57
|
+
|
58
|
+
# For rubinius:
|
59
|
+
#*.rbc
|
60
|
+
|
61
|
+
config/win2008.txt
|
62
|
+
|
63
|
+
__MACOSX/
|
64
|
+
short_passing_test/
|
65
|
+
dump.rdb
|
66
|
+
.idea
|
67
|
+
config/settings.yml
|
68
|
+
PROJECT_NAME
|
69
|
+
*.log
|
data/.yardopts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
--hide-void-return
|
2
|
-
--verbose
|
3
|
-
--exclude version.rb
|
4
|
-
--exclude html_report.rb
|
5
|
-
--no-private
|
6
|
-
--title "Awetest DSL"
|
7
|
-
lib/**/*.rb
|
1
|
+
--hide-void-return
|
2
|
+
--verbose
|
3
|
+
--exclude version.rb
|
4
|
+
--exclude html_report.rb
|
5
|
+
--no-private
|
6
|
+
--title "Awetest DSL"
|
7
|
+
lib/**/*.rb
|
data/README.md
CHANGED
@@ -1,108 +1,108 @@
|
|
1
|
-
Awetestlib
|
2
|
-
==========
|
3
|
-
|
4
|
-
Run automated regression and mobile tests
|
5
|
-
|
6
|
-
After completing this guide you will be able to run tests locally from command line or from an IDE
|
7
|
-
|
8
|
-
------------
|
9
|
-
|
10
|
-
## Prerequisites
|
11
|
-
|
12
|
-
You need to have Ruby 1.8.7 installed. You can download Ruby 1.8.7
|
13
|
-
[here](http://rubyinstaller.org/downloads/)
|
14
|
-
|
15
|
-
You can check your Ruby version using:
|
16
|
-
|
17
|
-
ruby -v
|
18
|
-
|
19
|
-
Additionally, you will need to install DevKit to compile a few dependent gems. You can download DevKit
|
20
|
-
[here](http://rubyinstaller.org/downloads/)
|
21
|
-
|
22
|
-
## Install
|
23
|
-
|
24
|
-
In a terminal or command prompt, install the awetestlib gem
|
25
|
-
|
26
|
-
gem install awetestlib --no-ri --no-rdoc
|
27
|
-
|
28
|
-
Note: This could take up to 5 minutes for first time installs and you may need to use 'sudo'
|
29
|
-
|
30
|
-
|
31
|
-
## Setup Regression Module
|
32
|
-
|
33
|
-
To setup the regression module, run the following command and verify the step
|
34
|
-
|
35
|
-
awetestlib regression_setup
|
36
|
-
|
37
|
-
## Usage
|
38
|
-
|
39
|
-
Run the following command to see the different usages
|
40
|
-
|
41
|
-
awetestlib
|
42
|
-
|
43
|
-
## Setup Browsers
|
44
|
-
|
45
|
-
### Setup Safari (Mac OS X only)
|
46
|
-
|
47
|
-
To setup support for Safari browser, please follow the instructions at [SafariDriver](http://code.google.com/p/selenium/wiki/SafariDriver)
|
48
|
-
|
49
|
-
### Setup Chrome
|
50
|
-
To setup support for Google Chrome browser, please download the latest Chromedriver version from [here](http://code.google.com/p/chromedriver/downloads/list)
|
51
|
-
|
52
|
-
Then move the executables in your PATH. To find your PATHs, type the command below in your terminal/command prompt
|
53
|
-
|
54
|
-
For Mac OSX:
|
55
|
-
|
56
|
-
echo $PATH
|
57
|
-
|
58
|
-
For Windows:
|
59
|
-
|
60
|
-
PATH
|
61
|
-
|
62
|
-
### Setup Internet Explorer
|
63
|
-
To setup support for Internet Explorer, please download the latest IEDriver version from [here](http://code.google.com/p/selenium/downloads/list)
|
64
|
-
and move the executable into your PATH.
|
65
|
-
|
66
|
-
|
67
|
-
### Setup IDEs (Rubymine, Netbeans)
|
68
|
-
|
69
|
-
To setup the awetestlib gem with Rubymine use:
|
70
|
-
|
71
|
-
awetestlib rubymine_setup <ProjectName>
|
72
|
-
|
73
|
-
To setup awetestlib with Netbeans use:
|
74
|
-
|
75
|
-
awetestlib netbeans_setup <ProjectName>
|
76
|
-
|
77
|
-
You can now start your scripts within the IDE. Use the Run Configuration button.
|
78
|
-
|
79
|
-
For additional information on IDE setup, refer to the links below:
|
80
|
-
|
81
|
-
- [Netbeans IDE setup](https://github.com/3qilabs/awetestlib/blob/develop/netbeans_setup.md)
|
82
|
-
|
83
|
-
- [Rubymine IDE setup](https://github.com/3qilabs/awetestlib/blob/develop/rubymine_setup.md)
|
84
|
-
|
85
|
-
3. If you prefer to run your tests from command line, you can use the following command
|
86
|
-
- `awetestlib <script_file> [parameters]`
|
87
|
-
|
88
|
-
For example: To run a script named demo.rb in Firefox, your command will look like.
|
89
|
-
- `awetestlib demo.rb -b FF`
|
90
|
-
|
91
|
-
The full list of parameters for the command line currently are:
|
92
|
-
|
93
|
-
Usage: awetestlib <script_file> [parameters] [options]
|
94
|
-
-b, --browser BROWSER Specify a browser (IE, FF, S, C)
|
95
|
-
-l, --library LIBRARY Specify a library to be loaded
|
96
|
-
-r, --root_path ROOT_PATH Specify the root path
|
97
|
-
-x, --excel EXCEL_FILE Specify an excel file containing variables to be loaded
|
98
|
-
-v, --version VERSION Specify a browser version
|
99
|
-
|
100
|
-
To start writing your own script, refer to the [Scripting Guide/Wiki](https://github.com/3qilabs/awetestlib/wiki/Getting-Started---Scripting) wiki
|
101
|
-
|
102
|
-
### Cucumber Support
|
103
|
-
|
104
|
-
One of the technologies that the Awetest framework supports is [Cucumber](http://cukes.info/). To get setup with cucumber, you can run the following command: `awetestlib cucumber_setup` which will create your typical cucumber folder structure.
|
105
|
-
|
106
|
-
Visit our [wiki](https://github.com/3qilabs/awetestlib/wiki/Predefined-Cucumber-Web-Steps) to see the list of predefined steps provided by awetestlib
|
107
|
-
|
108
|
-
|
1
|
+
Awetestlib
|
2
|
+
==========
|
3
|
+
|
4
|
+
Run automated regression and mobile tests
|
5
|
+
|
6
|
+
After completing this guide you will be able to run tests locally from command line or from an IDE
|
7
|
+
|
8
|
+
------------
|
9
|
+
|
10
|
+
## Prerequisites
|
11
|
+
|
12
|
+
You need to have Ruby 1.8.7 installed. You can download Ruby 1.8.7
|
13
|
+
[here](http://rubyinstaller.org/downloads/)
|
14
|
+
|
15
|
+
You can check your Ruby version using:
|
16
|
+
|
17
|
+
ruby -v
|
18
|
+
|
19
|
+
Additionally, you will need to install DevKit to compile a few dependent gems. You can download DevKit
|
20
|
+
[here](http://rubyinstaller.org/downloads/)
|
21
|
+
|
22
|
+
## Install
|
23
|
+
|
24
|
+
In a terminal or command prompt, install the awetestlib gem
|
25
|
+
|
26
|
+
gem install awetestlib --no-ri --no-rdoc
|
27
|
+
|
28
|
+
Note: This could take up to 5 minutes for first time installs and you may need to use 'sudo'
|
29
|
+
|
30
|
+
|
31
|
+
## Setup Regression Module
|
32
|
+
|
33
|
+
To setup the regression module, run the following command and verify the step
|
34
|
+
|
35
|
+
awetestlib regression_setup
|
36
|
+
|
37
|
+
## Usage
|
38
|
+
|
39
|
+
Run the following command to see the different usages
|
40
|
+
|
41
|
+
awetestlib
|
42
|
+
|
43
|
+
## Setup Browsers
|
44
|
+
|
45
|
+
### Setup Safari (Mac OS X only)
|
46
|
+
|
47
|
+
To setup support for Safari browser, please follow the instructions at [SafariDriver](http://code.google.com/p/selenium/wiki/SafariDriver)
|
48
|
+
|
49
|
+
### Setup Chrome
|
50
|
+
To setup support for Google Chrome browser, please download the latest Chromedriver version from [here](http://code.google.com/p/chromedriver/downloads/list)
|
51
|
+
|
52
|
+
Then move the executables in your PATH. To find your PATHs, type the command below in your terminal/command prompt
|
53
|
+
|
54
|
+
For Mac OSX:
|
55
|
+
|
56
|
+
echo $PATH
|
57
|
+
|
58
|
+
For Windows:
|
59
|
+
|
60
|
+
PATH
|
61
|
+
|
62
|
+
### Setup Internet Explorer
|
63
|
+
To setup support for Internet Explorer, please download the latest IEDriver version from [here](http://code.google.com/p/selenium/downloads/list)
|
64
|
+
and move the executable into your PATH.
|
65
|
+
|
66
|
+
|
67
|
+
### Setup IDEs (Rubymine, Netbeans)
|
68
|
+
|
69
|
+
To setup the awetestlib gem with Rubymine use:
|
70
|
+
|
71
|
+
awetestlib rubymine_setup <ProjectName>
|
72
|
+
|
73
|
+
To setup awetestlib with Netbeans use:
|
74
|
+
|
75
|
+
awetestlib netbeans_setup <ProjectName>
|
76
|
+
|
77
|
+
You can now start your scripts within the IDE. Use the Run Configuration button.
|
78
|
+
|
79
|
+
For additional information on IDE setup, refer to the links below:
|
80
|
+
|
81
|
+
- [Netbeans IDE setup](https://github.com/3qilabs/awetestlib/blob/develop/netbeans_setup.md)
|
82
|
+
|
83
|
+
- [Rubymine IDE setup](https://github.com/3qilabs/awetestlib/blob/develop/rubymine_setup.md)
|
84
|
+
|
85
|
+
3. If you prefer to run your tests from command line, you can use the following command
|
86
|
+
- `awetestlib <script_file> [parameters]`
|
87
|
+
|
88
|
+
For example: To run a script named demo.rb in Firefox, your command will look like.
|
89
|
+
- `awetestlib demo.rb -b FF`
|
90
|
+
|
91
|
+
The full list of parameters for the command line currently are:
|
92
|
+
|
93
|
+
Usage: awetestlib <script_file> [parameters] [options]
|
94
|
+
-b, --browser BROWSER Specify a browser (IE, FF, S, C)
|
95
|
+
-l, --library LIBRARY Specify a library to be loaded
|
96
|
+
-r, --root_path ROOT_PATH Specify the root path
|
97
|
+
-x, --excel EXCEL_FILE Specify an excel file containing variables to be loaded
|
98
|
+
-v, --version VERSION Specify a browser version
|
99
|
+
|
100
|
+
To start writing your own script, refer to the [Scripting Guide/Wiki](https://github.com/3qilabs/awetestlib/wiki/Getting-Started---Scripting) wiki
|
101
|
+
|
102
|
+
### Cucumber Support
|
103
|
+
|
104
|
+
One of the technologies that the Awetest framework supports is [Cucumber](http://cukes.info/). To get setup with cucumber, you can run the following command: `awetestlib cucumber_setup` which will create your typical cucumber folder structure.
|
105
|
+
|
106
|
+
Visit our [wiki](https://github.com/3qilabs/awetestlib/wiki/Predefined-Cucumber-Web-Steps) to see the list of predefined steps provided by awetestlib
|
107
|
+
|
108
|
+
|
data/awetestlib.gemspec
CHANGED
@@ -1,57 +1,57 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
puts "#{$0}"
|
3
|
-
require "lib/version"
|
4
|
-
|
5
|
-
#hack for debugging
|
6
|
-
`wellsproxy`
|
7
|
-
#end hack
|
8
|
-
|
9
|
-
Gem::Specification.new do |s|
|
10
|
-
|
11
|
-
s.name = "awetestlib"
|
12
|
-
s.version = Awetestlib::VERSION
|
13
|
-
s.date = Awetestlib::VERSION_DATE
|
14
|
-
s.platform = Gem::Platform::RUBY
|
15
|
-
|
16
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
17
|
-
s.authors = ["Anthony Woo", "Patrick Neve"]
|
18
|
-
s.email = %q{patrick@3qilabs.com}
|
19
|
-
s.summary = %q{Awetest DSL for automated testing of browser-based applications.}
|
20
|
-
s.homepage = %q{http://3qilabs.com}
|
21
|
-
s.description = %q{Awetest DSL for automated testing of browser-based applications.}
|
22
|
-
|
23
|
-
# possible dependencies (from shamisen gemfile)
|
24
|
-
#s.add_dependency('i18n')
|
25
|
-
|
26
|
-
# windows specific
|
27
|
-
#s.add_dependency('watir', '1.8.1')
|
28
|
-
#s.add_dependency('commonwatir', '1.8.1')
|
29
|
-
#s.add_dependency('firewatir', '1.8.1')
|
30
|
-
#s.add_dependency('watirloo')
|
31
|
-
#s.add_dependency('win32-process')
|
32
|
-
#s.add_dependency('win32screenshot')
|
33
|
-
|
34
|
-
# all platforms?
|
35
|
-
begin
|
36
|
-
#s.add_dependency('ffi', '= 1.0.9')
|
37
|
-
s.add_dependency('activesupport', '~> 3.0.0')
|
38
|
-
s.add_dependency('watir-webdriver')
|
39
|
-
s.add_dependency('andand')
|
40
|
-
s.add_dependency('spreadsheet', '0.6.8')
|
41
|
-
s.add_dependency('google-spreadsheet-ruby', '0.1.6')
|
42
|
-
s.add_dependency('roo', '1.10.1')
|
43
|
-
#s.add_dependency('selenium-client') # for running selenium scripts
|
44
|
-
s.add_dependency('selenium-webdriver')
|
45
|
-
rescue
|
46
|
-
puts "#{$!}"
|
47
|
-
end
|
48
|
-
|
49
|
-
s.require_paths = ["lib","ext"]
|
50
|
-
s.files = `git ls-files`.split("\n")
|
51
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
52
|
-
|
53
|
-
#This line tells rubygems to look for an extension to install
|
54
|
-
s.extensions << 'ext/mkrf_conf.rb'
|
55
|
-
|
56
|
-
end
|
57
|
-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
puts "#{$0}"
|
3
|
+
require "lib/version"
|
4
|
+
|
5
|
+
#hack for debugging
|
6
|
+
`wellsproxy`
|
7
|
+
#end hack
|
8
|
+
|
9
|
+
Gem::Specification.new do |s|
|
10
|
+
|
11
|
+
s.name = "awetestlib"
|
12
|
+
s.version = Awetestlib::VERSION
|
13
|
+
s.date = Awetestlib::VERSION_DATE
|
14
|
+
s.platform = Gem::Platform::RUBY
|
15
|
+
|
16
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
17
|
+
s.authors = ["Anthony Woo", "Patrick Neve"]
|
18
|
+
s.email = %q{patrick@3qilabs.com}
|
19
|
+
s.summary = %q{Awetest DSL for automated testing of browser-based applications.}
|
20
|
+
s.homepage = %q{http://3qilabs.com}
|
21
|
+
s.description = %q{Awetest DSL for automated testing of browser-based applications.}
|
22
|
+
|
23
|
+
# possible dependencies (from shamisen gemfile)
|
24
|
+
#s.add_dependency('i18n')
|
25
|
+
|
26
|
+
# windows specific
|
27
|
+
#s.add_dependency('watir', '1.8.1')
|
28
|
+
#s.add_dependency('commonwatir', '1.8.1')
|
29
|
+
#s.add_dependency('firewatir', '1.8.1')
|
30
|
+
#s.add_dependency('watirloo')
|
31
|
+
#s.add_dependency('win32-process')
|
32
|
+
#s.add_dependency('win32screenshot')
|
33
|
+
|
34
|
+
# all platforms?
|
35
|
+
begin
|
36
|
+
#s.add_dependency('ffi', '= 1.0.9')
|
37
|
+
s.add_dependency('activesupport', '~> 3.0.0')
|
38
|
+
s.add_dependency('watir-webdriver')
|
39
|
+
s.add_dependency('andand')
|
40
|
+
s.add_dependency('spreadsheet', '0.6.8')
|
41
|
+
s.add_dependency('google-spreadsheet-ruby', '0.1.6')
|
42
|
+
s.add_dependency('roo', '1.10.1')
|
43
|
+
#s.add_dependency('selenium-client') # for running selenium scripts
|
44
|
+
s.add_dependency('selenium-webdriver')
|
45
|
+
rescue
|
46
|
+
puts "#{$!}"
|
47
|
+
end
|
48
|
+
|
49
|
+
s.require_paths = ["lib","ext"]
|
50
|
+
s.files = `git ls-files`.split("\n")
|
51
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
52
|
+
|
53
|
+
#This line tells rubygems to look for an extension to install
|
54
|
+
s.extensions << 'ext/mkrf_conf.rb'
|
55
|
+
|
56
|
+
end
|
57
|
+
|
data/awetestlib.windows.gemspec
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require "lib/version"
|
3
|
-
|
4
|
-
Gem::Specification.new do |s|
|
5
|
-
|
6
|
-
s.name = %q{awetestlib}
|
7
|
-
s.version = Awetestlib::VERSION
|
8
|
-
s.date = Awetestlib::VERSION_DATE
|
9
|
-
s.platform = Gem::Platform::CURRENT
|
10
|
-
|
11
|
-
#s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
-
s.authors = ["Anthony Woo", "Patrick Neve"]
|
13
|
-
s.email = %q{patrick@3qilabs.com}
|
14
|
-
s.summary = %q{Awetest DSL for automated testing of browser-based applications.}
|
15
|
-
s.homepage = %q{http://3qilabs.com}
|
16
|
-
s.description = %q{Awetest DSL for automated testing of browser-based applications.}
|
17
|
-
|
18
|
-
s.add_dependency('watir-webdriver')
|
19
|
-
s.add_dependency('watir', '1.8.1')
|
20
|
-
s.add_dependency('commonwatir', '1.8.1')
|
21
|
-
s.add_dependency('firewatir', '1.8.1')
|
22
|
-
s.add_dependency('activesupport', '~> 3.0.0')
|
23
|
-
s.add_dependency('i18n')
|
24
|
-
s.add_dependency('andand')
|
25
|
-
s.add_dependency('watirloo')
|
26
|
-
s.add_dependency('win32-process', '0.6.6')
|
27
|
-
s.add_dependency('win32screenshot')
|
28
|
-
s.add_dependency('spreadsheet', '0.6.8')
|
29
|
-
s.add_dependency('google-spreadsheet-ruby', '0.1.6')
|
30
|
-
s.add_dependency('roo', '1.10.1')
|
31
|
-
s.add_dependency('selenium-webdriver')
|
32
|
-
s.add_dependency('pry')
|
33
|
-
s.add_dependency('rdoc', '~> 3.11')
|
34
|
-
s.add_dependency('cucumber')
|
35
|
-
s.add_dependency('calabash-android', '0.4.2')
|
36
|
-
s.require_paths = ["lib"]
|
37
|
-
s.files = `git ls-files`.split("\n")
|
38
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
39
|
-
|
40
|
-
end
|
41
|
-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require "lib/version"
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
|
6
|
+
s.name = %q{awetestlib}
|
7
|
+
s.version = Awetestlib::VERSION
|
8
|
+
s.date = Awetestlib::VERSION_DATE
|
9
|
+
s.platform = Gem::Platform::CURRENT
|
10
|
+
|
11
|
+
#s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.authors = ["Anthony Woo", "Patrick Neve"]
|
13
|
+
s.email = %q{patrick@3qilabs.com}
|
14
|
+
s.summary = %q{Awetest DSL for automated testing of browser-based applications.}
|
15
|
+
s.homepage = %q{http://3qilabs.com}
|
16
|
+
s.description = %q{Awetest DSL for automated testing of browser-based applications.}
|
17
|
+
|
18
|
+
s.add_dependency('watir-webdriver')
|
19
|
+
s.add_dependency('watir', '1.8.1')
|
20
|
+
s.add_dependency('commonwatir', '1.8.1')
|
21
|
+
s.add_dependency('firewatir', '1.8.1')
|
22
|
+
s.add_dependency('activesupport', '~> 3.0.0')
|
23
|
+
s.add_dependency('i18n')
|
24
|
+
s.add_dependency('andand')
|
25
|
+
s.add_dependency('watirloo')
|
26
|
+
s.add_dependency('win32-process', '0.6.6')
|
27
|
+
s.add_dependency('win32screenshot')
|
28
|
+
s.add_dependency('spreadsheet', '0.6.8')
|
29
|
+
s.add_dependency('google-spreadsheet-ruby', '0.1.6')
|
30
|
+
s.add_dependency('roo', '1.10.1')
|
31
|
+
s.add_dependency('selenium-webdriver')
|
32
|
+
s.add_dependency('pry')
|
33
|
+
s.add_dependency('rdoc', '~> 3.11')
|
34
|
+
s.add_dependency('cucumber')
|
35
|
+
s.add_dependency('calabash-android', '0.4.2')
|
36
|
+
s.require_paths = ["lib"]
|
37
|
+
s.files = `git ls-files`.split("\n")
|
38
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
39
|
+
|
40
|
+
end
|
41
|
+
|
data/awetestlib_notes.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= does not include patch for IE 7.0 or earlier modal dialog window title ('Web Page Dialog' vs. 'Webpage Dialog')
|
2
|
-
See 'http://github.com/radamanthus/watir'
|
3
|
-
= user must download chromedriver.exe and put somewhere in PATH ( ruby\bin works )
|
4
|
-
|
1
|
+
= does not include patch for IE 7.0 or earlier modal dialog window title ('Web Page Dialog' vs. 'Webpage Dialog')
|
2
|
+
See 'http://github.com/radamanthus/watir'
|
3
|
+
= user must download chromedriver.exe and put somewhere in PATH ( ruby\bin works )
|
4
|
+
|