watir_robot 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -0
- data/KEYWORDS.rdoc +83 -0
- data/LICENSE +24 -0
- data/Manifest +28 -0
- data/README.rdoc +116 -0
- data/Rakefile +50 -0
- data/lib/watir_robot.rb +56 -0
- data/lib/watir_robot/exception.rb +76 -0
- data/lib/watir_robot/keywords/browser.rb +317 -0
- data/lib/watir_robot/keywords/button.rb +21 -0
- data/lib/watir_robot/keywords/checkbox.rb +53 -0
- data/lib/watir_robot/keywords/element.rb +95 -0
- data/lib/watir_robot/keywords/file_field.rb +30 -0
- data/lib/watir_robot/keywords/form.rb +143 -0
- data/lib/watir_robot/keywords/image.rb +18 -0
- data/lib/watir_robot/keywords/link.rb +21 -0
- data/lib/watir_robot/keywords/list.rb +42 -0
- data/lib/watir_robot/keywords/native.rb +148 -0
- data/lib/watir_robot/keywords/page.rb +324 -0
- data/lib/watir_robot/keywords/radio.rb +44 -0
- data/lib/watir_robot/keywords/select.rb +82 -0
- data/lib/watir_robot/keywords/table.rb +100 -0
- data/lib/watir_robot/keywords/text_field.rb +69 -0
- data/lib/watir_robot/parser.rb +170 -0
- data/scripts/example_tests/resource.txt +14 -0
- data/scripts/example_tests/test.txt +171 -0
- data/scripts/run_server.rb +13 -0
- data/watir_robot.gemspec +36 -0
- metadata +152 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/usr/bin/env jruby
|
2
|
+
|
3
|
+
if __FILE__ == $0
|
4
|
+
require 'rubygems'
|
5
|
+
require 'robot_remote_server'
|
6
|
+
require 'watir_robot'
|
7
|
+
RobotRemoteServer.new(WatirRobot::KeywordLibrary.new,
|
8
|
+
host = 'localhost',
|
9
|
+
port = 8270,
|
10
|
+
yardoc_file = File.expand_path("#{File.dirname(__FILE__)}/../yardoc"),
|
11
|
+
yardoc_options = [[:docstring, ''], [:file, 'File'], [:source, 'Source Code']])
|
12
|
+
end
|
13
|
+
|
data/watir_robot.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{watir_robot}
|
5
|
+
s.version = "0.1.0"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Daniel Gregoire"]
|
9
|
+
s.date = %q{2010-12-27}
|
10
|
+
s.description = %q{Watir Robot - Remote keyword library for Robot Framework}
|
11
|
+
s.email = %q{}
|
12
|
+
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.rdoc", "lib/watir_robot.rb", "lib/watir_robot/exception.rb", "lib/watir_robot/keywords/browser.rb", "lib/watir_robot/keywords/button.rb", "lib/watir_robot/keywords/checkbox.rb", "lib/watir_robot/keywords/element.rb", "lib/watir_robot/keywords/file_field.rb", "lib/watir_robot/keywords/form.rb", "lib/watir_robot/keywords/image.rb", "lib/watir_robot/keywords/link.rb", "lib/watir_robot/keywords/list.rb", "lib/watir_robot/keywords/native.rb", "lib/watir_robot/keywords/page.rb", "lib/watir_robot/keywords/radio.rb", "lib/watir_robot/keywords/select.rb", "lib/watir_robot/keywords/table.rb", "lib/watir_robot/keywords/text_field.rb", "lib/watir_robot/parser.rb"]
|
13
|
+
s.files = ["CHANGELOG", "KEYWORDS.rdoc", "LICENSE", "Manifest", "README.rdoc", "Rakefile", "lib/watir_robot.rb", "lib/watir_robot/exception.rb", "lib/watir_robot/keywords/browser.rb", "lib/watir_robot/keywords/button.rb", "lib/watir_robot/keywords/checkbox.rb", "lib/watir_robot/keywords/element.rb", "lib/watir_robot/keywords/file_field.rb", "lib/watir_robot/keywords/form.rb", "lib/watir_robot/keywords/image.rb", "lib/watir_robot/keywords/link.rb", "lib/watir_robot/keywords/list.rb", "lib/watir_robot/keywords/native.rb", "lib/watir_robot/keywords/page.rb", "lib/watir_robot/keywords/radio.rb", "lib/watir_robot/keywords/select.rb", "lib/watir_robot/keywords/table.rb", "lib/watir_robot/keywords/text_field.rb", "lib/watir_robot/parser.rb", "scripts/example_tests/resource.txt", "scripts/example_tests/test.txt", "scripts/run_server.rb", "watir_robot.gemspec"]
|
14
|
+
s.homepage = %q{http://github.com/semperos/watir-robot}
|
15
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Watir_robot", "--main", "README.rdoc"]
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
s.rubyforge_project = %q{watir_robot}
|
18
|
+
s.rubygems_version = %q{1.3.7}
|
19
|
+
s.summary = %q{Watir Robot - Remote keyword library for Robot Framework}
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
+
s.specification_version = 3
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
26
|
+
s.add_runtime_dependency(%q<robot_remote_server>, [">= 2.5.5.2"])
|
27
|
+
s.add_runtime_dependency(%q<watir-webdriver>, [">= 0.1.8"])
|
28
|
+
else
|
29
|
+
s.add_dependency(%q<robot_remote_server>, [">= 2.5.5.2"])
|
30
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0.1.8"])
|
31
|
+
end
|
32
|
+
else
|
33
|
+
s.add_dependency(%q<robot_remote_server>, [">= 2.5.5.2"])
|
34
|
+
s.add_dependency(%q<watir-webdriver>, [">= 0.1.8"])
|
35
|
+
end
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: watir_robot
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Daniel Gregoire
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-12-27 00:00:00 -05:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: robot_remote_server
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 87
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 5
|
33
|
+
- 5
|
34
|
+
- 2
|
35
|
+
version: 2.5.5.2
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: watir-webdriver
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 11
|
47
|
+
segments:
|
48
|
+
- 0
|
49
|
+
- 1
|
50
|
+
- 8
|
51
|
+
version: 0.1.8
|
52
|
+
type: :runtime
|
53
|
+
version_requirements: *id002
|
54
|
+
description: Watir Robot - Remote keyword library for Robot Framework
|
55
|
+
email: ""
|
56
|
+
executables: []
|
57
|
+
|
58
|
+
extensions: []
|
59
|
+
|
60
|
+
extra_rdoc_files:
|
61
|
+
- CHANGELOG
|
62
|
+
- LICENSE
|
63
|
+
- README.rdoc
|
64
|
+
- lib/watir_robot.rb
|
65
|
+
- lib/watir_robot/exception.rb
|
66
|
+
- lib/watir_robot/keywords/browser.rb
|
67
|
+
- lib/watir_robot/keywords/button.rb
|
68
|
+
- lib/watir_robot/keywords/checkbox.rb
|
69
|
+
- lib/watir_robot/keywords/element.rb
|
70
|
+
- lib/watir_robot/keywords/file_field.rb
|
71
|
+
- lib/watir_robot/keywords/form.rb
|
72
|
+
- lib/watir_robot/keywords/image.rb
|
73
|
+
- lib/watir_robot/keywords/link.rb
|
74
|
+
- lib/watir_robot/keywords/list.rb
|
75
|
+
- lib/watir_robot/keywords/native.rb
|
76
|
+
- lib/watir_robot/keywords/page.rb
|
77
|
+
- lib/watir_robot/keywords/radio.rb
|
78
|
+
- lib/watir_robot/keywords/select.rb
|
79
|
+
- lib/watir_robot/keywords/table.rb
|
80
|
+
- lib/watir_robot/keywords/text_field.rb
|
81
|
+
- lib/watir_robot/parser.rb
|
82
|
+
files:
|
83
|
+
- CHANGELOG
|
84
|
+
- KEYWORDS.rdoc
|
85
|
+
- LICENSE
|
86
|
+
- Manifest
|
87
|
+
- README.rdoc
|
88
|
+
- Rakefile
|
89
|
+
- lib/watir_robot.rb
|
90
|
+
- lib/watir_robot/exception.rb
|
91
|
+
- lib/watir_robot/keywords/browser.rb
|
92
|
+
- lib/watir_robot/keywords/button.rb
|
93
|
+
- lib/watir_robot/keywords/checkbox.rb
|
94
|
+
- lib/watir_robot/keywords/element.rb
|
95
|
+
- lib/watir_robot/keywords/file_field.rb
|
96
|
+
- lib/watir_robot/keywords/form.rb
|
97
|
+
- lib/watir_robot/keywords/image.rb
|
98
|
+
- lib/watir_robot/keywords/link.rb
|
99
|
+
- lib/watir_robot/keywords/list.rb
|
100
|
+
- lib/watir_robot/keywords/native.rb
|
101
|
+
- lib/watir_robot/keywords/page.rb
|
102
|
+
- lib/watir_robot/keywords/radio.rb
|
103
|
+
- lib/watir_robot/keywords/select.rb
|
104
|
+
- lib/watir_robot/keywords/table.rb
|
105
|
+
- lib/watir_robot/keywords/text_field.rb
|
106
|
+
- lib/watir_robot/parser.rb
|
107
|
+
- scripts/example_tests/resource.txt
|
108
|
+
- scripts/example_tests/test.txt
|
109
|
+
- scripts/run_server.rb
|
110
|
+
- watir_robot.gemspec
|
111
|
+
has_rdoc: true
|
112
|
+
homepage: http://github.com/semperos/watir-robot
|
113
|
+
licenses: []
|
114
|
+
|
115
|
+
post_install_message:
|
116
|
+
rdoc_options:
|
117
|
+
- --line-numbers
|
118
|
+
- --inline-source
|
119
|
+
- --title
|
120
|
+
- Watir_robot
|
121
|
+
- --main
|
122
|
+
- README.rdoc
|
123
|
+
require_paths:
|
124
|
+
- lib
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
hash: 3
|
131
|
+
segments:
|
132
|
+
- 0
|
133
|
+
version: "0"
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
hash: 11
|
140
|
+
segments:
|
141
|
+
- 1
|
142
|
+
- 2
|
143
|
+
version: "1.2"
|
144
|
+
requirements: []
|
145
|
+
|
146
|
+
rubyforge_project: watir_robot
|
147
|
+
rubygems_version: 1.3.7
|
148
|
+
signing_key:
|
149
|
+
specification_version: 3
|
150
|
+
summary: Watir Robot - Remote keyword library for Robot Framework
|
151
|
+
test_files: []
|
152
|
+
|