awetestlib 0.1.29-x86-mingw32 → 0.1.30pre1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/bin/awetestlib +18 -3
- data/bin/awetestlib-helpers.rb +19 -0
- data/images/netbeans1.jpg +0 -0
- data/images/netbeans2.jpg +0 -0
- data/images/netbeans3.jpg +0 -0
- data/images/netbeans4.jpg +0 -0
- data/images/netbeans5.jpg +0 -0
- data/images/rubymine1.jpg +0 -0
- data/images/rubymine2.jpg +0 -0
- data/images/rubymine3.jpg +0 -0
- data/images/rubymine4.jpg +0 -0
- data/images/scripting1.png +0 -0
- data/images/scripting2.png +0 -0
- data/images/scripting3.png +0 -0
- data/images/scripting4.png +0 -0
- data/lib/awetestlib.rb +5 -5
- data/lib/awetestlib/html_report.rb +74 -43
- data/lib/awetestlib/logging.rb +6 -6
- data/lib/awetestlib/regression/browser.rb +37 -30
- data/lib/awetestlib/regression/drag_and_drop.rb +4 -3
- data/lib/awetestlib/regression/runner.rb +44 -44
- data/lib/awetestlib/regression/tables.rb +17 -9
- data/lib/awetestlib/regression/user_input.rb +1 -1
- data/lib/awetestlib/regression/utilities.rb +69 -11
- data/lib/awetestlib/regression/validations.rb +84 -65
- data/lib/awetestlib/runner.rb +1 -1
- data/lib/version.rb +2 -2
- data/netbeans_setup.md +6 -6
- data/rubymine_setup.md +5 -5
- data/setup_samples/sample_cucumber/features/step_definitions/predefined_steps.rb +1 -1
- data/test/demo_wwd.rb +7 -0
- metadata +27 -9
data/lib/awetestlib/runner.rb
CHANGED
data/lib/version.rb
CHANGED
data/netbeans_setup.md
CHANGED
@@ -4,27 +4,27 @@ Netbeans IDE Setup
|
|
4
4
|
<br>
|
5
5
|
1. If you ran the `awetestlib netbeans_setup` command, you should now have a folder called "sample_netbeans" in the directory you ran the command in. Open Netbeans and go to Open Project.
|
6
6
|
|
7
|
-
![netbeans1](https://raw.github.com/
|
7
|
+
![netbeans1](https://raw.github.com/3qilabs/awetestlib/develop/images/netbeans1.jpg "netbeans1")
|
8
8
|
|
9
9
|
<br>
|
10
10
|
2. Select the "sample_netbeans" folder that was created and click "Open Project". Your project is now loaded into Netbeans.
|
11
11
|
NOTE: Depending on the version of Netbeans you have, you may need to install the Ruby and Rails plugin.
|
12
12
|
|
13
|
-
![netbeans2](https://raw.github.com/
|
13
|
+
![netbeans2](https://raw.github.com/3qilabs/awetestlib/develop/images/netbeans2.jpg "netbeans2")
|
14
14
|
|
15
15
|
<br>
|
16
16
|
3. You can view the different configurations from the config dropdown. We have provided a sample "Demo" config which runs the demo.rb script. To create your own, go to "Customize..."
|
17
17
|
|
18
|
-
![netbeans3](https://raw.github.com/
|
18
|
+
![netbeans3](https://raw.github.com/3qilabs/awetestlib/develop/images/netbeans3.jpg "netbeans3")
|
19
19
|
|
20
20
|
<br>
|
21
21
|
4. In the configuration window, you can see the arguments for the Demo configuration. To create your own, go to "New". All the arguments (Main Script, Arguments, and Ruby Options) would be the same as the Demo configuration, the only difference would be the path to the script you want to run.
|
22
22
|
|
23
|
-
![netbeans5](https://raw.github.com/
|
23
|
+
![netbeans5](https://raw.github.com/3qilabs/awetestlib/develop/images/netbeans5.jpg "netbeans5")
|
24
24
|
|
25
25
|
<br>
|
26
26
|
5. Once you have the script configurations set, you can select the config you want to run from the dropdown and hit the Play button. The script will now start to run within the IDE.
|
27
27
|
|
28
|
-
![netbeans4](https://raw.github.com/
|
28
|
+
![netbeans4](https://raw.github.com/3qilabs/awetestlib/develop/images/netbeans4.jpg "netbeans4")
|
29
29
|
|
30
|
-
<br>
|
30
|
+
<br>
|
data/rubymine_setup.md
CHANGED
@@ -4,21 +4,21 @@ Rubymine IDE Setup
|
|
4
4
|
<br>
|
5
5
|
1. If you ran the `awetestlib rubymine_setup` command, you should now have a folder called "sample_rubymine" in the directory you ran the command in. Open Rubymine and go to Open Directory...
|
6
6
|
|
7
|
-
![rubymine1](https://raw.github.com/
|
7
|
+
![rubymine1](https://raw.github.com/3qilabs/awetestlib/develop/images/rubymine1.jpg "rubymine1")
|
8
8
|
|
9
9
|
<br>
|
10
10
|
2. You can view the different configurations from the config dropdown. We have provided a sample "Demo" config which runs the demo.rb script. To create new configurations, go to Edit Configurations...
|
11
11
|
|
12
|
-
![rubymine2](https://raw.github.com/
|
12
|
+
![rubymine2](https://raw.github.com/3qilabs/awetestlib/develop/images/rubymine2.jpg "rubymine2")
|
13
13
|
|
14
14
|
<br>
|
15
15
|
3. In the configuration window, you can see the arguments for the Demo configuration. To create a new configuration for a new script, simply copy the Demo configuration and change the path to the script you want to run in the "Script arguments:" section.
|
16
16
|
|
17
|
-
![rubymine3](https://raw.github.com/
|
17
|
+
![rubymine3](https://raw.github.com/3qilabs/awetestlib/develop/images/rubymine3.jpg "rubymine3")
|
18
18
|
|
19
19
|
<br>
|
20
20
|
4. Once you have the script configurations set, you can select the config you want to run from the dropdown and hit the Play button. The script will now start to run within the IDE.
|
21
21
|
|
22
|
-
![rubymine4](https://raw.github.com/
|
22
|
+
![rubymine4](https://raw.github.com/3qilabs/awetestlib/develop/images/rubymine4.jpg "rubymine4")
|
23
23
|
|
24
|
-
<br>
|
24
|
+
<br>
|
data/test/demo_wwd.rb
ADDED
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: -223651765
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
|
9
|
+
- 30
|
10
|
+
- pre
|
11
|
+
- 1
|
12
|
+
version: 0.1.30pre1
|
11
13
|
platform: x86-mingw32
|
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-
|
21
|
+
date: 2013-05-02 00:00:00 Z
|
20
22
|
dependencies:
|
21
23
|
- !ruby/object:Gem::Dependency
|
22
24
|
name: watir-webdriver
|
@@ -345,6 +347,19 @@ files:
|
|
345
347
|
- ext/Rakefile
|
346
348
|
- ext/mkrf_conf.rb
|
347
349
|
- images/logo.png
|
350
|
+
- images/netbeans1.jpg
|
351
|
+
- images/netbeans2.jpg
|
352
|
+
- images/netbeans3.jpg
|
353
|
+
- images/netbeans4.jpg
|
354
|
+
- images/netbeans5.jpg
|
355
|
+
- images/rubymine1.jpg
|
356
|
+
- images/rubymine2.jpg
|
357
|
+
- images/rubymine3.jpg
|
358
|
+
- images/rubymine4.jpg
|
359
|
+
- images/scripting1.png
|
360
|
+
- images/scripting2.png
|
361
|
+
- images/scripting3.png
|
362
|
+
- images/scripting4.png
|
348
363
|
- lib/awetestlib.rb
|
349
364
|
- lib/awetestlib/html_report.rb
|
350
365
|
- lib/awetestlib/logging.rb
|
@@ -402,6 +417,7 @@ files:
|
|
402
417
|
- test/create_zoho_account1.rb
|
403
418
|
- test/create_zoho_account2.rb
|
404
419
|
- test/demo.rb
|
420
|
+
- test/demo_wwd.rb
|
405
421
|
- test/google_search1.rb
|
406
422
|
- test/google_search2.rb
|
407
423
|
- test/login.xls
|
@@ -432,12 +448,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
432
448
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
433
449
|
none: false
|
434
450
|
requirements:
|
435
|
-
- - "
|
451
|
+
- - ">"
|
436
452
|
- !ruby/object:Gem::Version
|
437
|
-
hash:
|
453
|
+
hash: 25
|
438
454
|
segments:
|
439
|
-
-
|
440
|
-
|
455
|
+
- 1
|
456
|
+
- 3
|
457
|
+
- 1
|
458
|
+
version: 1.3.1
|
441
459
|
requirements: []
|
442
460
|
|
443
461
|
rubyforge_project:
|