awetestlib 0.1.29 → 0.1.30pre1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- require 'open-uri'
1
+ require 'open-uri' #; load_time
2
2
  module Awetestlib
3
3
  # Parent class. Each script type will have a Runner that inherits from this class.
4
4
  class Runner
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Awetestlib
2
- VERSION = "0.1.29"
3
- VERSION_DATE = "2013-04-22"
2
+ VERSION = "0.1.30pre1"
3
+ VERSION_DATE = "2013-05-02"
4
4
  end
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/anthonywoo/awetestlib/develop/images/netbeans1.jpg "netbeans1")
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/anthonywoo/awetestlib/develop/images/netbeans2.jpg "netbeans2")
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/anthonywoo/awetestlib/develop/images/netbeans3.jpg "netbeans3")
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/anthonywoo/awetestlib/develop/images/netbeans5.jpg "netbeans5")
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/anthonywoo/awetestlib/develop/images/netbeans4.jpg "netbeans4")
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/anthonywoo/awetestlib/develop/images/rubymine1.jpg "rubymine1")
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/anthonywoo/awetestlib/develop/images/rubymine2.jpg "rubymine2")
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/anthonywoo/awetestlib/develop/images/rubymine3.jpg "rubymine3")
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/anthonywoo/awetestlib/develop/images/rubymine4.jpg "rubymine4")
22
+ ![rubymine4](https://raw.github.com/3qilabs/awetestlib/develop/images/rubymine4.jpg "rubymine4")
23
23
 
24
- <br>
24
+ <br>
@@ -18,7 +18,7 @@ Given /^I run with Watir$/ do
18
18
  end
19
19
 
20
20
  Given /^I run with Classic Watir$/ do
21
- step "I run with Watir$"
21
+ step "I run with Watir"
22
22
  end
23
23
 
24
24
  Given /^I run with Watir-webdriver$/i do
data/test/demo_wwd.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'rubygems'
2
+ require 'watir-webdriver'
3
+
4
+ b=Watir::Browser.new(:remote, :desired_capabilities=>:'safari')
5
+ b.goto("www.google.com")
6
+ b.text_field(:name ,"q").set("3qilabs")
7
+ b.button(:name,"btnG").click
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: 33
5
- prerelease:
4
+ hash: -223651765
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 29
10
- version: 0.1.29
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-04-22 00:00:00 Z
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