rautomation 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/History.rdoc +5 -0
- data/VERSION +1 -1
- data/ext/UiaDll/Release/UiaDll.dll +0 -0
- data/ext/UiaDll/UiaDll/AutomatedSelectList.cpp +10 -0
- data/ext/UiaDll/UiaDll/AutomatedSelectList.h +1 -0
- data/ext/UiaDll/UiaDll/AutomationClicker.cpp +9 -13
- data/ext/UiaDll/UiaDll/AutomationClicker.h +5 -4
- data/ext/UiaDll/UiaDll/AutomationControl.h +8 -0
- data/ext/UiaDll/UiaDll/ControlMethods.cpp +4 -4
- data/ext/UiaDll/UiaDll/ExpandCollapseHelper.cpp +12 -12
- data/ext/UiaDll/UiaDll/ExpandCollapseHelper.h +9 -6
- data/ext/UiaDll/UiaDll/SelectListMethods.cpp +9 -4
- data/ext/UiaDll/UiaDll/TableMethods.cpp +16 -16
- data/ext/UiaDll/UiaDll/UiaDll.cpp +279 -259
- data/lib/rautomation/adapter/ms_uia/button.rb +1 -6
- data/lib/rautomation/adapter/ms_uia/button_helper.rb +0 -6
- data/lib/rautomation/adapter/ms_uia/control.rb +9 -12
- data/lib/rautomation/adapter/ms_uia/functions.rb +0 -16
- data/lib/rautomation/adapter/ms_uia/label.rb +1 -5
- data/lib/rautomation/adapter/ms_uia/list_box.rb +3 -26
- data/lib/rautomation/adapter/ms_uia/select_list.rb +6 -38
- data/lib/rautomation/adapter/ms_uia/table.rb +13 -20
- data/lib/rautomation/adapter/ms_uia/text_field.rb +2 -16
- data/lib/rautomation/adapter/ms_uia/uia_dll.rb +52 -33
- data/lib/rautomation/adapter/ms_uia/value_control.rb +2 -2
- data/spec/adapter/ms_uia/window_spec.rb +2 -2
- metadata +2 -2
@@ -6,11 +6,11 @@ module RAutomation
|
|
6
6
|
include Locators
|
7
7
|
|
8
8
|
def value
|
9
|
-
UiaDll::get_control_value(
|
9
|
+
UiaDll::get_control_value(search_information)
|
10
10
|
end
|
11
11
|
|
12
12
|
def set(value)
|
13
|
-
UiaDll::set_control_value(
|
13
|
+
UiaDll::set_control_value(search_information, value)
|
14
14
|
end
|
15
15
|
|
16
16
|
alias_method :exists?, :exist?
|
@@ -17,8 +17,8 @@ describe "MsUia::Window", :if => SpecHelper.adapter == :ms_uia do
|
|
17
17
|
|
18
18
|
context "#send_keys" do
|
19
19
|
it "send tab keystrokes to move focus between elements" do
|
20
|
-
window.button(:value => "
|
21
|
-
window.button(:value => "
|
20
|
+
window.button(:value => "About").focus
|
21
|
+
window.button(:value => "About").should be_focused
|
22
22
|
|
23
23
|
window.send_keys(:tab, :tab, :tab)
|
24
24
|
button = window.button(:value => "Close")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rautomation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jarmo Pertman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|