uia 0.7 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitmodules +2 -2
- data/ChangeLog +100 -95
- data/Rakefile +6 -7
- data/lib/uia/version.rb +1 -1
- data/uia.gemspec +3 -4
- metadata +12 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ea0b1601de87f24bd90569b367cf1a422050540bbb5cd0b1433cfda100cb2ba0
|
4
|
+
data.tar.gz: 1212a4bb5744b0a97cd0e5faea2cc95e51f637c6174daa22460165c5848809d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9aa631498aa9d59e1c43edfc3b2291e3b88a5303efc04727e5af432462e8f0873e40a1d0e1b2cb1e4920cba385640b39d47b61c2adcfa9057033e5a05883863
|
7
|
+
data.tar.gz: 11ce730915f85520a660342e5ab5da591aa5c4d0b49e41146c4ed6e263e7c3807a8813524c3d83566b49aad239c7bf68c7a4df0e5d56946cc6bb11cac1ebd980
|
data/.gitmodules
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
[submodule "spec/app/src"]
|
2
|
-
|
3
|
-
|
2
|
+
path = spec/app/src
|
3
|
+
url = https://github.com/leviwilson/mohawk-testing-app.git
|
data/ChangeLog
CHANGED
@@ -1,35 +1,40 @@
|
|
1
|
-
===
|
2
|
-
*
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
===
|
15
|
-
*
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
===
|
20
|
-
*
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
*
|
31
|
-
|
32
|
-
|
1
|
+
=== Version 0.8 / 2021-01-19
|
2
|
+
* Changes
|
3
|
+
* Bumped gem dependencies
|
4
|
+
* Removed albacore
|
5
|
+
|
6
|
+
=== Version 0.7 / 2019-01-22
|
7
|
+
* Changes
|
8
|
+
* Drag events now send an intermediate MouseMove event
|
9
|
+
|
10
|
+
=== Version 0.6 / 2014-11-14
|
11
|
+
* Changes
|
12
|
+
* Loosened the ffi dependency to ~> 1.9.4
|
13
|
+
|
14
|
+
=== Version 0.5 / 2014-05-26
|
15
|
+
* Bug Fixes
|
16
|
+
* fixed issue #5 where finding by runtime_id was not working on Windows 8
|
17
|
+
machines
|
18
|
+
|
19
|
+
=== Version 0.4.4 / 2014-05-23
|
20
|
+
* Enhancements
|
21
|
+
* modified how it uses the runtime_id to locate an element to use the
|
22
|
+
first found handle section, rather than the last
|
23
|
+
|
24
|
+
=== Version 0.4.3 / 2014-05-23
|
25
|
+
* Enhancements
|
26
|
+
* improved the speed at which you can locate an element by runtime_id
|
27
|
+
|
28
|
+
=== Version 0.4.2 / 2014-05-21
|
29
|
+
* Enhancements
|
30
|
+
* Exceptions on the .NET side of things now include stack trace
|
31
|
+
information
|
32
|
+
* Better errors when elements that are expected to exist are no longer
|
33
|
+
there
|
34
|
+
|
35
|
+
* Bug Fixes
|
36
|
+
* Fixes a potential memory leak if an ElementNotAvailableException
|
37
|
+
occurs when grabbing elements
|
33
38
|
|
34
39
|
=== Version 0.4.1 / 2014-05-14
|
35
40
|
* Enhancements
|
@@ -83,84 +88,84 @@
|
|
83
88
|
* changed #click to be clickable point only
|
84
89
|
* added #click_center to try to click in the bounding_rectangle
|
85
90
|
|
86
|
-
===
|
87
|
-
*
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
91
|
+
=== Version 0.0.9 / 2014-02-06
|
92
|
+
* Enhancements
|
93
|
+
* Element#focused? and Element#focus
|
94
|
+
* Element#bounding_rectangle
|
95
|
+
* Selection#selected_items for multi-select
|
96
|
+
* #focus will try multiple times to focus an element before it gives up
|
97
|
+
* #click will attempt to use the bounding_rectangle if there is no
|
98
|
+
"clickable point"
|
94
99
|
|
95
100
|
=== Version 0.0.8 / 2013-12-02
|
96
|
-
*
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
+
* Enhancements
|
102
|
+
* Uia#find_element and Element#find can locate by :title
|
103
|
+
* Element#send_keys
|
104
|
+
* Window#close
|
105
|
+
* TextPattern support to get / set the text
|
101
106
|
|
102
|
-
*
|
103
|
-
|
107
|
+
* Bug Fixes
|
108
|
+
* Fix issue with selecting cells in a table
|
104
109
|
|
105
110
|
=== Version 0.0.7.3 / 2013-11-02
|
106
|
-
*
|
107
|
-
|
108
|
-
|
111
|
+
* Enhancements
|
112
|
+
* Element#visible?
|
113
|
+
* added support for RangeValuePattern
|
109
114
|
|
110
115
|
=== Version 0.0.7.2 / 2013-11-02
|
111
|
-
*
|
112
|
-
|
116
|
+
* Enhancements
|
117
|
+
* Element#find can specify the scope of the search
|
113
118
|
|
114
119
|
=== Version 0.0.7.1 / 2013-11-01
|
115
|
-
*
|
116
|
-
|
120
|
+
* Bug Fixes
|
121
|
+
* Fixes issue with ComboBox controls for Selection#selection_items
|
117
122
|
|
118
123
|
=== Version 0.0.7 / 2013-11-01
|
119
|
-
*
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
*
|
129
|
-
|
130
|
-
|
124
|
+
* Enhancements
|
125
|
+
* added a base implementation for the Window pattern
|
126
|
+
* added support for WindowPattern, TablePattern and TableItemPattern
|
127
|
+
* Element#as raises UnsupportedPattern if the element does not implement it
|
128
|
+
* added an Element#select method to filter descendants by:
|
129
|
+
- pattern
|
130
|
+
- name
|
131
|
+
- id
|
132
|
+
|
133
|
+
* Bug Fixes
|
134
|
+
* modified ffi calls that return Element arrays to be individually GC'd.
|
135
|
+
This prevents FFI::ManagedStruct from being taken out from underneath you
|
131
136
|
|
132
137
|
=== Version 0.0.6.1 / 2013-10-30
|
133
138
|
* Bug Fixes
|
134
|
-
|
135
|
-
|
139
|
+
* Fixed issue when finding root children by RegEx initially
|
140
|
+
* all Find methods consistently return Element classes
|
136
141
|
|
137
142
|
=== Version 0.0.6 / 2013-10-22
|
138
|
-
*
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
===
|
153
|
-
*
|
154
|
-
|
155
|
-
|
156
|
-
===
|
157
|
-
|
158
|
-
*
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
===
|
143
|
+
* Enhancements
|
144
|
+
* Have implemented the following patterns:
|
145
|
+
* ExpandCollapse
|
146
|
+
* Invoke
|
147
|
+
* Selection
|
148
|
+
* SelectionItem
|
149
|
+
* Toggle
|
150
|
+
* Value
|
151
|
+
* Element can find their descendants by :id or :name
|
152
|
+
* Can search for top-level elements with Regex
|
153
|
+
* Elements can be refreshed
|
154
|
+
* Moved Uia methods to be class-level (i.e. Uia.find_element rather than
|
155
|
+
including Uia)
|
156
|
+
|
157
|
+
=== Version 0.0.5.1 / 2013-10-16
|
158
|
+
* Enhancements
|
159
|
+
* reduced the size of the gem package by excluding gmock and gtest
|
160
|
+
|
161
|
+
=== Version 0.0.5 / 2013-10-16
|
162
|
+
|
163
|
+
* Enhancements
|
164
|
+
* Pushed #find_element into the Uia module
|
165
|
+
* Can locate elements by :id, :handle, :runtime_pid and :pid
|
166
|
+
* Element now knows about :id,:control_type, :patterns, :handle and :runtime_id
|
167
|
+
* Elements know about their :children and :descendants
|
168
|
+
|
169
|
+
=== Version 0.0.4 / 2013-10-11
|
165
170
|
Initial release with very limited support for finding an element and
|
166
171
|
displaying various properties.
|
data/Rakefile
CHANGED
@@ -2,18 +2,17 @@ require 'bundler/setup'
|
|
2
2
|
require 'bundler/gem_tasks'
|
3
3
|
require 'rspec/core/rake_task'
|
4
4
|
|
5
|
-
require 'albacore'
|
6
|
-
require 'albacore/tasks/versionizer'
|
7
|
-
|
8
5
|
RSpec::Core::RakeTask.new(:spec)
|
9
6
|
|
10
7
|
task :default => :spec
|
11
|
-
|
12
8
|
task :spec => :build_release
|
13
9
|
task :build => :spec
|
14
10
|
|
15
11
|
desc 'Build the release version of UiaDll'
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
task :build_release do
|
13
|
+
Dir.chdir('ext/UiaDll') do
|
14
|
+
if !system('msbuild UiaDll.sln -target:Rebuild -property:Configuration=Release')
|
15
|
+
fail "Failed to build UiaDll: #{$?.exitstatus}"
|
16
|
+
end
|
17
|
+
end
|
19
18
|
end
|
data/lib/uia/version.rb
CHANGED
data/uia.gemspec
CHANGED
@@ -25,13 +25,12 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
26
26
|
spec.require_paths = ['lib']
|
27
27
|
|
28
|
-
spec.add_runtime_dependency 'ffi', '~> 1.
|
28
|
+
spec.add_runtime_dependency 'ffi', '~> 1.14'
|
29
29
|
spec.add_runtime_dependency 'require_all', '~> 3.0'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler', '>= 1.3'
|
32
|
-
spec.add_development_dependency 'rake', '~>
|
32
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
33
33
|
spec.add_development_dependency 'rspec', '~> 3.9'
|
34
34
|
spec.add_development_dependency 'rspec-given', '~> 3.8'
|
35
|
-
spec.add_development_dependency 'childprocess', '~>
|
36
|
-
spec.add_development_dependency 'albacore', '~> 3.0.1'
|
35
|
+
spec.add_development_dependency 'childprocess', '~> 4.0'
|
37
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Levi Wilson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.14'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: '1.14'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: require_all
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '13.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,28 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '3.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: albacore
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 3.0.1
|
103
|
+
version: '4.0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
108
|
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
110
|
+
version: '4.0'
|
125
111
|
description: A low-level wrapper around Microsoft UI Automation for ruby
|
126
112
|
email:
|
127
113
|
- levi@leviwilson.com
|
@@ -251,7 +237,7 @@ homepage: https://github.com/northwoodspd/uia
|
|
251
237
|
licenses:
|
252
238
|
- MIT
|
253
239
|
metadata: {}
|
254
|
-
post_install_message:
|
240
|
+
post_install_message:
|
255
241
|
rdoc_options: []
|
256
242
|
require_paths:
|
257
243
|
- lib
|
@@ -266,9 +252,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
252
|
- !ruby/object:Gem::Version
|
267
253
|
version: '0'
|
268
254
|
requirements: []
|
269
|
-
|
270
|
-
|
271
|
-
signing_key:
|
255
|
+
rubygems_version: 3.2.3
|
256
|
+
signing_key:
|
272
257
|
specification_version: 4
|
273
258
|
summary: A low-level wrapper around Microsoft UI Automation for ruby
|
274
259
|
test_files:
|