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/tmp/placeholder.html
CHANGED
@@ -1,71 +1,71 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<meta content=text/html; charset=ISO-8859-1 http-equiv=content-type>
|
4
|
-
<title>Awetestlib Test Run</title>
|
5
|
-
<style type=text/css>
|
6
|
-
.title { font-family: verdana; font-size: 30px; font-weight: bold; align: left; color: #000000;}
|
7
|
-
.bold_text { font-family: verdana; font-size: 12px; font-weight: bold;}
|
8
|
-
.bold_large_text { font-family: verdana; font-size: 13px; font-weight: bold;}
|
9
|
-
.normal_text { font-family: verdana; font-size: 12px; font-weight: normal;}
|
10
|
-
.small_text { font-family: verdana; font-size: 10px; font-weight: normal; }
|
11
|
-
.border { border: 1px solid #000000;}
|
12
|
-
.mark_testlevel_left { border-top: 1px solid #858585; border-left: 1px solid #858585;background-color:#E2F4FE;}
|
13
|
-
.mark_testlevel_right { border-top: 1px solid #858585; border-right: 1px solid #858585;background-color:#E2F4FE;}
|
14
|
-
.border_left { border-top: 1px solid #858585; border-left: 1px solid #858585; border-right: 1px solid #858585;}
|
15
|
-
.border_right { border-top: 1px solid #858585; border-right: 1px solid #858585;}
|
16
|
-
.result_ok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: green;}
|
17
|
-
.result_nok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: red;}
|
18
|
-
.overall_ok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: left; color: green;}
|
19
|
-
.overall_nok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: left; color: red;}
|
20
|
-
.bborder_left { border-top: 1px solid #858585; border-left: 1px solid #858585; border-bottom: 1px solid #858585; background-color:#858585;font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: white;}
|
21
|
-
.bborder_right { border-right: 1px solid #858585; background-color:#858585;font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: white;}
|
22
|
-
</style>
|
23
|
-
</head>
|
24
|
-
<body>
|
25
|
-
<br>
|
26
|
-
<center>
|
27
|
-
<table width=800 border=0 cellpadding=2 cellspacing=2>
|
28
|
-
<tbody>
|
29
|
-
<tr>
|
30
|
-
<td>
|
31
|
-
<table width=100% border=0 cellpadding=2 cellspacing=2>
|
32
|
-
<tbody>
|
33
|
-
<tr>
|
34
|
-
<td style=width: 150px;> </td>
|
35
|
-
<td align=left><img src="../images/logo.png"></img></td>
|
36
|
-
<td align=right><p class=title>Test Report</p></td>
|
37
|
-
</tr>
|
38
|
-
</tbody>
|
39
|
-
</table>
|
40
|
-
<br>
|
41
|
-
<hr width=100% class=border size=1px>
|
42
|
-
<center>
|
43
|
-
<table border=0 width=95% cellpadding=2 cellspacing=2>
|
44
|
-
<tbody>
|
45
|
-
<tr>
|
46
|
-
<td width=20%><p class=bold_text>Script</p></td>
|
47
|
-
<td width=5%><p class=bold_text>:</p></td>
|
48
|
-
<td width=75%><p class=normal_text>Demo</p></td>
|
49
|
-
</tr>
|
50
|
-
<tr>
|
51
|
-
<td width=20%><p class=bold_text>Test Execution</p></td>
|
52
|
-
<td width=5%><p class=bold_text>:</p></td>
|
53
|
-
<td width=75%><p class=normal_text>27-08-2012 @ 10:20:44</p></td>
|
54
|
-
</tr>
|
55
|
-
<tr>
|
56
|
-
</tr>
|
57
|
-
</tbody>
|
58
|
-
</table>
|
59
|
-
</center>
|
60
|
-
<br>
|
61
|
-
<center>
|
62
|
-
<table width=95% cellpadding=2 cellspacing=0>
|
63
|
-
<tbody>
|
64
|
-
<tr>
|
65
|
-
<td class=bborder_left width=80%><p>Test Step</p></td>
|
66
|
-
<td class=bborder_left width=20%><p>Result</p></td>
|
67
|
-
</tr><tr><td class=border_left width=80%><p class=normal_text> [unknown]</p></td><td class=border_right width=20%><p class=result_nok>FAILED</p></td><tr><td class=mark_testlevel_left width=80%><p class=bold_large_text>>> Duration: 00:00:00</p></td><td class=mark_testlevel_right width=20%><p class=result_nok> </p></td><tr><td class=mark_testlevel_left width=80%><p class=bold_large_text>>> Validations: 1 | Fails: 1</p></td><td class=mark_testlevel_right width=20%><p class=result_nok> </p></td><tr>
|
68
|
-
<td class=bborder_left width=80%><p> </p></td>
|
69
|
-
<td class=bborder_left width=20%><p> </p></td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<meta content=text/html; charset=ISO-8859-1 http-equiv=content-type>
|
4
|
+
<title>Awetestlib Test Run</title>
|
5
|
+
<style type=text/css>
|
6
|
+
.title { font-family: verdana; font-size: 30px; font-weight: bold; align: left; color: #000000;}
|
7
|
+
.bold_text { font-family: verdana; font-size: 12px; font-weight: bold;}
|
8
|
+
.bold_large_text { font-family: verdana; font-size: 13px; font-weight: bold;}
|
9
|
+
.normal_text { font-family: verdana; font-size: 12px; font-weight: normal;}
|
10
|
+
.small_text { font-family: verdana; font-size: 10px; font-weight: normal; }
|
11
|
+
.border { border: 1px solid #000000;}
|
12
|
+
.mark_testlevel_left { border-top: 1px solid #858585; border-left: 1px solid #858585;background-color:#E2F4FE;}
|
13
|
+
.mark_testlevel_right { border-top: 1px solid #858585; border-right: 1px solid #858585;background-color:#E2F4FE;}
|
14
|
+
.border_left { border-top: 1px solid #858585; border-left: 1px solid #858585; border-right: 1px solid #858585;}
|
15
|
+
.border_right { border-top: 1px solid #858585; border-right: 1px solid #858585;}
|
16
|
+
.result_ok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: green;}
|
17
|
+
.result_nok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: red;}
|
18
|
+
.overall_ok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: left; color: green;}
|
19
|
+
.overall_nok { font-family: verdana; font-size: 12px; font-weight: bold; text-align: left; color: red;}
|
20
|
+
.bborder_left { border-top: 1px solid #858585; border-left: 1px solid #858585; border-bottom: 1px solid #858585; background-color:#858585;font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: white;}
|
21
|
+
.bborder_right { border-right: 1px solid #858585; background-color:#858585;font-family: verdana; font-size: 12px; font-weight: bold; text-align: center; color: white;}
|
22
|
+
</style>
|
23
|
+
</head>
|
24
|
+
<body>
|
25
|
+
<br>
|
26
|
+
<center>
|
27
|
+
<table width=800 border=0 cellpadding=2 cellspacing=2>
|
28
|
+
<tbody>
|
29
|
+
<tr>
|
30
|
+
<td>
|
31
|
+
<table width=100% border=0 cellpadding=2 cellspacing=2>
|
32
|
+
<tbody>
|
33
|
+
<tr>
|
34
|
+
<td style=width: 150px;> </td>
|
35
|
+
<td align=left><img src="../images/logo.png"></img></td>
|
36
|
+
<td align=right><p class=title>Test Report</p></td>
|
37
|
+
</tr>
|
38
|
+
</tbody>
|
39
|
+
</table>
|
40
|
+
<br>
|
41
|
+
<hr width=100% class=border size=1px>
|
42
|
+
<center>
|
43
|
+
<table border=0 width=95% cellpadding=2 cellspacing=2>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td width=20%><p class=bold_text>Script</p></td>
|
47
|
+
<td width=5%><p class=bold_text>:</p></td>
|
48
|
+
<td width=75%><p class=normal_text>Demo</p></td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td width=20%><p class=bold_text>Test Execution</p></td>
|
52
|
+
<td width=5%><p class=bold_text>:</p></td>
|
53
|
+
<td width=75%><p class=normal_text>27-08-2012 @ 10:20:44</p></td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
</tr>
|
57
|
+
</tbody>
|
58
|
+
</table>
|
59
|
+
</center>
|
60
|
+
<br>
|
61
|
+
<center>
|
62
|
+
<table width=95% cellpadding=2 cellspacing=0>
|
63
|
+
<tbody>
|
64
|
+
<tr>
|
65
|
+
<td class=bborder_left width=80%><p>Test Step</p></td>
|
66
|
+
<td class=bborder_left width=20%><p>Result</p></td>
|
67
|
+
</tr><tr><td class=border_left width=80%><p class=normal_text> [unknown]</p></td><td class=border_right width=20%><p class=result_nok>FAILED</p></td><tr><td class=mark_testlevel_left width=80%><p class=bold_large_text>>> Duration: 00:00:00</p></td><td class=mark_testlevel_right width=20%><p class=result_nok> </p></td><tr><td class=mark_testlevel_left width=80%><p class=bold_large_text>>> Validations: 1 | Fails: 1</p></td><td class=mark_testlevel_right width=20%><p class=result_nok> </p></td><tr>
|
68
|
+
<td class=bborder_left width=80%><p> </p></td>
|
69
|
+
<td class=bborder_left width=20%><p> </p></td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awetestlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: -223651757
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
|
9
|
+
- 29
|
10
|
+
- pre
|
11
|
+
- 1
|
12
|
+
version: 0.1.29pre1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Anthony Woo
|
@@ -16,7 +18,7 @@ autorequire:
|
|
16
18
|
bindir: bin
|
17
19
|
cert_chain: []
|
18
20
|
|
19
|
-
date: 2013-03-
|
21
|
+
date: 2013-03-21 00:00:00 Z
|
20
22
|
dependencies:
|
21
23
|
- !ruby/object:Gem::Dependency
|
22
24
|
name: watir-webdriver
|
@@ -54,14 +56,12 @@ dependencies:
|
|
54
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
57
|
none: false
|
56
58
|
requirements:
|
57
|
-
- - "
|
59
|
+
- - ">="
|
58
60
|
- !ruby/object:Gem::Version
|
59
|
-
hash:
|
61
|
+
hash: 3
|
60
62
|
segments:
|
61
|
-
-
|
62
|
-
|
63
|
-
- 3
|
64
|
-
version: 1.3.3
|
63
|
+
- 0
|
64
|
+
version: "0"
|
65
65
|
type: :runtime
|
66
66
|
version_requirements: *id003
|
67
67
|
- !ruby/object:Gem::Dependency
|
@@ -184,26 +184,10 @@ dependencies:
|
|
184
184
|
version: "0"
|
185
185
|
type: :runtime
|
186
186
|
version_requirements: *id011
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: json
|
189
|
-
prerelease: false
|
190
|
-
requirement: &id012 !ruby/object:Gem::Requirement
|
191
|
-
none: false
|
192
|
-
requirements:
|
193
|
-
- - "="
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
hash: 13
|
196
|
-
segments:
|
197
|
-
- 1
|
198
|
-
- 6
|
199
|
-
- 1
|
200
|
-
version: 1.6.1
|
201
|
-
type: :runtime
|
202
|
-
version_requirements: *id012
|
203
187
|
- !ruby/object:Gem::Dependency
|
204
188
|
name: pry
|
205
189
|
prerelease: false
|
206
|
-
requirement: &
|
190
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
207
191
|
none: false
|
208
192
|
requirements:
|
209
193
|
- - ">="
|
@@ -213,11 +197,11 @@ dependencies:
|
|
213
197
|
- 0
|
214
198
|
version: "0"
|
215
199
|
type: :runtime
|
216
|
-
version_requirements: *
|
200
|
+
version_requirements: *id012
|
217
201
|
- !ruby/object:Gem::Dependency
|
218
202
|
name: cucumber
|
219
203
|
prerelease: false
|
220
|
-
requirement: &
|
204
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
221
205
|
none: false
|
222
206
|
requirements:
|
223
207
|
- - ">="
|
@@ -227,27 +211,11 @@ dependencies:
|
|
227
211
|
- 0
|
228
212
|
version: "0"
|
229
213
|
type: :runtime
|
230
|
-
version_requirements: *
|
231
|
-
- !ruby/object:Gem::Dependency
|
232
|
-
name: gherkin
|
233
|
-
prerelease: false
|
234
|
-
requirement: &id015 !ruby/object:Gem::Requirement
|
235
|
-
none: false
|
236
|
-
requirements:
|
237
|
-
- - "="
|
238
|
-
- !ruby/object:Gem::Version
|
239
|
-
hash: 41
|
240
|
-
segments:
|
241
|
-
- 2
|
242
|
-
- 11
|
243
|
-
- 5
|
244
|
-
version: 2.11.5
|
245
|
-
type: :runtime
|
246
|
-
version_requirements: *id015
|
214
|
+
version_requirements: *id013
|
247
215
|
- !ruby/object:Gem::Dependency
|
248
216
|
name: calabash-cucumber
|
249
217
|
prerelease: false
|
250
|
-
requirement: &
|
218
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
251
219
|
none: false
|
252
220
|
requirements:
|
253
221
|
- - ">="
|
@@ -257,7 +225,7 @@ dependencies:
|
|
257
225
|
- 0
|
258
226
|
version: "0"
|
259
227
|
type: :runtime
|
260
|
-
version_requirements: *
|
228
|
+
version_requirements: *id014
|
261
229
|
description: Awetest DSL for automated testing of browser-based applications.
|
262
230
|
email: patrick@3qilabs.com
|
263
231
|
executables:
|
@@ -402,3 +370,4 @@ specification_version: 3
|
|
402
370
|
summary: Awetest DSL for automated testing of browser-based applications.
|
403
371
|
test_files: []
|
404
372
|
|
373
|
+
has_rdoc:
|