selenium_fury 0.5.9 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.10
|
data/selenium_fury.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "selenium_fury"
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.10"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Scott Sims", "Tim Tischler"]
|
12
|
-
s.date = "2012-01
|
12
|
+
s.date = "2012-05-01"
|
13
13
|
s.description = "Generate and validate page objects with this page object factory for Selenium."
|
14
14
|
s.email = "ssims98@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -67,7 +67,7 @@ Gem::Specification.new do |s|
|
|
67
67
|
]
|
68
68
|
s.homepage = "https://github.com/scottcsims/SeleniumFury"
|
69
69
|
s.require_paths = ["lib"]
|
70
|
-
s.rubygems_version = "1.8.
|
70
|
+
s.rubygems_version = "1.8.21"
|
71
71
|
s.summary = "Selenium Fury allows an automated tester to quickly build page files to use in the page object pattern. Each page file represents a page under test with attributes of all the locators selenium needs to run tests on the page and methods that represent actions that can be performed on the page. You use the generator to build the page files. After the page has been updated you can use the validator to go through all of the selenium locators you are using in your page file and return a list of the locators that it could not find. If there are missing locators you can then rerun the generator to generate new selenium locators for your page. http://www.scottcsims.com"
|
72
72
|
|
73
73
|
if s.respond_to? :specification_version then
|
@@ -23,13 +23,13 @@ describe SeleniumFury::SeleniumApiChooser do
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
context "Integrating with generator/validator methods" do
|
26
|
-
it "should find generate
|
26
|
+
it "should find generate method for selenium client tests" do
|
27
27
|
create_selenium_driver "http://www.scottcsims.com"
|
28
28
|
browser.start_new_browser_session
|
29
29
|
browser.open "/"
|
30
|
-
generate(browser).should include("found (
|
30
|
+
generate(browser).should include("found (9 elements)")
|
31
31
|
end
|
32
|
-
it "should find validate
|
32
|
+
it "should find validate method for selenium client tests" do
|
33
33
|
create_selenium_driver("http://www.homeaway.com")
|
34
34
|
browser.start_new_browser_session
|
35
35
|
puts "Testing #{browser.browser_url} on #{browser.browser_string} "
|
@@ -4,9 +4,10 @@ describe SeleniumFury::SeleniumWebDriver::PageValidator do
|
|
4
4
|
it "should have a missing element exception" do
|
5
5
|
class MissingElement < PageObject
|
6
6
|
element :not_a_element1, {:id=>"not a element1"}
|
7
|
+
element :not_a_element2, {:id=>"not a element2"}
|
7
8
|
end
|
8
9
|
launch_web_driver("http://www.homeaway.com/searchForm")
|
9
|
-
lambda{web_driver_validate(MissingElement)}.should raise_exception(RuntimeError,"Found Missing Elements")
|
10
|
+
lambda{web_driver_validate(MissingElement)}.should raise_exception(RuntimeError,"Found Missing Elements: [:not_a_element1, :not_a_element2]")
|
10
11
|
end
|
11
12
|
|
12
13
|
it "should validate elements" do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selenium_fury
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 10
|
10
|
+
version: 0.5.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Scott Sims
|
@@ -16,9 +16,10 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-01
|
19
|
+
date: 2012-05-01 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
22
23
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
24
|
none: false
|
24
25
|
requirements:
|
@@ -31,8 +32,8 @@ dependencies:
|
|
31
32
|
requirement: *id001
|
32
33
|
prerelease: false
|
33
34
|
name: selenium-webdriver
|
34
|
-
type: :runtime
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
+
type: :runtime
|
36
37
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
37
38
|
none: false
|
38
39
|
requirements:
|
@@ -45,8 +46,8 @@ dependencies:
|
|
45
46
|
requirement: *id002
|
46
47
|
prerelease: false
|
47
48
|
name: nokogiri
|
48
|
-
type: :runtime
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
|
+
type: :development
|
50
51
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
51
52
|
none: false
|
52
53
|
requirements:
|
@@ -59,8 +60,8 @@ dependencies:
|
|
59
60
|
requirement: *id003
|
60
61
|
prerelease: false
|
61
62
|
name: yard
|
62
|
-
type: :development
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
|
+
type: :development
|
64
65
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
65
66
|
none: false
|
66
67
|
requirements:
|
@@ -73,8 +74,8 @@ dependencies:
|
|
73
74
|
requirement: *id004
|
74
75
|
prerelease: false
|
75
76
|
name: jeweler
|
76
|
-
type: :development
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
|
+
type: :development
|
78
79
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
79
80
|
none: false
|
80
81
|
requirements:
|
@@ -87,8 +88,8 @@ dependencies:
|
|
87
88
|
requirement: *id005
|
88
89
|
prerelease: false
|
89
90
|
name: rdiscount
|
90
|
-
type: :development
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
|
+
type: :development
|
92
93
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
93
94
|
none: false
|
94
95
|
requirements:
|
@@ -103,8 +104,8 @@ dependencies:
|
|
103
104
|
requirement: *id006
|
104
105
|
prerelease: false
|
105
106
|
name: rspec
|
106
|
-
type: :development
|
107
107
|
- !ruby/object:Gem::Dependency
|
108
|
+
type: :development
|
108
109
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
109
110
|
none: false
|
110
111
|
requirements:
|
@@ -117,8 +118,8 @@ dependencies:
|
|
117
118
|
requirement: *id007
|
118
119
|
prerelease: false
|
119
120
|
name: cucumber
|
120
|
-
type: :development
|
121
121
|
- !ruby/object:Gem::Dependency
|
122
|
+
type: :development
|
122
123
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
123
124
|
none: false
|
124
125
|
requirements:
|
@@ -131,8 +132,8 @@ dependencies:
|
|
131
132
|
requirement: *id008
|
132
133
|
prerelease: false
|
133
134
|
name: bundler
|
134
|
-
type: :development
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
|
+
type: :development
|
136
137
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
137
138
|
none: false
|
138
139
|
requirements:
|
@@ -145,8 +146,8 @@ dependencies:
|
|
145
146
|
requirement: *id009
|
146
147
|
prerelease: false
|
147
148
|
name: builder
|
148
|
-
type: :development
|
149
149
|
- !ruby/object:Gem::Dependency
|
150
|
+
type: :development
|
150
151
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
151
152
|
none: false
|
152
153
|
requirements:
|
@@ -159,8 +160,8 @@ dependencies:
|
|
159
160
|
requirement: *id010
|
160
161
|
prerelease: false
|
161
162
|
name: rake
|
162
|
-
type: :development
|
163
163
|
- !ruby/object:Gem::Dependency
|
164
|
+
type: :development
|
164
165
|
version_requirements: &id011 !ruby/object:Gem::Requirement
|
165
166
|
none: false
|
166
167
|
requirements:
|
@@ -173,8 +174,8 @@ dependencies:
|
|
173
174
|
requirement: *id011
|
174
175
|
prerelease: false
|
175
176
|
name: faker
|
176
|
-
type: :development
|
177
177
|
- !ruby/object:Gem::Dependency
|
178
|
+
type: :runtime
|
178
179
|
version_requirements: &id012 !ruby/object:Gem::Requirement
|
179
180
|
none: false
|
180
181
|
requirements:
|
@@ -187,7 +188,6 @@ dependencies:
|
|
187
188
|
requirement: *id012
|
188
189
|
prerelease: false
|
189
190
|
name: nokogiri
|
190
|
-
type: :runtime
|
191
191
|
description: Generate and validate page objects with this page object factory for Selenium.
|
192
192
|
email: ssims98@gmail.com
|
193
193
|
executables: []
|
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
requirements: []
|
275
275
|
|
276
276
|
rubyforge_project:
|
277
|
-
rubygems_version: 1.8.
|
277
|
+
rubygems_version: 1.8.21
|
278
278
|
signing_key:
|
279
279
|
specification_version: 3
|
280
280
|
summary: Selenium Fury allows an automated tester to quickly build page files to use in the page object pattern. Each page file represents a page under test with attributes of all the locators selenium needs to run tests on the page and methods that represent actions that can be performed on the page. You use the generator to build the page files. After the page has been updated you can use the validator to go through all of the selenium locators you are using in your page file and return a list of the locators that it could not find. If there are missing locators you can then rerun the generator to generate new selenium locators for your page. http://www.scottcsims.com
|