marekj-watirloo 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +12 -0
- data/Manifest.txt +59 -34
- data/README.rdoc +63 -80
- data/Rakefile.rb +32 -39
- data/config/locker.yml +0 -0
- data/lib/watirloo.rb +9 -162
- data/lib/watirloo/browsers.rb +73 -0
- data/lib/watirloo/desktop.rb +44 -0
- data/lib/watirloo/{firewatir_ducktape.rb → extension/firewatir_ducktape.rb} +0 -0
- data/lib/watirloo/extension/object.rb +26 -0
- data/lib/watirloo/{watir_ducktape.rb → extension/watir_ducktape.rb} +181 -16
- data/lib/watirloo/extension/watir_reflector.rb +83 -0
- data/lib/watirloo/locker.rb +84 -0
- data/lib/watirloo/page.rb +105 -0
- data/spec/browser_spec.rb +38 -0
- data/spec/browser_threads_spec.rb +45 -0
- data/spec/checkbox_group_spec.rb +136 -0
- data/spec/checkbox_groups_spec.rb +55 -0
- data/spec/checkboxes_value_spec.rb +35 -0
- data/spec/desktop_spec.rb +54 -0
- data/spec/extra/browser_events_spec.rb +76 -0
- data/spec/extra/page_objects_metrics.rb +139 -0
- data/spec/face_mixing_spec.rb +55 -0
- data/{test → spec}/firewatir/attach_instance_test.rb +0 -0
- data/spec/firewatir/spec_results.html +263 -0
- data/spec/firewatir/spec_results.txt +23 -0
- data/spec/firewatir/spec_results_failed.txt +3 -0
- data/{test → spec}/html/census.html +0 -0
- data/spec/html/checkbox_group1.html +33 -0
- data/spec/html/labels.html +53 -0
- data/spec/html/no_title.html +13 -0
- data/{test → spec}/html/person.html +0 -0
- data/spec/html/radio_group.html +35 -0
- data/{test → spec}/html/select_lists.html +0 -0
- data/spec/input_element_spec.rb +51 -0
- data/spec/label_spec.rb +65 -0
- data/spec/locker_spec.rb +49 -0
- data/spec/page_spec.rb +53 -0
- data/spec/person_def_wrappers_spec.rb +40 -0
- data/spec/radio_group_spec.rb +95 -0
- data/spec/radio_groups_spec.rb +55 -0
- data/spec/reflector_spec.rb +82 -0
- data/spec/select_list_options_spec.rb +40 -0
- data/spec/select_lists_spec.rb +151 -0
- data/{test/test_helper.rb → spec/spec_helper.rb} +6 -4
- data/spec/spec_helper_ff.rb +5 -0
- data/spec/spec_helper_runner.rb +13 -0
- data/spec/spec_results.html +566 -0
- data/spec/spec_results.txt +179 -0
- data/spec/spec_results_failed.txt +1 -0
- data/spec/text_fields_spec.rb +56 -0
- data/watirloo.gemspec +44 -44
- metadata +80 -39
- data/lib/watirloo/reflector.rb +0 -137
- data/test/checkbox_group_test.rb +0 -83
- data/test/checkboxes_value_test.rb +0 -50
- data/test/html/checkbox_group1.html +0 -20
- data/test/html/labels.html +0 -32
- data/test/html/radio_group.html +0 -41
- data/test/interfaces_test.rb +0 -79
- data/test/label_test.rb +0 -64
- data/test/person_def_wrappers_test.rb +0 -55
- data/test/radio_group_test.rb +0 -97
- data/test/select_list_in_class_test.rb +0 -39
- data/test/select_list_options_test.rb +0 -39
- data/test/select_lists_test.rb +0 -145
- data/test/text_fields_test.rb +0 -68
@@ -0,0 +1,179 @@
|
|
1
|
+
|
2
|
+
Page class with face definitions
|
3
|
+
- has face method as singleton
|
4
|
+
- face class method defines method
|
5
|
+
- face accepts args used by method body
|
6
|
+
|
7
|
+
Page faces included in rspec
|
8
|
+
- face defines a watir element access
|
9
|
+
- faces with arguments
|
10
|
+
|
11
|
+
text field wrapped in label tag without for attribute defined
|
12
|
+
- parent of text_field should be Watir Element
|
13
|
+
- parent tagName should be a LABEL
|
14
|
+
- parent text returns text of label
|
15
|
+
|
16
|
+
label for text field not wrapped
|
17
|
+
- text value of label
|
18
|
+
|
19
|
+
SelectList selections
|
20
|
+
- selected returns preselected item in single select
|
21
|
+
- selected returns preselected value in single select
|
22
|
+
- selected returns nil for none selected items in multi select
|
23
|
+
- selected returns nil for none selected values in multi select
|
24
|
+
- set item text and find selected item and text for multiselect
|
25
|
+
- set value and find selected item and value for multiselect
|
26
|
+
- set and query option by text for single select
|
27
|
+
- set and query option by value for single select
|
28
|
+
- set by text multple items for multiselect selects each item
|
29
|
+
- set by value multple items for multiselect selects each item
|
30
|
+
- set items array for single select selects each in turn. selected is the last item in array
|
31
|
+
- set item after multiple items were set returns all values selected for multiselect
|
32
|
+
- set using position for multiselect
|
33
|
+
- set using position and item for multiselect
|
34
|
+
- set using position for single select
|
35
|
+
- clear removes selected attribute for all selected items in multiselect
|
36
|
+
- clear removes selected attribute for item in single select list (FAILED - 1)
|
37
|
+
- set_value selects value atribute text
|
38
|
+
- set_value for multiselect returns selected and selected_values
|
39
|
+
|
40
|
+
Watirloo browser when no browsers on desktop nor in locker
|
41
|
+
- should start a default new browser and load a testfile
|
42
|
+
- should attach to a default browser with loaded testfile and return its title
|
43
|
+
- should start second browser with a named keyword
|
44
|
+
- should attach to second browser with keyword and navigate to a testfile
|
45
|
+
- should attach to two distinct browsers by key values by kewords used to start them
|
46
|
+
|
47
|
+
Watirloo multiple browsers and threads
|
48
|
+
- open 5 new browsers in threads and add them to locker
|
49
|
+
- use locker to reattach to 5 browsers and load 5 diff pages at once
|
50
|
+
- reattach and close all 5 browsers
|
51
|
+
|
52
|
+
Locker
|
53
|
+
- locker file does not exist. create it. mapping should return empty hash
|
54
|
+
- clear should create locker file and save empty mapping
|
55
|
+
- add stores ie.hwnd with friendly name and adds it to mapping
|
56
|
+
- mapping holds what was added
|
57
|
+
- remove deletes a key value record
|
58
|
+
- browser reattaches to named browser based on windows handle
|
59
|
+
- browser attach to nonexisting windows behaves like IE.attach, it raises error
|
60
|
+
|
61
|
+
browser checkbox_group accesses a group of checkboxes sharing the same name on a page
|
62
|
+
- browser responds to checkbox_group
|
63
|
+
- access by name as default returns CheckboxGroup
|
64
|
+
- size retuns checkboxes as items count in a group
|
65
|
+
- values returns array of value attributes for each checkbox in a group
|
66
|
+
|
67
|
+
checkbox_group values when no checkbox is checked in a group
|
68
|
+
- selected should return nil
|
69
|
+
- selected_value should return nil
|
70
|
+
- selected_values should return empty array
|
71
|
+
- set? should return false when no checkbox is checked in a group
|
72
|
+
|
73
|
+
checkbox_group values when set string selecs one item only
|
74
|
+
- selected should return the string used to select it
|
75
|
+
- selected_value should return the string when one item is selected
|
76
|
+
- selected values returns array with one element
|
77
|
+
- set? should return truee when 1 checkbox is checked in a group
|
78
|
+
|
79
|
+
checkbox_group set array of strings selects multiple values in a group
|
80
|
+
- selected returns array of strings when multiple values are selected
|
81
|
+
- selected_value returns the same array of strings by position in a group
|
82
|
+
- selected_values returns the same array of strings by position in a group
|
83
|
+
- set? should return truee when more than 1 checkbox is checked in a group
|
84
|
+
|
85
|
+
checkbox_group set by numberical position
|
86
|
+
- set Fixnum checks checkbox by position in a group. Position is 1 based.
|
87
|
+
- set array of Fixnums checks each checkbox by position
|
88
|
+
|
89
|
+
Watirloo Desktop
|
90
|
+
- clear closes all browsers on the desktop and browsers should be empty
|
91
|
+
- adding first browser should report 1 addition and no deletions
|
92
|
+
- while one browser on the desktop the additions and deletions should be false
|
93
|
+
- adding second browser should report one addition and no deletions
|
94
|
+
- close one should report 1 deletion and no additions, attempt to attach to deleted cause exception
|
95
|
+
- close one and start new one should report one addition and one deletion
|
96
|
+
|
97
|
+
Class client mixing interfaces from other modules
|
98
|
+
- spray and scrape example
|
99
|
+
|
100
|
+
add faces text fields page objects
|
101
|
+
- face returns a watir element text_field
|
102
|
+
- face name method and value returns current text
|
103
|
+
- face name method and set enters value into field
|
104
|
+
- spray method matches keys as facenames and sets values to fields
|
105
|
+
- scrape keys updates keys with values and returns datamap
|
106
|
+
|
107
|
+
checkbox_groups access for browser
|
108
|
+
- browser responds to checkbox_group
|
109
|
+
- returns group object and its values from the page
|
110
|
+
- lenght returns integer count of groups
|
111
|
+
- each iterator returns CheckboxGroup
|
112
|
+
- each accesses the group and returns name
|
113
|
+
- bracket access[] returns 1-based indexed group
|
114
|
+
- if checkbox group does not exists it returns size 0 or name nil (or should it blow up? or respond to exists? method
|
115
|
+
- return checkbox groups contained by the form element
|
116
|
+
|
117
|
+
Person Page interfaces defined by def wrappers and class definitions
|
118
|
+
- calling face when there is wrapper method
|
119
|
+
- calling interface when there is definition and no method
|
120
|
+
- spray method by convetion has keys correspondig to interface names for watir elements
|
121
|
+
|
122
|
+
Mystery input element
|
123
|
+
- the id is text_field
|
124
|
+
- the label points to text_field
|
125
|
+
- the id should return select_list
|
126
|
+
|
127
|
+
RadioGroup class access in watir browser
|
128
|
+
- browser responds to radio_group
|
129
|
+
- radio group needs :what value with implicit :how=name
|
130
|
+
|
131
|
+
RadioGroup class interface in watirloo
|
132
|
+
- container radio_group method returns RadioGroup class
|
133
|
+
- size or count returns how many radios in a group
|
134
|
+
- values returns value attributes text items as an array
|
135
|
+
- selected_value returns internal option value for selected radio item in a group
|
136
|
+
- set selects radio by position in a group
|
137
|
+
- set selects radio by value in a group. selected returns value
|
138
|
+
- set position throws exception if number not within the range of group size
|
139
|
+
- set value throws exception if value not found in options
|
140
|
+
- set throws exception if sybmol is used. it should accept Fixnum or String element only
|
141
|
+
|
142
|
+
reflext :text_fields
|
143
|
+
- text_fields.reflect each :text_field
|
144
|
+
|
145
|
+
reflect :radio_groups
|
146
|
+
- reflects each radio group
|
147
|
+
|
148
|
+
reflect :checkbox_groups
|
149
|
+
- reflects each checkbox_group
|
150
|
+
|
151
|
+
setting and getting values for individual checkboxes with value attributes in face definitions
|
152
|
+
- semantic name accesses individual CheckBox
|
153
|
+
- set individual checkbox does not set other checkboxes sharing the same name
|
154
|
+
|
155
|
+
SelectList options as visible items and values as hidden to the user attributes
|
156
|
+
- values of options by facename method
|
157
|
+
- options with no value attribute
|
158
|
+
- items method returns visible contents as array of text items
|
159
|
+
- items returns visible text items as array
|
160
|
+
|
161
|
+
RadioGroup class access in watir browser
|
162
|
+
- browser responds to radio_group
|
163
|
+
- returns RadioGroups class
|
164
|
+
- lenght returns integer count of groups
|
165
|
+
- each iterator returns RadioGroup
|
166
|
+
- each accesses the group and returns name
|
167
|
+
- bracket access[] returns 1-based indexed group
|
168
|
+
- if radio group does not exists it returns size 0 or name nil (or should it blow up? or respond to exists? method
|
169
|
+
- groups contained by a form element
|
170
|
+
|
171
|
+
1)
|
172
|
+
'SelectList selections clear removes selected attribute for item in single select list' FAILED
|
173
|
+
expected not: == "F",
|
174
|
+
got: "F"
|
175
|
+
./spec/select_lists_spec.rb:134:
|
176
|
+
|
177
|
+
Finished in 198.922 seconds
|
178
|
+
|
179
|
+
115 examples, 1 failure
|
@@ -0,0 +1 @@
|
|
1
|
+
SelectList selections clear removes selected attribute for item in single select list
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/spec_helper'
|
2
|
+
|
3
|
+
describe "add faces text fields page objects" do
|
4
|
+
|
5
|
+
include Watirloo::Page
|
6
|
+
|
7
|
+
face :last do
|
8
|
+
doc.text_field(:name, 'last_nm')
|
9
|
+
end
|
10
|
+
|
11
|
+
face :first do
|
12
|
+
doc.text_field(:name, 'first_nm')
|
13
|
+
end
|
14
|
+
|
15
|
+
before do
|
16
|
+
browser.goto testfile('person.html')
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'face returns a watir element text_field' do
|
20
|
+
if browser.kind_of? FireWatir::Firefox
|
21
|
+
first.should be_kind_of(FireWatir::TextField)
|
22
|
+
last.should be_kind_of(FireWatir::TextField)
|
23
|
+
elsif browser.kind_of? Watir::IE
|
24
|
+
first.should be_kind_of(Watir::TextField)
|
25
|
+
last.should be_kind_of(Watir::TextField)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'face name method and value returns current text' do
|
30
|
+
first.value.should == 'Joanney'
|
31
|
+
last.value.should == 'Begoodnuffski'
|
32
|
+
end
|
33
|
+
|
34
|
+
it "face name method and set enters value into field" do
|
35
|
+
params = {:first => 'Grzegorz',:last => 'Brzeczyszczykiewicz'}
|
36
|
+
first.set params[:first]
|
37
|
+
last.set params[:last]
|
38
|
+
first.value.should == params[:first]
|
39
|
+
last.value.should == params[:last]
|
40
|
+
end
|
41
|
+
|
42
|
+
it 'spray method matches keys as facenames and sets values to fields' do
|
43
|
+
params = {:first => 'Grzegorz',:last => 'Brzeczyszczykiewicz'}
|
44
|
+
spray params
|
45
|
+
first.value.should == params[:first]
|
46
|
+
last.value.should == params[:last]
|
47
|
+
|
48
|
+
end
|
49
|
+
it 'scrape keys updates keys with values and returns datamap' do
|
50
|
+
datamap = {:first => 'Hermenegilda', :last => 'Kociubinska'}
|
51
|
+
spray datamap
|
52
|
+
values = scrape datamap.keys
|
53
|
+
values.should == datamap
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
data/watirloo.gemspec
CHANGED
@@ -1,44 +1,44 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{watirloo}
|
5
|
-
s.version = "0.0.
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["marekj"]
|
9
|
-
s.date = %q{2009-
|
10
|
-
s.description = %q{Watir
|
11
|
-
s.email = ["marekj.com@gmail.com"]
|
12
|
-
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc"]
|
13
|
-
s.files = ["History.txt", "Manifest.txt", "README.rdoc", "Rakefile.rb", "lib/watirloo.rb", "lib/watirloo/firewatir_ducktape.rb", "lib/watirloo/
|
14
|
-
s.has_rdoc = true
|
15
|
-
s.homepage = %q{http://watirloo
|
16
|
-
s.rdoc_options = ["--main", "README.rdoc"]
|
17
|
-
s.require_paths = ["lib"]
|
18
|
-
s.rubyforge_project = %q{watirloo}
|
19
|
-
s.rubygems_version = %q{1.3.1}
|
20
|
-
s.summary = %q{
|
21
|
-
s.test_files = ["
|
22
|
-
|
23
|
-
if s.respond_to? :specification_version then
|
24
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
25
|
-
s.specification_version = 2
|
26
|
-
|
27
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
-
s.add_runtime_dependency(%q<watir>, [">= 1.6.2"])
|
29
|
-
s.add_development_dependency(%q<newgem>, [">= 1.
|
30
|
-
s.add_development_dependency(%q<
|
31
|
-
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
|
32
|
-
else
|
33
|
-
s.add_dependency(%q<watir>, [">= 1.6.2"])
|
34
|
-
s.add_dependency(%q<newgem>, [">= 1.
|
35
|
-
s.add_dependency(%q<
|
36
|
-
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
37
|
-
end
|
38
|
-
else
|
39
|
-
s.add_dependency(%q<watir>, [">= 1.6.2"])
|
40
|
-
s.add_dependency(%q<newgem>, [">= 1.
|
41
|
-
s.add_dependency(%q<
|
42
|
-
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
43
|
-
end
|
44
|
-
end
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{watirloo}
|
5
|
+
s.version = "0.0.5"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["marekj"]
|
9
|
+
s.date = %q{2009-07-24}
|
10
|
+
s.description = %q{Custom Extensions for Watir, Firewatir. Acceptance Test Helper based on semantic page objects modeling customer's domain language It helps you write human readable and machine executable browser tests. Isolates GUI from Tests. The Human Readable part helps you create interfaces to elements on the page and tags them with friendly names based on vocabulary of Business Domain. The Machine Executable parts talk to Watir API hooking into DOM elements. it helps you concentrate in your acceptance tests on the intention and the customer's language and not on implementation of DOM. Write customer facing tests hence the metaphor of face for Page Objects of Significance to the Customer.}
|
11
|
+
s.email = ["marekj.com@gmail.com"]
|
12
|
+
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc", "spec/firewatir/spec_results.txt", "spec/firewatir/spec_results_failed.txt", "spec/spec_results.txt", "spec/spec_results_failed.txt"]
|
13
|
+
s.files = ["History.txt", "Manifest.txt", "README.rdoc", "Rakefile.rb", "config/locker.yml", "lib/watirloo.rb", "lib/watirloo/browsers.rb", "lib/watirloo/desktop.rb", "lib/watirloo/extension/firewatir_ducktape.rb", "lib/watirloo/extension/object.rb", "lib/watirloo/extension/watir_ducktape.rb", "lib/watirloo/extension/watir_reflector.rb", "lib/watirloo/locker.rb", "lib/watirloo/page.rb", "script/console", "script/console.cmd", "script/destroy", "script/destroy.cmd", "script/generate", "script/generate.cmd", "script/reflect.rb", "spec/browser_spec.rb", "spec/browser_threads_spec.rb", "spec/checkbox_group_spec.rb", "spec/checkbox_groups_spec.rb", "spec/checkboxes_value_spec.rb", "spec/desktop_spec.rb", "spec/extra/browser_events_spec.rb", "spec/extra/page_objects_metrics.rb", "spec/face_mixing_spec.rb", "spec/firewatir/attach_instance_test.rb", "spec/firewatir/spec_results.html", "spec/firewatir/spec_results.txt", "spec/firewatir/spec_results_failed.txt", "spec/html/census.html", "spec/html/checkbox_group1.html", "spec/html/labels.html", "spec/html/no_title.html", "spec/html/person.html", "spec/html/radio_group.html", "spec/html/select_lists.html", "spec/input_element_spec.rb", "spec/label_spec.rb", "spec/locker_spec.rb", "spec/page_spec.rb", "spec/person_def_wrappers_spec.rb", "spec/radio_group_spec.rb", "spec/radio_groups_spec.rb", "spec/reflector_spec.rb", "spec/select_list_options_spec.rb", "spec/select_lists_spec.rb", "spec/spec_helper.rb", "spec/spec_helper_ff.rb", "spec/spec_helper_runner.rb", "spec/spec_results.html", "spec/spec_results.txt", "spec/spec_results_failed.txt", "spec/text_fields_spec.rb", "watirloo.gemspec"]
|
14
|
+
s.has_rdoc = true
|
15
|
+
s.homepage = %q{http://github.com/marekj/watirloo}
|
16
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
s.rubyforge_project = %q{watirloo}
|
19
|
+
s.rubygems_version = %q{1.3.1}
|
20
|
+
s.summary = %q{Custom Extensions for Watir, Firewatir}
|
21
|
+
s.test_files = ["spec/browser_spec.rb", "spec/browser_threads_spec.rb", "spec/checkboxes_value_spec.rb", "spec/checkbox_groups_spec.rb", "spec/checkbox_group_spec.rb", "spec/desktop_spec.rb", "spec/face_mixing_spec.rb", "spec/input_element_spec.rb", "spec/label_spec.rb", "spec/locker_spec.rb", "spec/page_spec.rb", "spec/person_def_wrappers_spec.rb", "spec/radio_groups_spec.rb", "spec/radio_group_spec.rb", "spec/reflector_spec.rb", "spec/select_lists_spec.rb", "spec/select_list_options_spec.rb", "spec/text_fields_spec.rb"]
|
22
|
+
|
23
|
+
if s.respond_to? :specification_version then
|
24
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
25
|
+
s.specification_version = 2
|
26
|
+
|
27
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
+
s.add_runtime_dependency(%q<watir>, [">= 1.6.2"])
|
29
|
+
s.add_development_dependency(%q<newgem>, [">= 1.4.1"])
|
30
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.7"])
|
31
|
+
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
|
32
|
+
else
|
33
|
+
s.add_dependency(%q<watir>, [">= 1.6.2"])
|
34
|
+
s.add_dependency(%q<newgem>, [">= 1.4.1"])
|
35
|
+
s.add_dependency(%q<rspec>, [">= 1.2.7"])
|
36
|
+
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
37
|
+
end
|
38
|
+
else
|
39
|
+
s.add_dependency(%q<watir>, [">= 1.6.2"])
|
40
|
+
s.add_dependency(%q<newgem>, [">= 1.4.1"])
|
41
|
+
s.add_dependency(%q<rspec>, [">= 1.2.7"])
|
42
|
+
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
43
|
+
end
|
44
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marekj-watirloo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- marekj
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-24 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: watir
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -23,24 +24,27 @@ dependencies:
|
|
23
24
|
version:
|
24
25
|
- !ruby/object:Gem::Dependency
|
25
26
|
name: newgem
|
27
|
+
type: :development
|
26
28
|
version_requirement:
|
27
29
|
version_requirements: !ruby/object:Gem::Requirement
|
28
30
|
requirements:
|
29
31
|
- - ">="
|
30
32
|
- !ruby/object:Gem::Version
|
31
|
-
version: 1.
|
33
|
+
version: 1.4.1
|
32
34
|
version:
|
33
35
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
36
|
+
name: rspec
|
37
|
+
type: :development
|
35
38
|
version_requirement:
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
43
|
+
version: 1.2.7
|
41
44
|
version:
|
42
45
|
- !ruby/object:Gem::Dependency
|
43
46
|
name: hoe
|
47
|
+
type: :development
|
44
48
|
version_requirement:
|
45
49
|
version_requirements: !ruby/object:Gem::Requirement
|
46
50
|
requirements:
|
@@ -48,7 +52,7 @@ dependencies:
|
|
48
52
|
- !ruby/object:Gem::Version
|
49
53
|
version: 1.8.0
|
50
54
|
version:
|
51
|
-
description: Watir
|
55
|
+
description: Custom Extensions for Watir, Firewatir. Acceptance Test Helper based on semantic page objects modeling customer's domain language It helps you write human readable and machine executable browser tests. Isolates GUI from Tests. The Human Readable part helps you create interfaces to elements on the page and tags them with friendly names based on vocabulary of Business Domain. The Machine Executable parts talk to Watir API hooking into DOM elements. it helps you concentrate in your acceptance tests on the intention and the customer's language and not on implementation of DOM. Write customer facing tests hence the metaphor of face for Page Objects of Significance to the Customer.
|
52
56
|
email:
|
53
57
|
- marekj.com@gmail.com
|
54
58
|
executables: []
|
@@ -59,15 +63,25 @@ extra_rdoc_files:
|
|
59
63
|
- History.txt
|
60
64
|
- Manifest.txt
|
61
65
|
- README.rdoc
|
66
|
+
- spec/firewatir/spec_results.txt
|
67
|
+
- spec/firewatir/spec_results_failed.txt
|
68
|
+
- spec/spec_results.txt
|
69
|
+
- spec/spec_results_failed.txt
|
62
70
|
files:
|
63
71
|
- History.txt
|
64
72
|
- Manifest.txt
|
65
73
|
- README.rdoc
|
66
74
|
- Rakefile.rb
|
75
|
+
- config/locker.yml
|
67
76
|
- lib/watirloo.rb
|
68
|
-
- lib/watirloo/
|
69
|
-
- lib/watirloo/
|
70
|
-
- lib/watirloo/
|
77
|
+
- lib/watirloo/browsers.rb
|
78
|
+
- lib/watirloo/desktop.rb
|
79
|
+
- lib/watirloo/extension/firewatir_ducktape.rb
|
80
|
+
- lib/watirloo/extension/object.rb
|
81
|
+
- lib/watirloo/extension/watir_ducktape.rb
|
82
|
+
- lib/watirloo/extension/watir_reflector.rb
|
83
|
+
- lib/watirloo/locker.rb
|
84
|
+
- lib/watirloo/page.rb
|
71
85
|
- script/console
|
72
86
|
- script/console.cmd
|
73
87
|
- script/destroy
|
@@ -75,27 +89,46 @@ files:
|
|
75
89
|
- script/generate
|
76
90
|
- script/generate.cmd
|
77
91
|
- script/reflect.rb
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
-
|
88
|
-
-
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
92
|
+
- spec/browser_spec.rb
|
93
|
+
- spec/browser_threads_spec.rb
|
94
|
+
- spec/checkbox_group_spec.rb
|
95
|
+
- spec/checkbox_groups_spec.rb
|
96
|
+
- spec/checkboxes_value_spec.rb
|
97
|
+
- spec/desktop_spec.rb
|
98
|
+
- spec/extra/browser_events_spec.rb
|
99
|
+
- spec/extra/page_objects_metrics.rb
|
100
|
+
- spec/face_mixing_spec.rb
|
101
|
+
- spec/firewatir/attach_instance_test.rb
|
102
|
+
- spec/firewatir/spec_results.html
|
103
|
+
- spec/firewatir/spec_results.txt
|
104
|
+
- spec/firewatir/spec_results_failed.txt
|
105
|
+
- spec/html/census.html
|
106
|
+
- spec/html/checkbox_group1.html
|
107
|
+
- spec/html/labels.html
|
108
|
+
- spec/html/no_title.html
|
109
|
+
- spec/html/person.html
|
110
|
+
- spec/html/radio_group.html
|
111
|
+
- spec/html/select_lists.html
|
112
|
+
- spec/input_element_spec.rb
|
113
|
+
- spec/label_spec.rb
|
114
|
+
- spec/locker_spec.rb
|
115
|
+
- spec/page_spec.rb
|
116
|
+
- spec/person_def_wrappers_spec.rb
|
117
|
+
- spec/radio_group_spec.rb
|
118
|
+
- spec/radio_groups_spec.rb
|
119
|
+
- spec/reflector_spec.rb
|
120
|
+
- spec/select_list_options_spec.rb
|
121
|
+
- spec/select_lists_spec.rb
|
122
|
+
- spec/spec_helper.rb
|
123
|
+
- spec/spec_helper_ff.rb
|
124
|
+
- spec/spec_helper_runner.rb
|
125
|
+
- spec/spec_results.html
|
126
|
+
- spec/spec_results.txt
|
127
|
+
- spec/spec_results_failed.txt
|
128
|
+
- spec/text_fields_spec.rb
|
96
129
|
- watirloo.gemspec
|
97
130
|
has_rdoc: true
|
98
|
-
homepage: http://watirloo
|
131
|
+
homepage: http://github.com/marekj/watirloo
|
99
132
|
post_install_message:
|
100
133
|
rdoc_options:
|
101
134
|
- --main
|
@@ -120,15 +153,23 @@ rubyforge_project: watirloo
|
|
120
153
|
rubygems_version: 1.2.0
|
121
154
|
signing_key:
|
122
155
|
specification_version: 2
|
123
|
-
summary:
|
156
|
+
summary: Custom Extensions for Watir, Firewatir
|
124
157
|
test_files:
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
-
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
158
|
+
- spec/browser_spec.rb
|
159
|
+
- spec/browser_threads_spec.rb
|
160
|
+
- spec/checkboxes_value_spec.rb
|
161
|
+
- spec/checkbox_groups_spec.rb
|
162
|
+
- spec/checkbox_group_spec.rb
|
163
|
+
- spec/desktop_spec.rb
|
164
|
+
- spec/face_mixing_spec.rb
|
165
|
+
- spec/input_element_spec.rb
|
166
|
+
- spec/label_spec.rb
|
167
|
+
- spec/locker_spec.rb
|
168
|
+
- spec/page_spec.rb
|
169
|
+
- spec/person_def_wrappers_spec.rb
|
170
|
+
- spec/radio_groups_spec.rb
|
171
|
+
- spec/radio_group_spec.rb
|
172
|
+
- spec/reflector_spec.rb
|
173
|
+
- spec/select_lists_spec.rb
|
174
|
+
- spec/select_list_options_spec.rb
|
175
|
+
- spec/text_fields_spec.rb
|