awetestlib 0.1.29 → 0.1.30pre1
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 +21 -5
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: 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-
|
21
|
+
date: 2013-05-02 00:00:00 Z
|
20
22
|
dependencies:
|
21
23
|
- !ruby/object:Gem::Dependency
|
22
24
|
name: watir-webdriver
|
@@ -280,6 +282,19 @@ files:
|
|
280
282
|
- ext/Rakefile
|
281
283
|
- ext/mkrf_conf.rb
|
282
284
|
- images/logo.png
|
285
|
+
- images/netbeans1.jpg
|
286
|
+
- images/netbeans2.jpg
|
287
|
+
- images/netbeans3.jpg
|
288
|
+
- images/netbeans4.jpg
|
289
|
+
- images/netbeans5.jpg
|
290
|
+
- images/rubymine1.jpg
|
291
|
+
- images/rubymine2.jpg
|
292
|
+
- images/rubymine3.jpg
|
293
|
+
- images/rubymine4.jpg
|
294
|
+
- images/scripting1.png
|
295
|
+
- images/scripting2.png
|
296
|
+
- images/scripting3.png
|
297
|
+
- images/scripting4.png
|
283
298
|
- lib/awetestlib.rb
|
284
299
|
- lib/awetestlib/html_report.rb
|
285
300
|
- lib/awetestlib/logging.rb
|
@@ -337,6 +352,7 @@ files:
|
|
337
352
|
- test/create_zoho_account1.rb
|
338
353
|
- test/create_zoho_account2.rb
|
339
354
|
- test/demo.rb
|
355
|
+
- test/demo_wwd.rb
|
340
356
|
- test/google_search1.rb
|
341
357
|
- test/google_search2.rb
|
342
358
|
- test/login.xls
|