rautomation 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +34 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +24 -0
- data/History.rdoc +21 -0
- data/LICENSE +1 -1
- data/README.rdoc +8 -7
- data/Rakefile +22 -32
- data/VERSION +1 -1
- data/ext/UiaDll/Release/UiaDll.dll +0 -0
- data/ext/UiaDll/UiaDll.suo +0 -0
- data/ext/UiaDll/UiaDll/UiaDll.cpp +236 -10
- data/lib/rautomation/adapter/autoit/locators.rb +1 -1
- data/lib/rautomation/adapter/autoit/text_field.rb +10 -1
- data/lib/rautomation/adapter/autoit/window.rb +50 -23
- data/lib/rautomation/adapter/helper.rb +6 -6
- data/lib/rautomation/adapter/ms_uia.rb +22 -0
- data/lib/rautomation/adapter/{win_ffi → ms_uia}/button.rb +3 -2
- data/lib/rautomation/adapter/ms_uia/button_helper.rb +25 -0
- data/lib/rautomation/adapter/ms_uia/checkbox.rb +27 -0
- data/lib/rautomation/adapter/{win_ffi → ms_uia}/constants.rb +20 -5
- data/lib/rautomation/adapter/ms_uia/control.rb +180 -0
- data/lib/rautomation/adapter/{win_ffi → ms_uia}/functions.rb +24 -26
- data/lib/rautomation/adapter/ms_uia/keystroke_converter.rb +122 -0
- data/lib/rautomation/adapter/{win_ffi → ms_uia}/label.rb +3 -2
- data/lib/rautomation/adapter/ms_uia/list_box.rb +91 -0
- data/lib/rautomation/adapter/ms_uia/list_item.rb +49 -0
- data/lib/rautomation/adapter/ms_uia/locators.rb +23 -0
- data/lib/rautomation/adapter/{win_ffi → ms_uia}/radio.rb +2 -2
- data/lib/rautomation/adapter/{win_ffi → ms_uia}/select_list.rb +41 -7
- data/lib/rautomation/adapter/ms_uia/table.rb +86 -0
- data/lib/rautomation/adapter/{win_ffi → ms_uia}/text_field.rb +5 -4
- data/lib/rautomation/adapter/ms_uia/uia_dll.rb +62 -0
- data/lib/rautomation/adapter/ms_uia/window.rb +364 -0
- data/lib/rautomation/adapter/win_32.rb +21 -0
- data/lib/rautomation/adapter/win_32/button.rb +14 -0
- data/lib/rautomation/adapter/{win_ffi → win_32}/button_helper.rb +1 -1
- data/lib/rautomation/adapter/win_32/checkbox.rb +14 -0
- data/lib/rautomation/adapter/win_32/constants.rb +68 -0
- data/lib/rautomation/adapter/{win_ffi → win_32}/control.rb +30 -23
- data/lib/rautomation/adapter/win_32/functions.rb +313 -0
- data/lib/rautomation/adapter/win_32/keys.rb +121 -0
- data/lib/rautomation/adapter/win_32/label.rb +10 -0
- data/lib/rautomation/adapter/win_32/list_box.rb +40 -0
- data/lib/rautomation/adapter/{win_ffi → win_32}/locators.rb +2 -2
- data/lib/rautomation/adapter/win_32/radio.rb +11 -0
- data/lib/rautomation/adapter/win_32/select_list.rb +97 -0
- data/lib/rautomation/adapter/win_32/table.rb +22 -0
- data/lib/rautomation/adapter/win_32/text_field.rb +42 -0
- data/lib/rautomation/adapter/{win_ffi → win_32}/window.rb +79 -62
- data/lib/rautomation/element_collections.rb +9 -1
- data/lib/rautomation/window.rb +17 -9
- data/rautomation.gemspec +24 -0
- data/spec/adapter/autoit/window_spec.rb +71 -0
- data/spec/adapter/{win_ffi → ms_uia}/button_spec.rb +1 -1
- data/spec/adapter/{win_ffi → ms_uia}/checkbox_spec.rb +9 -3
- data/spec/adapter/ms_uia/control_spec.rb +28 -0
- data/spec/adapter/ms_uia/keystroke_converter_spec.rb +50 -0
- data/spec/adapter/{win_ffi → ms_uia}/label_spec.rb +2 -2
- data/spec/adapter/ms_uia/list_item_spec.rb +14 -0
- data/spec/adapter/{win_ffi → ms_uia}/listbox_spec.rb +18 -5
- data/spec/adapter/{win_ffi → ms_uia}/radio_spec.rb +3 -1
- data/spec/adapter/ms_uia/select_list_spec.rb +109 -0
- data/spec/adapter/{win_ffi → ms_uia}/table_spec.rb +12 -1
- data/spec/adapter/{win_ffi → ms_uia}/text_field_spec.rb +2 -1
- data/spec/adapter/ms_uia/window_spec.rb +89 -0
- data/spec/adapter/win_32/button_spec.rb +30 -0
- data/spec/adapter/win_32/checkbox_spec.rb +48 -0
- data/spec/adapter/win_32/label_spec.rb +15 -0
- data/spec/adapter/win_32/listbox_spec.rb +42 -0
- data/spec/adapter/win_32/radio_spec.rb +32 -0
- data/spec/adapter/{win_ffi → win_32}/select_list_spec.rb +16 -16
- data/spec/adapter/win_32/table_spec.rb +28 -0
- data/spec/adapter/win_32/text_field_spec.rb +24 -0
- data/spec/adapter/{win_ffi → win_32}/window_spec.rb +19 -14
- data/spec/button_spec.rb +1 -0
- data/spec/buttons_spec.rb +4 -4
- data/spec/spec_helper.rb +30 -4
- data/spec/text_field_spec.rb +6 -7
- data/spec/window_spec.rb +12 -0
- data/spec/windows_spec.rb +19 -0
- metadata +116 -97
- data/lib/rautomation/adapter/win_ffi.rb +0 -21
- data/lib/rautomation/adapter/win_ffi/checkbox.rb +0 -19
- data/lib/rautomation/adapter/win_ffi/keystroke_converter.rb +0 -67
- data/lib/rautomation/adapter/win_ffi/list_box.rb +0 -60
- data/lib/rautomation/adapter/win_ffi/ms_uia/uia_dll.rb +0 -36
- data/lib/rautomation/adapter/win_ffi/table.rb +0 -57
- data/spec/adapter/win_ffi/keystroke_converter_spec.rb +0 -47
data/spec/button_spec.rb
CHANGED
data/spec/buttons_spec.rb
CHANGED
@@ -11,11 +11,11 @@ describe RAutomation::Buttons do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
it "Window#buttons with parameters returns all matching buttons" do
|
14
|
-
|
14
|
+
SpecHelper::navigate_to_simple_elements
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
buttons = RAutomation::Window.new(:title => "SimpleElementsForm").buttons(:value => 'button1')
|
17
|
+
buttons.size.should == 1
|
18
|
+
buttons.first.value.should == 'button1'
|
19
19
|
end
|
20
20
|
|
21
21
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -2,6 +2,9 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
2
2
|
require 'rautomation'
|
3
3
|
require 'rspec'
|
4
4
|
|
5
|
+
#require 'simplecov'
|
6
|
+
#SimpleCov.start
|
7
|
+
|
5
8
|
module SpecHelper
|
6
9
|
# @private
|
7
10
|
def adapter
|
@@ -50,7 +53,7 @@ module SpecHelper
|
|
50
53
|
# Adapter internal method invocation for getting title of window2
|
51
54
|
:title_proc => lambda {|win| win.WinGetTitle("[TITLE:MainFormWindow]")}
|
52
55
|
},
|
53
|
-
:
|
56
|
+
:win_32 => {
|
54
57
|
# Path to some binary, which opens up a window, what can be
|
55
58
|
# minimized, maximized, activated, closed and etc.
|
56
59
|
:window1 => "ext\\WindowsForms\\bin\\WindowsForms.exe",
|
@@ -75,8 +78,31 @@ module SpecHelper
|
|
75
78
|
# Adapter internal method invocation for getting title of window2
|
76
79
|
:title_proc => lambda {|win| win.window_title(win.hwnd)}
|
77
80
|
},
|
78
|
-
:
|
79
|
-
|
81
|
+
#Just copying :win_ffi data for now
|
82
|
+
:ms_uia => {
|
83
|
+
# Path to some binary, which opens up a window, what can be
|
84
|
+
# minimized, maximized, activated, closed and etc.
|
85
|
+
:window1 => "ext\\WindowsForms\\bin\\WindowsForms.exe",
|
86
|
+
:window2 => "calc",
|
87
|
+
:window2_title => /calc/i,
|
88
|
+
# Window 1 title, has to be a Regexp.
|
89
|
+
:window1_title => /FormWindow/i,
|
90
|
+
:window1_full_title => 'MainFormWindow',
|
91
|
+
# Window 1 should have this text on it.
|
92
|
+
:window1_text => "This is a sample text",
|
93
|
+
# When sending ENTER on Window 2, then the window OK button should be pressed and Window 2 should be closed.
|
94
|
+
# "A" key
|
95
|
+
:window1_send_keys => "A",
|
96
|
+
:proc_after_send_keys => lambda do
|
97
|
+
about_box = RAutomation::Window.new(:title => /About/i)
|
98
|
+
RAutomation::WaitHelper.wait_until {about_box.present?}
|
99
|
+
end,
|
100
|
+
# Window 1 should have a button with the following text.
|
101
|
+
:window1_button_text => "&About",
|
102
|
+
# Window 1 should have a text field with the specified class name.
|
103
|
+
:window1_text_field_class => "Edit",
|
104
|
+
# Adapter internal method invocation for getting title of window2
|
105
|
+
:title_proc => lambda {|win| win.window_title(win.hwnd)}
|
80
106
|
}
|
81
107
|
}[adapter]
|
82
108
|
end
|
@@ -84,7 +110,7 @@ end
|
|
84
110
|
|
85
111
|
RSpec.configure do |config|
|
86
112
|
config.before(:each) do
|
87
|
-
RAutomation::Window.wait_timeout =
|
113
|
+
RAutomation::Window.wait_timeout = 15
|
88
114
|
|
89
115
|
@pid1 = IO.popen(SpecHelper::DATA[:window1]).pid
|
90
116
|
RAutomation::WaitHelper.wait_until {RAutomation::Window.new(:pid => @pid1).present?}
|
data/spec/text_field_spec.rb
CHANGED
@@ -3,7 +3,7 @@ require 'spec_helper'
|
|
3
3
|
describe RAutomation::TextField do
|
4
4
|
it "#text_field" do
|
5
5
|
RAutomation::Window.new(:title => "MainFormWindow").
|
6
|
-
text_field(:
|
6
|
+
text_field(:class => /Edit/i, :index => 1).should exist
|
7
7
|
|
8
8
|
RAutomation::Window.wait_timeout = 0.1
|
9
9
|
expect { RAutomation::Window.new(:title => "non-existent-window").
|
@@ -13,7 +13,7 @@ describe RAutomation::TextField do
|
|
13
13
|
|
14
14
|
it "#set" do
|
15
15
|
window = RAutomation::Window.new(:title => "MainFormWindow")
|
16
|
-
window.text_field(:
|
16
|
+
window.text_field(:class => /Edit/i, :index => 1).set "hello!"
|
17
17
|
|
18
18
|
RAutomation::Window.wait_timeout = 0.1
|
19
19
|
expect { window.text_field(:class => "non-existing-field").set "hello!" }.
|
@@ -22,7 +22,7 @@ describe RAutomation::TextField do
|
|
22
22
|
|
23
23
|
it "#clear" do
|
24
24
|
window = RAutomation::Window.new(:title => "MainFormWindow")
|
25
|
-
field = window.text_field(:
|
25
|
+
field = window.text_field(:class => /Edit/i, :index => 1)
|
26
26
|
field.set "hello!"
|
27
27
|
field.value.should == "hello!"
|
28
28
|
field.clear
|
@@ -35,7 +35,7 @@ describe RAutomation::TextField do
|
|
35
35
|
|
36
36
|
it "#value" do
|
37
37
|
window = RAutomation::Window.new(:title => "MainFormWindow")
|
38
|
-
field = window.text_field(:
|
38
|
+
field = window.text_field(:class => /Edit/i, :index => 1)
|
39
39
|
field.set "hello!"
|
40
40
|
field.value.should == "hello!"
|
41
41
|
|
@@ -46,7 +46,7 @@ describe RAutomation::TextField do
|
|
46
46
|
|
47
47
|
it "#exists?" do
|
48
48
|
window = RAutomation::Window.new(:title => "MainFormWindow")
|
49
|
-
field = window.text_field(:
|
49
|
+
field = window.text_field(:class => /Edit/i, :index => 1)
|
50
50
|
field.should exist
|
51
51
|
window.text_field(:class => "non-existent-field").should_not exist
|
52
52
|
end
|
@@ -54,8 +54,7 @@ describe RAutomation::TextField do
|
|
54
54
|
|
55
55
|
it "#hwnd" do
|
56
56
|
window = RAutomation::Window.new(:title => "MainFormWindow")
|
57
|
-
field = window.text_field(:
|
58
|
-
|
57
|
+
field = window.text_field(:class => /Edit/i, :index => 1)
|
59
58
|
field.hwnd.should be_a(Fixnum)
|
60
59
|
|
61
60
|
RAutomation::Window.wait_timeout = 0.1
|
data/spec/window_spec.rb
CHANGED
@@ -51,6 +51,18 @@ describe RAutomation::Window do
|
|
51
51
|
to raise_exception(RAutomation::UnknownWindowException)
|
52
52
|
end
|
53
53
|
|
54
|
+
it "#class_names" do
|
55
|
+
window = RAutomation::Window.new(:title => SpecHelper::DATA[:window1_title])
|
56
|
+
window.class_names.size.should == 24
|
57
|
+
|
58
|
+
fail "Expected class name not found." unless window.class_names.include?("WindowsForms10.Window.8.app.0.2bf8098_r15_ad1") or
|
59
|
+
window.class_names.include?("WindowsForms10.Window.8.app.0.2bf8098_r16_ad1")
|
60
|
+
|
61
|
+
RAutomation::Window.wait_timeout = 0.1
|
62
|
+
expect {RAutomation::Window.new(:title => "non-existing-window").class_names}.
|
63
|
+
to raise_exception(RAutomation::UnknownWindowException)
|
64
|
+
end
|
65
|
+
|
54
66
|
it "#activate & #active?" do
|
55
67
|
window = RAutomation::Window.new(:title => SpecHelper::DATA[:window1_title])
|
56
68
|
window.activate
|
data/spec/windows_spec.rb
CHANGED
@@ -19,6 +19,16 @@ describe RAutomation::Windows do
|
|
19
19
|
]
|
20
20
|
should have_all_windows(expected_windows, windows)
|
21
21
|
end
|
22
|
+
|
23
|
+
it "Window.windows accepts locators too" do
|
24
|
+
windows = RAutomation::Window.windows(:title => SpecHelper::DATA[:window1_title])
|
25
|
+
windows.should be_a(RAutomation::Windows)
|
26
|
+
windows.size.should == 1
|
27
|
+
expected_windows = [
|
28
|
+
RAutomation::Window.new(:pid => @pid1),
|
29
|
+
]
|
30
|
+
should have_all_windows(expected_windows, windows)
|
31
|
+
end
|
22
32
|
|
23
33
|
it "Windows#windows returns all similar windows" do
|
24
34
|
windows = RAutomation::Window.new(:title => SpecHelper::DATA[:window1_title]).windows
|
@@ -41,6 +51,15 @@ describe RAutomation::Windows do
|
|
41
51
|
should have_all_windows(expected_windows, windows)
|
42
52
|
end
|
43
53
|
|
54
|
+
it "Window.windows doesn't allow :hwnd or :pid as it's locators" do
|
55
|
+
RAutomation::Window.wait_timeout = 0.1
|
56
|
+
expect { RAutomation::Window.windows(:hwnd => 123) }.
|
57
|
+
to raise_exception(RAutomation::ElementCollections::UnsupportedLocatorException)
|
58
|
+
|
59
|
+
expect { RAutomation::Window.windows(:pid => 123) }.
|
60
|
+
to raise_exception(RAutomation::ElementCollections::UnsupportedLocatorException)
|
61
|
+
end
|
62
|
+
|
44
63
|
after :each do
|
45
64
|
Process.kill(9, @pid2) rescue nil
|
46
65
|
end
|
metadata
CHANGED
@@ -1,58 +1,43 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rautomation
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
- 3
|
10
|
-
version: 0.6.3
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jarmo Pertman
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rspec
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &26885976 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 3
|
32
|
-
version: "2.3"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.3'
|
33
22
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
* Cross-platform compatibility
|
42
|
-
* Easy extensibility - with small scripting effort it's possible to add support for not yet
|
43
|
-
supported platforms or technologies
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *26885976
|
25
|
+
description: ! "RAutomation is a small and easy to use library for helping out to
|
26
|
+
automate windows and their controls\nfor automated testing.\n\nRAutomation provides:\n*
|
27
|
+
Easy to use and user-friendly API (inspired by Watir http://www.watir.com)\n* Cross-platform
|
28
|
+
compatibility\n* Easy extensibility - with small scripting effort it's possible
|
29
|
+
to add support for not yet\n supported platforms or technologies"
|
44
30
|
email: jarmo.p@gmail.com
|
45
31
|
executables: []
|
46
|
-
|
47
32
|
extensions: []
|
48
|
-
|
49
|
-
|
50
|
-
- LICENSE
|
51
|
-
- README.rdoc
|
52
|
-
files:
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
53
35
|
- .document
|
36
|
+
- .gitignore
|
54
37
|
- .rspec
|
55
38
|
- .yardopts
|
39
|
+
- Gemfile
|
40
|
+
- Gemfile.lock
|
56
41
|
- History.rdoc
|
57
42
|
- LICENSE
|
58
43
|
- README.rdoc
|
@@ -130,38 +115,68 @@ files:
|
|
130
115
|
- lib/rautomation/adapter/autoit/text_field.rb
|
131
116
|
- lib/rautomation/adapter/autoit/window.rb
|
132
117
|
- lib/rautomation/adapter/helper.rb
|
133
|
-
- lib/rautomation/adapter/
|
134
|
-
- lib/rautomation/adapter/
|
135
|
-
- lib/rautomation/adapter/
|
136
|
-
- lib/rautomation/adapter/
|
137
|
-
- lib/rautomation/adapter/
|
138
|
-
- lib/rautomation/adapter/
|
139
|
-
- lib/rautomation/adapter/
|
140
|
-
- lib/rautomation/adapter/
|
141
|
-
- lib/rautomation/adapter/
|
142
|
-
- lib/rautomation/adapter/
|
143
|
-
- lib/rautomation/adapter/
|
144
|
-
- lib/rautomation/adapter/
|
145
|
-
- lib/rautomation/adapter/
|
146
|
-
- lib/rautomation/adapter/
|
147
|
-
- lib/rautomation/adapter/
|
148
|
-
- lib/rautomation/adapter/
|
149
|
-
- lib/rautomation/adapter/
|
118
|
+
- lib/rautomation/adapter/ms_uia.rb
|
119
|
+
- lib/rautomation/adapter/ms_uia/button.rb
|
120
|
+
- lib/rautomation/adapter/ms_uia/button_helper.rb
|
121
|
+
- lib/rautomation/adapter/ms_uia/checkbox.rb
|
122
|
+
- lib/rautomation/adapter/ms_uia/constants.rb
|
123
|
+
- lib/rautomation/adapter/ms_uia/control.rb
|
124
|
+
- lib/rautomation/adapter/ms_uia/functions.rb
|
125
|
+
- lib/rautomation/adapter/ms_uia/keystroke_converter.rb
|
126
|
+
- lib/rautomation/adapter/ms_uia/label.rb
|
127
|
+
- lib/rautomation/adapter/ms_uia/list_box.rb
|
128
|
+
- lib/rautomation/adapter/ms_uia/list_item.rb
|
129
|
+
- lib/rautomation/adapter/ms_uia/locators.rb
|
130
|
+
- lib/rautomation/adapter/ms_uia/radio.rb
|
131
|
+
- lib/rautomation/adapter/ms_uia/select_list.rb
|
132
|
+
- lib/rautomation/adapter/ms_uia/table.rb
|
133
|
+
- lib/rautomation/adapter/ms_uia/text_field.rb
|
134
|
+
- lib/rautomation/adapter/ms_uia/uia_dll.rb
|
135
|
+
- lib/rautomation/adapter/ms_uia/window.rb
|
136
|
+
- lib/rautomation/adapter/win_32.rb
|
137
|
+
- lib/rautomation/adapter/win_32/button.rb
|
138
|
+
- lib/rautomation/adapter/win_32/button_helper.rb
|
139
|
+
- lib/rautomation/adapter/win_32/checkbox.rb
|
140
|
+
- lib/rautomation/adapter/win_32/constants.rb
|
141
|
+
- lib/rautomation/adapter/win_32/control.rb
|
142
|
+
- lib/rautomation/adapter/win_32/functions.rb
|
143
|
+
- lib/rautomation/adapter/win_32/keys.rb
|
144
|
+
- lib/rautomation/adapter/win_32/label.rb
|
145
|
+
- lib/rautomation/adapter/win_32/list_box.rb
|
146
|
+
- lib/rautomation/adapter/win_32/locators.rb
|
147
|
+
- lib/rautomation/adapter/win_32/radio.rb
|
148
|
+
- lib/rautomation/adapter/win_32/select_list.rb
|
149
|
+
- lib/rautomation/adapter/win_32/table.rb
|
150
|
+
- lib/rautomation/adapter/win_32/text_field.rb
|
151
|
+
- lib/rautomation/adapter/win_32/window.rb
|
150
152
|
- lib/rautomation/button.rb
|
151
153
|
- lib/rautomation/element_collections.rb
|
152
154
|
- lib/rautomation/text_field.rb
|
153
155
|
- lib/rautomation/wait_helper.rb
|
154
156
|
- lib/rautomation/window.rb
|
155
|
-
-
|
156
|
-
- spec/adapter/
|
157
|
-
- spec/adapter/
|
158
|
-
- spec/adapter/
|
159
|
-
- spec/adapter/
|
160
|
-
- spec/adapter/
|
161
|
-
- spec/adapter/
|
162
|
-
- spec/adapter/
|
163
|
-
- spec/adapter/
|
164
|
-
- spec/adapter/
|
157
|
+
- rautomation.gemspec
|
158
|
+
- spec/adapter/autoit/window_spec.rb
|
159
|
+
- spec/adapter/ms_uia/button_spec.rb
|
160
|
+
- spec/adapter/ms_uia/checkbox_spec.rb
|
161
|
+
- spec/adapter/ms_uia/control_spec.rb
|
162
|
+
- spec/adapter/ms_uia/keystroke_converter_spec.rb
|
163
|
+
- spec/adapter/ms_uia/label_spec.rb
|
164
|
+
- spec/adapter/ms_uia/list_item_spec.rb
|
165
|
+
- spec/adapter/ms_uia/listbox_spec.rb
|
166
|
+
- spec/adapter/ms_uia/radio_spec.rb
|
167
|
+
- spec/adapter/ms_uia/select_list_spec.rb
|
168
|
+
- spec/adapter/ms_uia/table_spec.rb
|
169
|
+
- spec/adapter/ms_uia/text_field_spec.rb
|
170
|
+
- spec/adapter/ms_uia/window_spec.rb
|
171
|
+
- spec/adapter/win_32/button_spec.rb
|
172
|
+
- spec/adapter/win_32/checkbox_spec.rb
|
173
|
+
- spec/adapter/win_32/label_spec.rb
|
174
|
+
- spec/adapter/win_32/listbox_spec.rb
|
175
|
+
- spec/adapter/win_32/radio_spec.rb
|
176
|
+
- spec/adapter/win_32/select_list_spec.rb
|
177
|
+
- spec/adapter/win_32/table_spec.rb
|
178
|
+
- spec/adapter/win_32/text_field_spec.rb
|
179
|
+
- spec/adapter/win_32/window_spec.rb
|
165
180
|
- spec/button_spec.rb
|
166
181
|
- spec/buttons_spec.rb
|
167
182
|
- spec/spec_helper.rb
|
@@ -171,48 +186,51 @@ files:
|
|
171
186
|
- spec/windows_spec.rb
|
172
187
|
homepage: http://github.com/jarmo/RAutomation
|
173
188
|
licenses: []
|
174
|
-
|
175
189
|
post_install_message:
|
176
190
|
rdoc_options: []
|
177
|
-
|
178
|
-
require_paths:
|
191
|
+
require_paths:
|
179
192
|
- lib
|
180
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
194
|
none: false
|
182
|
-
requirements:
|
183
|
-
- -
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
|
186
|
-
|
187
|
-
- 0
|
188
|
-
version: "0"
|
189
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ! '>='
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
200
|
none: false
|
191
|
-
requirements:
|
192
|
-
- -
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
|
195
|
-
segments:
|
196
|
-
- 0
|
197
|
-
version: "0"
|
201
|
+
requirements:
|
202
|
+
- - ! '>='
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0'
|
198
205
|
requirements: []
|
199
|
-
|
200
206
|
rubyforge_project:
|
201
|
-
rubygems_version: 1.8.
|
207
|
+
rubygems_version: 1.8.12
|
202
208
|
signing_key:
|
203
209
|
specification_version: 3
|
204
210
|
summary: Automate windows and their controls through user-friendly API with Ruby
|
205
|
-
test_files:
|
206
|
-
- spec/adapter/
|
207
|
-
- spec/adapter/
|
208
|
-
- spec/adapter/
|
209
|
-
- spec/adapter/
|
210
|
-
- spec/adapter/
|
211
|
-
- spec/adapter/
|
212
|
-
- spec/adapter/
|
213
|
-
- spec/adapter/
|
214
|
-
- spec/adapter/
|
215
|
-
- spec/adapter/
|
211
|
+
test_files:
|
212
|
+
- spec/adapter/autoit/window_spec.rb
|
213
|
+
- spec/adapter/ms_uia/button_spec.rb
|
214
|
+
- spec/adapter/ms_uia/checkbox_spec.rb
|
215
|
+
- spec/adapter/ms_uia/control_spec.rb
|
216
|
+
- spec/adapter/ms_uia/keystroke_converter_spec.rb
|
217
|
+
- spec/adapter/ms_uia/label_spec.rb
|
218
|
+
- spec/adapter/ms_uia/list_item_spec.rb
|
219
|
+
- spec/adapter/ms_uia/listbox_spec.rb
|
220
|
+
- spec/adapter/ms_uia/radio_spec.rb
|
221
|
+
- spec/adapter/ms_uia/select_list_spec.rb
|
222
|
+
- spec/adapter/ms_uia/table_spec.rb
|
223
|
+
- spec/adapter/ms_uia/text_field_spec.rb
|
224
|
+
- spec/adapter/ms_uia/window_spec.rb
|
225
|
+
- spec/adapter/win_32/button_spec.rb
|
226
|
+
- spec/adapter/win_32/checkbox_spec.rb
|
227
|
+
- spec/adapter/win_32/label_spec.rb
|
228
|
+
- spec/adapter/win_32/listbox_spec.rb
|
229
|
+
- spec/adapter/win_32/radio_spec.rb
|
230
|
+
- spec/adapter/win_32/select_list_spec.rb
|
231
|
+
- spec/adapter/win_32/table_spec.rb
|
232
|
+
- spec/adapter/win_32/text_field_spec.rb
|
233
|
+
- spec/adapter/win_32/window_spec.rb
|
216
234
|
- spec/button_spec.rb
|
217
235
|
- spec/buttons_spec.rb
|
218
236
|
- spec/spec_helper.rb
|
@@ -220,3 +238,4 @@ test_files:
|
|
220
238
|
- spec/text_fields_spec.rb
|
221
239
|
- spec/window_spec.rb
|
222
240
|
- spec/windows_spec.rb
|
241
|
+
has_rdoc:
|