firewatir 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MozillaBaseElement.rb +1775 -1778
- data/container.rb +16 -5
- data/firewatir.rb +122 -57
- data/firewatir/winClicker.rb +122 -0
- data/firewatir/x11.rb +192 -0
- data/htmlelements.rb +2281 -2277
- data/unittests/html/textfields1.html +1 -1
- data/unittests/mozilla_all_tests.rb +2 -1
- data/unittests/setup.rb +1 -1
- metadata +43 -34
@@ -50,7 +50,7 @@ function addEvent(e) {
|
|
50
50
|
This Field has javascript events in it <input type="text" name="events_tester" onKeyUp='javascript:addEvent("keyup")' onKeyDown='javascript:addEvent("keydown")'
|
51
51
|
onKeyPress='javascript:addEvent("keypress")'>
|
52
52
|
<br>
|
53
|
-
<textarea name="events_text" cols="20" rows="10"></textarea> <input type="button" onClick='document.all.events_text.value=""' value="Clear Events Box">
|
53
|
+
<textarea id="events_text" name="events_text" cols="20" rows="10"></textarea> <input type="button" onClick='document.all.events_text.value=""' value="Clear Events Box">
|
54
54
|
<br>
|
55
55
|
Password Fields
|
56
56
|
<br>
|
@@ -1,8 +1,9 @@
|
|
1
1
|
# these are the tests that run reliably and invisibly
|
2
2
|
|
3
|
-
TOPDIR = File.join(File.dirname(__FILE__), '..')
|
3
|
+
TOPDIR = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
4
4
|
$LOAD_PATH.unshift TOPDIR
|
5
5
|
|
6
|
+
puts $LOAD_PATH
|
6
7
|
require 'unittests/setup.rb'
|
7
8
|
|
8
9
|
Dir.chdir TOPDIR
|
data/unittests/setup.rb
CHANGED
metadata
CHANGED
@@ -1,33 +1,26 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.0
|
3
|
-
specification_version: 1
|
4
2
|
name: firewatir
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.
|
7
|
-
date: 2008-04-08 00:00:00 +05:30
|
8
|
-
summary: Automated testing tool for web applications using Firefox browser.
|
9
|
-
require_paths:
|
10
|
-
- .
|
11
|
-
email:
|
12
|
-
homepage: http://code.google.com/p/firewatir
|
13
|
-
rubyforge_project:
|
14
|
-
description: FireWatir stands for "Web Application Testing in Ruby for Firefox". FireWatir (pronounced firewater) is a free, open-source functional testing tool for automating browser-based tests of web applications. It works with applications written in any language. FireWatir drives the Firefox browser the same way an end user would. It clicks links, fills in forms, presses buttons. FireWatir also checks results, such as whether expected text appears on the page, or whether a control is enabled. FireWatir is a Ruby library that works with Firefox on Windows. It also works on Linux, Mac but without support for JavaScript popups (currently support will be there shortly).
|
15
|
-
autorequire: firewatir
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 1.2.0
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Angrez Singh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-07-16 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: FireWatir stands for "Web Application Testing in Ruby for Firefox". FireWatir (pronounced firewater) is a free, open-source functional testing tool for automating browser-based tests of web applications. It works with applications written in any language. FireWatir drives the Firefox browser the same way an end user would. It clicks links, fills in forms, presses buttons. FireWatir also checks results, such as whether expected text appears on the page, or whether a control is enabled. FireWatir is a Ruby library that works with Firefox on Windows. It also works on Linux, Mac but without support for JavaScript popups (currently support will be there shortly).
|
17
|
+
email: firewatir@groups.google.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
31
24
|
files:
|
32
25
|
- container.rb
|
33
26
|
- firewatir.rb
|
@@ -35,6 +28,8 @@ files:
|
|
35
28
|
- MozillaBaseElement.rb
|
36
29
|
- firewatir/exceptions.rb
|
37
30
|
- firewatir/testUnitAddons.rb
|
31
|
+
- firewatir/winClicker.rb
|
32
|
+
- firewatir/x11.rb
|
38
33
|
- unittests/attach_to_new_window_test.rb
|
39
34
|
- unittests/bug_fixes_test.rb
|
40
35
|
- unittests/buttons_test.rb
|
@@ -123,8 +118,9 @@ files:
|
|
123
118
|
- unittests/html/images/plus.gif
|
124
119
|
- unittests/html/images/square.jpg
|
125
120
|
- unittests/html/images/triangle.jpg
|
126
|
-
|
127
|
-
|
121
|
+
has_rdoc: true
|
122
|
+
homepage: http://code.google.com/p/firewatir
|
123
|
+
post_install_message:
|
128
124
|
rdoc_options:
|
129
125
|
- --title
|
130
126
|
- FireWatir API Reference
|
@@ -132,13 +128,26 @@ rdoc_options:
|
|
132
128
|
- def_wrap=R,def_wrap_guard=R,def_creator=R,def_creator_with_default=R
|
133
129
|
- --exclude
|
134
130
|
- unittests|camel_case.rb|testUnitAddons.rb
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
131
|
+
require_paths:
|
132
|
+
- .
|
133
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: "0"
|
138
|
+
version:
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: "0"
|
144
|
+
version:
|
141
145
|
requirements:
|
142
146
|
- Mozilla Firefox browser 1.5 or later.
|
143
|
-
|
144
|
-
|
147
|
+
rubyforge_project: Watir
|
148
|
+
rubygems_version: 1.2.0
|
149
|
+
signing_key:
|
150
|
+
specification_version: 2
|
151
|
+
summary: Automated testing tool for web applications using Firefox browser.
|
152
|
+
test_files:
|
153
|
+
- unittests/mozilla_all_tests.rb
|