sirius-client-web 2013.4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +24 -0
- data/lib/sirius/web.rb +26 -0
- data/lib/sirius/web/classes/form.rb +26 -0
- data/lib/sirius/web/classes/frame.rb +38 -0
- data/lib/sirius/web/classes/page.rb +42 -0
- data/lib/sirius/web/classes/web_button.rb +28 -0
- data/lib/sirius/web/classes/web_checkbox.rb +18 -0
- data/lib/sirius/web/classes/web_control.rb +48 -0
- data/lib/sirius/web/classes/web_edit.rb +28 -0
- data/lib/sirius/web/classes/web_image.rb +10 -0
- data/lib/sirius/web/classes/web_link.rb +10 -0
- data/lib/sirius/web/classes/web_popup_list.rb +58 -0
- data/lib/sirius/web/classes/web_radio_button.rb +22 -0
- data/lib/sirius/web/core.rb +29 -0
- data/lib/sirius/web/core/WebCoreService.rb +599 -0
- data/lib/sirius/web/core/WebCoreServiceClient.rb +352 -0
- data/lib/sirius/web/core/WebCoreServiceDriver.rb +264 -0
- data/lib/sirius/web/core/WebCoreServiceMappingRegistry.rb +1410 -0
- data/lib/sirius/web/core/select/WebSelectService.rb +223 -0
- data/lib/sirius/web/core/select/WebSelectServiceClient.rb +148 -0
- data/lib/sirius/web/core/select/WebSelectServiceDriver.rb +128 -0
- data/lib/sirius/web/core/select/WebSelectServiceMappingRegistry.rb +587 -0
- metadata +67 -0
data/Rakefile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rubygems/package_task'
|
3
|
+
require 'cucumber'
|
4
|
+
require 'cucumber/rake/task'
|
5
|
+
|
6
|
+
spec = Gem::Specification.new do |s|
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.summary = "Sirius Ruby Web client"
|
9
|
+
s.name = "sirius-client-web"
|
10
|
+
s.version = File.read('VERSION').chomp
|
11
|
+
s.requirements = "none"
|
12
|
+
s.files = FileList["lib/**/*.rb", "Rakefile"]
|
13
|
+
s.homepage = "http://github.com/mkolisnyk/Sirius"
|
14
|
+
s.description = "The web client module for Sirius system"
|
15
|
+
s.authors="Myk Kolisnyk"
|
16
|
+
s.email="kolesnik.nickolay@gmail.com"
|
17
|
+
end
|
18
|
+
|
19
|
+
Gem::PackageTask.new(spec) do |pkg|
|
20
|
+
end
|
21
|
+
|
22
|
+
Cucumber::Rake::Task.new(:test) do |t|
|
23
|
+
t.cucumber_opts = "tests/features --format pretty --guess"
|
24
|
+
end
|
data/lib/sirius/web.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
class Web
|
5
|
+
attr_accessor :core
|
6
|
+
attr_accessor :token
|
7
|
+
def initialize(host="localhost",port="21212")
|
8
|
+
@core = Core::Core.new(host,port)
|
9
|
+
@token = nil
|
10
|
+
end
|
11
|
+
|
12
|
+
def start()
|
13
|
+
@token = @core.start
|
14
|
+
end
|
15
|
+
|
16
|
+
def stop()
|
17
|
+
@core.stop @token
|
18
|
+
end
|
19
|
+
|
20
|
+
def method_missing? name,*args
|
21
|
+
@core.method(name).call(@token,args)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
|
6
|
+
class Form < Frame
|
7
|
+
attr_accessor :client
|
8
|
+
attr_accessor :locator
|
9
|
+
|
10
|
+
def initialize(client, locator)
|
11
|
+
@client = client
|
12
|
+
@locator = locator
|
13
|
+
end
|
14
|
+
|
15
|
+
def submit
|
16
|
+
@client.core.submit(nil, locator);
|
17
|
+
end
|
18
|
+
|
19
|
+
def method_missing?(name,*args)
|
20
|
+
@client.core.getAttribute(nil, @locator, name)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
|
6
|
+
class Frame
|
7
|
+
attr_accessor :client
|
8
|
+
attr_accessor :locator
|
9
|
+
|
10
|
+
def initialize(client, locator)
|
11
|
+
@client = client
|
12
|
+
@locator = locator
|
13
|
+
end
|
14
|
+
|
15
|
+
def url
|
16
|
+
@client.core.getURL
|
17
|
+
end
|
18
|
+
|
19
|
+
def location
|
20
|
+
@client.core.getLocation(nil, locator)
|
21
|
+
end
|
22
|
+
|
23
|
+
def size
|
24
|
+
@client.core.getSize(nil, locator);
|
25
|
+
end
|
26
|
+
|
27
|
+
def innerHtml
|
28
|
+
@client.core.getAttribute(nil, @locator, "innerHTML")
|
29
|
+
end
|
30
|
+
|
31
|
+
def switchTo(frame)
|
32
|
+
@client.core.selectFrameByName(frame.locator)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
|
6
|
+
class Page < Frame
|
7
|
+
attr_accessor :client
|
8
|
+
attr_accessor :locator
|
9
|
+
|
10
|
+
def initialize(client, locator = nil)
|
11
|
+
@client = client
|
12
|
+
@locator = locator
|
13
|
+
end
|
14
|
+
|
15
|
+
def title()
|
16
|
+
@client.core.getTitle()
|
17
|
+
end
|
18
|
+
|
19
|
+
def back()
|
20
|
+
@client.core.back()
|
21
|
+
end
|
22
|
+
|
23
|
+
def forward()
|
24
|
+
@client.core.forward()
|
25
|
+
end
|
26
|
+
|
27
|
+
def refresh()
|
28
|
+
@client.core.refresh()
|
29
|
+
end
|
30
|
+
|
31
|
+
def open(url)
|
32
|
+
@client.core.open(url)
|
33
|
+
end
|
34
|
+
|
35
|
+
def switchTo(page)
|
36
|
+
@client.core.selectWindow(page.locator)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
|
6
|
+
class WebButton < WebControl
|
7
|
+
attr_accessor :parent
|
8
|
+
attr_accessor :parentElement
|
9
|
+
attr_accessor :locator
|
10
|
+
|
11
|
+
def initialize(parent, locator, parentElement=nil)
|
12
|
+
@parent = parent
|
13
|
+
@parentElement = parentElement
|
14
|
+
@locator = locator
|
15
|
+
end
|
16
|
+
|
17
|
+
def text()
|
18
|
+
res = self.value
|
19
|
+
if(res == nil)
|
20
|
+
res = self.innerText
|
21
|
+
end
|
22
|
+
res
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
class WebCheckBox < WebRadioButton
|
6
|
+
def initialize(parent, locator, parentElement=nil)
|
7
|
+
super(parent,locator,parentElement)
|
8
|
+
end
|
9
|
+
|
10
|
+
def uncheck()
|
11
|
+
click if checked?
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
|
6
|
+
class WebControl
|
7
|
+
attr_accessor :parent
|
8
|
+
attr_accessor :parentElement
|
9
|
+
attr_accessor :locator
|
10
|
+
|
11
|
+
def initialize(parent, locator, parentElement=nil)
|
12
|
+
@parent = parent
|
13
|
+
@parentElement = parentElement
|
14
|
+
@locator = locator
|
15
|
+
end
|
16
|
+
|
17
|
+
def client
|
18
|
+
@parent.client
|
19
|
+
end
|
20
|
+
|
21
|
+
def location()
|
22
|
+
client().core().getLocation(@parentElement, @locator)
|
23
|
+
end
|
24
|
+
|
25
|
+
def size()
|
26
|
+
client().core.getSize(@parentElement, @locator)
|
27
|
+
end
|
28
|
+
|
29
|
+
def focused?()
|
30
|
+
false
|
31
|
+
end
|
32
|
+
|
33
|
+
def click()
|
34
|
+
client().core.click(@parentElement, @locator)
|
35
|
+
end
|
36
|
+
|
37
|
+
def get_attribute(attribute)
|
38
|
+
client().core.getAttribute(@parentElement, @locator, attribute)
|
39
|
+
end
|
40
|
+
|
41
|
+
def method_missing?(name,*args)
|
42
|
+
get_attribute(@parentElement, @locator, name)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
|
6
|
+
class WebEdit < WebControl
|
7
|
+
attr_accessor :parent
|
8
|
+
attr_accessor :parentElement
|
9
|
+
attr_accessor :locator
|
10
|
+
|
11
|
+
def initialize(parent, locator, parentElement=nil)
|
12
|
+
@parent = parent
|
13
|
+
@parentElement = parentElement
|
14
|
+
@locator = locator
|
15
|
+
end
|
16
|
+
|
17
|
+
def type(content)
|
18
|
+
client().core.sendKeys(@parentElement, @locator, content)
|
19
|
+
end
|
20
|
+
|
21
|
+
def text()
|
22
|
+
self.value
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
class WebPopupList < WebControl
|
6
|
+
def initialize(parent, locator, parentElement=nil)
|
7
|
+
super(parent,locator,parentElement)
|
8
|
+
end
|
9
|
+
|
10
|
+
def multi?()
|
11
|
+
client().core.isMultiple(@parentElement, @locator)
|
12
|
+
end
|
13
|
+
|
14
|
+
def deselectAll()
|
15
|
+
client().core.deselectAll(@parentElement, @locator)
|
16
|
+
end
|
17
|
+
|
18
|
+
def deselectByIndex(index)
|
19
|
+
client().core.deselectByIndex(@parentElement, @locator, index)
|
20
|
+
end
|
21
|
+
|
22
|
+
def deselectByValue(value)
|
23
|
+
client().core.deselectByValue(@parentElement, @locator, value)
|
24
|
+
end
|
25
|
+
|
26
|
+
def deselectByVisibleText(text)
|
27
|
+
client().core.deselectByVisibleText(@parentElement, @locator, text)
|
28
|
+
end
|
29
|
+
|
30
|
+
def getAllOptions()
|
31
|
+
client().core.getAllOptions(@parentElement, @locator)
|
32
|
+
end
|
33
|
+
|
34
|
+
def selectByIndex(index)
|
35
|
+
client().core.selectByIndex(@parentElement, @locator, index)
|
36
|
+
end
|
37
|
+
|
38
|
+
def selectByValue(value)
|
39
|
+
client().core.selectByValue(@parentElement, @locator, value)
|
40
|
+
end
|
41
|
+
|
42
|
+
def selectByVisibleText(text)
|
43
|
+
client().core.selectByVisibleText(@parentElement, @locator, text)
|
44
|
+
end
|
45
|
+
|
46
|
+
def getAllSelectedOptions()
|
47
|
+
client().core.getAllSelectedOptions(@parentElement, @locator)
|
48
|
+
end
|
49
|
+
|
50
|
+
def getFirstSelectedOption()
|
51
|
+
client().core.getFirstSelectedOption(@parentElement, @locator)
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Classes
|
5
|
+
class WebRadioButton < WebButton
|
6
|
+
|
7
|
+
def initialize(parent, locator, parentElement=nil)
|
8
|
+
super(parent,locator,parentElement)
|
9
|
+
end
|
10
|
+
|
11
|
+
def checked?()
|
12
|
+
client().core.isSelected(@parentElement, @locator)
|
13
|
+
end
|
14
|
+
|
15
|
+
def check()
|
16
|
+
click unless checked?
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Sirius
|
2
|
+
module Client
|
3
|
+
module Web
|
4
|
+
module Core
|
5
|
+
class Core
|
6
|
+
attr_accessor :core_client
|
7
|
+
attr_accessor :select_client
|
8
|
+
|
9
|
+
def initialize(host="localhost",port="21212")
|
10
|
+
@core_client = WebCore.new("http://#{host}:#{port}")
|
11
|
+
@select_client = Select::WebSelect.new("http://#{host}:#{port}")
|
12
|
+
end
|
13
|
+
|
14
|
+
def method_missing?(name,*args)
|
15
|
+
if @core_client.method_defined? name
|
16
|
+
return @core_client.method(name).call(args)
|
17
|
+
end
|
18
|
+
if @select_client.method_defined? name
|
19
|
+
return @select_client.method(name).call(args)
|
20
|
+
end
|
21
|
+
|
22
|
+
raise "No method #{name} defined for Core class"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
@@ -0,0 +1,599 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module Sirius; module Client; module Web; module Core
|
4
|
+
|
5
|
+
|
6
|
+
# {http:web.server.sirius.org/}selectWindow
|
7
|
+
# arg0 - SOAP::SOAPString
|
8
|
+
# arg1 - SOAP::SOAPString
|
9
|
+
class SelectWindow
|
10
|
+
attr_accessor :arg0
|
11
|
+
attr_accessor :arg1
|
12
|
+
|
13
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
14
|
+
@arg1 = arg1
|
15
|
+
end
|
16
|
+
end
|
17
|
+
# {http:web.server.sirius.org/}selectWindowResponse
|
18
|
+
class SelectWindowResponse
|
19
|
+
def initialize
|
20
|
+
end
|
21
|
+
end
|
22
|
+
# {http:web.server.sirius.org/}isSelected
|
23
|
+
# arg0 - SOAP::SOAPString
|
24
|
+
# arg1 - SOAP::SOAPString
|
25
|
+
# arg2 - SOAP::SOAPString
|
26
|
+
class IsSelected
|
27
|
+
attr_accessor :arg0
|
28
|
+
attr_accessor :arg1
|
29
|
+
attr_accessor :arg2
|
30
|
+
|
31
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
32
|
+
@arg1 = arg1
|
33
|
+
@arg2 = arg2
|
34
|
+
end
|
35
|
+
end
|
36
|
+
# {http:web.server.sirius.org/}isSelectedResponse
|
37
|
+
# m_return - SOAP::SOAPBoolean
|
38
|
+
class IsSelectedResponse
|
39
|
+
def m_return
|
40
|
+
@v_return
|
41
|
+
end
|
42
|
+
|
43
|
+
def m_return=(value) @v_return = value
|
44
|
+
end
|
45
|
+
|
46
|
+
def initialize(v_return = nil) @v_return = v_return
|
47
|
+
end
|
48
|
+
end
|
49
|
+
# {http:web.server.sirius.org/}start
|
50
|
+
# arg0 - SOAP::SOAPString
|
51
|
+
class Start
|
52
|
+
attr_accessor :arg0
|
53
|
+
|
54
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
55
|
+
end
|
56
|
+
end
|
57
|
+
# {http:web.server.sirius.org/}startResponse
|
58
|
+
# m_return - SOAP::SOAPString
|
59
|
+
class StartResponse
|
60
|
+
def m_return
|
61
|
+
@v_return
|
62
|
+
end
|
63
|
+
|
64
|
+
def m_return=(value) @v_return = value
|
65
|
+
end
|
66
|
+
|
67
|
+
def initialize(v_return = nil) @v_return = v_return
|
68
|
+
end
|
69
|
+
end
|
70
|
+
# {http:web.server.sirius.org/}selectFrameByIndex
|
71
|
+
# arg0 - SOAP::SOAPString
|
72
|
+
# arg1 - SOAP::SOAPInt
|
73
|
+
class SelectFrameByIndex
|
74
|
+
attr_accessor :arg0
|
75
|
+
attr_accessor :arg1
|
76
|
+
|
77
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
78
|
+
@arg1 = arg1
|
79
|
+
end
|
80
|
+
end
|
81
|
+
# {http:web.server.sirius.org/}selectFrameByIndexResponse
|
82
|
+
class SelectFrameByIndexResponse
|
83
|
+
def initialize
|
84
|
+
end
|
85
|
+
end
|
86
|
+
# {http:web.server.sirius.org/}getLocation
|
87
|
+
# arg0 - SOAP::SOAPString
|
88
|
+
# arg1 - SOAP::SOAPString
|
89
|
+
# arg2 - SOAP::SOAPString
|
90
|
+
class GetLocation
|
91
|
+
attr_accessor :arg0
|
92
|
+
attr_accessor :arg1
|
93
|
+
attr_accessor :arg2
|
94
|
+
|
95
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
96
|
+
@arg1 = arg1
|
97
|
+
@arg2 = arg2
|
98
|
+
end
|
99
|
+
end
|
100
|
+
# {http:web.server.sirius.org/}getLocationResponse
|
101
|
+
# m_return - Sirius::Client::Web::Core::Point
|
102
|
+
class GetLocationResponse
|
103
|
+
def m_return
|
104
|
+
@v_return
|
105
|
+
end
|
106
|
+
|
107
|
+
def m_return=(value) @v_return = value
|
108
|
+
end
|
109
|
+
|
110
|
+
def initialize(v_return = nil) @v_return = v_return
|
111
|
+
end
|
112
|
+
end
|
113
|
+
# {http:web.server.sirius.org/}point
|
114
|
+
# x - SOAP::SOAPInt
|
115
|
+
# y - SOAP::SOAPInt
|
116
|
+
class Point
|
117
|
+
attr_accessor :x
|
118
|
+
attr_accessor :y
|
119
|
+
|
120
|
+
def initialize(x = nil, y = nil) @x = x
|
121
|
+
@y = y
|
122
|
+
end
|
123
|
+
end
|
124
|
+
# {http:web.server.sirius.org/}selectAlert
|
125
|
+
# arg0 - SOAP::SOAPString
|
126
|
+
class SelectAlert
|
127
|
+
attr_accessor :arg0
|
128
|
+
|
129
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
130
|
+
end
|
131
|
+
end
|
132
|
+
# {http:web.server.sirius.org/}selectAlertResponse
|
133
|
+
class SelectAlertResponse
|
134
|
+
def initialize
|
135
|
+
end
|
136
|
+
end
|
137
|
+
# {http:web.server.sirius.org/}getURL
|
138
|
+
# arg0 - SOAP::SOAPString
|
139
|
+
class GetURL
|
140
|
+
attr_accessor :arg0
|
141
|
+
|
142
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
143
|
+
end
|
144
|
+
end
|
145
|
+
# {http:web.server.sirius.org/}getURLResponse
|
146
|
+
# m_return - SOAP::SOAPString
|
147
|
+
class GetURLResponse
|
148
|
+
def m_return
|
149
|
+
@v_return
|
150
|
+
end
|
151
|
+
|
152
|
+
def m_return=(value) @v_return = value
|
153
|
+
end
|
154
|
+
|
155
|
+
def initialize(v_return = nil) @v_return = v_return
|
156
|
+
end
|
157
|
+
end
|
158
|
+
# {http:web.server.sirius.org/}submit
|
159
|
+
# arg0 - SOAP::SOAPString
|
160
|
+
# arg1 - SOAP::SOAPString
|
161
|
+
# arg2 - SOAP::SOAPString
|
162
|
+
class Submit
|
163
|
+
attr_accessor :arg0
|
164
|
+
attr_accessor :arg1
|
165
|
+
attr_accessor :arg2
|
166
|
+
|
167
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
168
|
+
@arg1 = arg1
|
169
|
+
@arg2 = arg2
|
170
|
+
end
|
171
|
+
end
|
172
|
+
# {http:web.server.sirius.org/}submitResponse
|
173
|
+
class SubmitResponse
|
174
|
+
def initialize
|
175
|
+
end
|
176
|
+
end
|
177
|
+
# {http:web.server.sirius.org/}selectFrameByName
|
178
|
+
# arg0 - SOAP::SOAPString
|
179
|
+
# arg1 - SOAP::SOAPString
|
180
|
+
class SelectFrameByName
|
181
|
+
attr_accessor :arg0
|
182
|
+
attr_accessor :arg1
|
183
|
+
|
184
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
185
|
+
@arg1 = arg1
|
186
|
+
end
|
187
|
+
end
|
188
|
+
# {http:web.server.sirius.org/}selectFrameByNameResponse
|
189
|
+
class SelectFrameByNameResponse
|
190
|
+
def initialize
|
191
|
+
end
|
192
|
+
end
|
193
|
+
# {http:web.server.sirius.org/}isEnabled
|
194
|
+
# arg0 - SOAP::SOAPString
|
195
|
+
# arg1 - SOAP::SOAPString
|
196
|
+
# arg2 - SOAP::SOAPString
|
197
|
+
class IsEnabled
|
198
|
+
attr_accessor :arg0
|
199
|
+
attr_accessor :arg1
|
200
|
+
attr_accessor :arg2
|
201
|
+
|
202
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
203
|
+
@arg1 = arg1
|
204
|
+
@arg2 = arg2
|
205
|
+
end
|
206
|
+
end
|
207
|
+
# {http:web.server.sirius.org/}isEnabledResponse
|
208
|
+
# m_return - SOAP::SOAPBoolean
|
209
|
+
class IsEnabledResponse
|
210
|
+
def m_return
|
211
|
+
@v_return
|
212
|
+
end
|
213
|
+
|
214
|
+
def m_return=(value) @v_return = value
|
215
|
+
end
|
216
|
+
|
217
|
+
def initialize(v_return = nil) @v_return = v_return
|
218
|
+
end
|
219
|
+
end
|
220
|
+
# {http:web.server.sirius.org/}back
|
221
|
+
# arg0 - SOAP::SOAPString
|
222
|
+
class Back
|
223
|
+
attr_accessor :arg0
|
224
|
+
|
225
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
226
|
+
end
|
227
|
+
end
|
228
|
+
# {http:web.server.sirius.org/}backResponse
|
229
|
+
class BackResponse
|
230
|
+
def initialize
|
231
|
+
end
|
232
|
+
end
|
233
|
+
# {http:web.server.sirius.org/}forward
|
234
|
+
# arg0 - SOAP::SOAPString
|
235
|
+
class Forward
|
236
|
+
attr_accessor :arg0
|
237
|
+
|
238
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
239
|
+
end
|
240
|
+
end
|
241
|
+
# {http:web.server.sirius.org/}forwardResponse
|
242
|
+
class ForwardResponse
|
243
|
+
def initialize
|
244
|
+
end
|
245
|
+
end
|
246
|
+
# {http:web.server.sirius.org/}clear
|
247
|
+
# arg0 - SOAP::SOAPString
|
248
|
+
# arg1 - SOAP::SOAPString
|
249
|
+
# arg2 - SOAP::SOAPString
|
250
|
+
class Clear
|
251
|
+
attr_accessor :arg0
|
252
|
+
attr_accessor :arg1
|
253
|
+
attr_accessor :arg2
|
254
|
+
|
255
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
256
|
+
@arg1 = arg1
|
257
|
+
@arg2 = arg2
|
258
|
+
end
|
259
|
+
end
|
260
|
+
# {http:web.server.sirius.org/}clearResponse
|
261
|
+
class ClearResponse
|
262
|
+
def initialize
|
263
|
+
end
|
264
|
+
end
|
265
|
+
# {http:web.server.sirius.org/}open
|
266
|
+
# arg0 - SOAP::SOAPString
|
267
|
+
# arg1 - SOAP::SOAPString
|
268
|
+
class Open
|
269
|
+
attr_accessor :arg0
|
270
|
+
attr_accessor :arg1
|
271
|
+
|
272
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
273
|
+
@arg1 = arg1
|
274
|
+
end
|
275
|
+
end
|
276
|
+
# {http:web.server.sirius.org/}openResponse
|
277
|
+
class OpenResponse
|
278
|
+
def initialize
|
279
|
+
end
|
280
|
+
end
|
281
|
+
# {http:web.server.sirius.org/}getText
|
282
|
+
# arg0 - SOAP::SOAPString
|
283
|
+
# arg1 - SOAP::SOAPString
|
284
|
+
# arg2 - SOAP::SOAPString
|
285
|
+
class GetText
|
286
|
+
attr_accessor :arg0
|
287
|
+
attr_accessor :arg1
|
288
|
+
attr_accessor :arg2
|
289
|
+
|
290
|
+
def initialize(_arg0 = nil, _arg1 = nil, _arg2 = nil)
|
291
|
+
@arg0 = _arg0
|
292
|
+
@arg1 = _arg1
|
293
|
+
@arg2 = _arg2
|
294
|
end
|
295
|
+
end
|
296
|
+
# {http:web.server.sirius.org/}getTextResponse
|
297
|
+
# m_return - SOAP::SOAPString
|
298
|
+
class GetTextResponse
|
299
|
+
def m_return
|
300
|
+
@v_return
|
301
|
+
end
|
302
|
+
|
303
|
+
def m_return=(value)
|
304
|
+
@v_return = value
|
305
|
+
end
|
306
|
+
|
307
|
+
def initialize(v_return = nil)
|
308
|
+
@v_return = v_return
|
309
|
+
end
|
310
|
+
end
|
311
|
+
# {http:web.server.sirius.org/}getSize
|
312
|
+
# arg0 - SOAP::SOAPString
|
313
|
+
# arg1 - SOAP::SOAPString
|
314
|
+
# arg2 - SOAP::SOAPString
|
315
|
+
class GetSize
|
316
|
+
attr_accessor :arg0
|
317
|
+
attr_accessor :arg1
|
318
|
+
attr_accessor :arg2
|
319
|
+
|
320
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
321
|
+
@arg1 = arg1
|
322
|
+
@arg2 = arg2
|
323
|
+
end
|
324
|
+
end
|
325
|
+
# {http:web.server.sirius.org/}getSizeResponse
|
326
|
+
# m_return - Sirius::Client::Web::Core::Dimension
|
327
|
+
class GetSizeResponse
|
328
|
+
def m_return
|
329
|
+
@v_return
|
330
|
+
end
|
331
|
+
|
332
|
+
def m_return=(value) @v_return = value
|
333
|
+
end
|
334
|
+
|
335
|
+
def initialize(v_return = nil) @v_return = v_return
|
336
|
+
end
|
337
|
+
end
|
338
|
+
# {http:web.server.sirius.org/}dimension
|
339
|
+
# width - SOAP::SOAPInt
|
340
|
+
# height - SOAP::SOAPInt
|
341
|
+
class Dimension
|
342
|
+
attr_accessor :width
|
343
|
+
attr_accessor :height
|
344
|
+
|
345
|
+
def initialize(width = nil, height = nil) @width = width
|
346
|
+
@height = height
|
347
|
+
end
|
348
|
+
end
|
349
|
+
# {http:web.server.sirius.org/}refresh
|
350
|
+
# arg0 - SOAP::SOAPString
|
351
|
+
class Refresh
|
352
|
+
attr_accessor :arg0
|
353
|
+
|
354
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
355
|
+
end
|
356
|
+
end
|
357
|
+
# {http:web.server.sirius.org/}refreshResponse
|
358
|
+
class RefreshResponse
|
359
|
+
def initialize
|
360
|
+
end
|
361
|
+
end
|
362
|
+
# {http:web.server.sirius.org/}getTagName
|
363
|
+
# arg0 - SOAP::SOAPString
|
364
|
+
# arg1 - SOAP::SOAPString
|
365
|
+
# arg2 - SOAP::SOAPString
|
366
|
+
class GetTagName
|
367
|
+
attr_accessor :arg0
|
368
|
+
attr_accessor :arg1
|
369
|
+
attr_accessor :arg2
|
370
|
+
|
371
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
372
|
+
@arg1 = arg1
|
373
|
+
@arg2 = arg2
|
374
|
+
end
|
375
|
+
end
|
376
|
+
# {http:web.server.sirius.org/}getTagNameResponse
|
377
|
+
# m_return - SOAP::SOAPString
|
378
|
+
class GetTagNameResponse
|
379
|
+
def m_return @v_return
|
380
|
+
end
|
381
|
+
|
382
|
+
def m_return=(value) @v_return = value
|
383
|
+
end
|
384
|
+
|
385
|
+
def initialize(v_return = nil) @v_return = v_return
|
386
|
+
end
|
387
|
+
end
|
388
|
+
# {http:web.server.sirius.org/}getTitle
|
389
|
+
# arg0 - SOAP::SOAPString
|
390
|
+
class GetTitle
|
391
|
+
attr_accessor :arg0
|
392
|
+
|
393
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
394
|
+
end
|
395
|
+
end
|
396
|
+
# {http:web.server.sirius.org/}getTitleResponse
|
397
|
+
# m_return - SOAP::SOAPString
|
398
|
+
class GetTitleResponse
|
399
|
+
def m_return @v_return
|
400
|
+
end
|
401
|
+
|
402
|
+
def m_return=(value) @v_return = value
|
403
|
+
end
|
404
|
+
|
405
|
+
def initialize(v_return = nil) @v_return = v_return
|
406
|
+
end
|
407
|
+
end
|
408
|
+
# {http:web.server.sirius.org/}isDisplayed
|
409
|
+
# arg0 - SOAP::SOAPString
|
410
|
+
# arg1 - SOAP::SOAPString
|
411
|
+
# arg2 - SOAP::SOAPString
|
412
|
+
class IsDisplayed
|
413
|
+
attr_accessor :arg0
|
414
|
+
attr_accessor :arg1
|
415
|
+
attr_accessor :arg2
|
416
|
+
|
417
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
418
|
+
@arg1 = arg1
|
419
|
+
@arg2 = arg2
|
420
|
+
end
|
421
|
+
end
|
422
|
+
# {http:web.server.sirius.org/}isDisplayedResponse
|
423
|
+
# m_return - SOAP::SOAPBoolean
|
424
|
+
class IsDisplayedResponse
|
425
|
+
def m_return @v_return
|
426
|
+
end
|
427
|
+
|
428
|
+
def m_return=(value) @v_return = value
|
429
|
+
end
|
430
|
+
|
431
|
+
def initialize(v_return = nil) @v_return = v_return
|
432
|
+
end
|
433
|
+
end
|
434
|
+
# {http:web.server.sirius.org/}selectDefaultContent
|
435
|
+
# arg0 - SOAP::SOAPString
|
436
|
+
class SelectDefaultContent
|
437
|
+
attr_accessor :arg0
|
438
|
+
|
439
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
440
|
+
end
|
441
|
+
end
|
442
|
+
# {http:web.server.sirius.org/}selectDefaultContentResponse
|
443
|
+
class SelectDefaultContentResponse
|
444
|
+
def initialize
|
445
|
+
end
|
446
|
+
end
|
447
|
+
# {http:web.server.sirius.org/}getWindowHandle
|
448
|
+
# arg0 - SOAP::SOAPString
|
449
|
+
class GetWindowHandle
|
450
|
+
attr_accessor :arg0
|
451
|
+
|
452
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
453
|
+
end
|
454
|
+
end
|
455
|
+
# {http:web.server.sirius.org/}getWindowHandleResponse
|
456
|
+
# m_return - SOAP::SOAPString
|
457
|
+
class GetWindowHandleResponse
|
458
|
+
def m_return @v_return
|
459
|
+
end
|
460
|
+
|
461
|
+
def m_return=(value) @v_return = value
|
462
|
+
end
|
463
|
+
|
464
|
+
def initialize(v_return = nil) @v_return = v_return
|
465
|
+
end
|
466
|
+
end
|
467
|
+
# {http:web.server.sirius.org/}stop
|
468
|
+
# arg0 - SOAP::SOAPString
|
469
|
+
class Stop
|
470
|
+
attr_accessor :arg0
|
471
|
+
|
472
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
473
|
+
end
|
474
|
+
end
|
475
|
+
# {http:web.server.sirius.org/}stopResponse
|
476
|
+
class StopResponse
|
477
|
+
def initialize
|
478
|
+
end
|
479
|
+
end
|
480
|
+
# {http:web.server.sirius.org/}sendKeys
|
481
|
+
# arg0 - SOAP::SOAPString
|
482
|
+
# arg1 - SOAP::SOAPString
|
483
|
+
# arg2 - SOAP::SOAPString
|
484
|
+
# arg3 - SOAP::SOAPString
|
485
|
+
class SendKeys
|
486
|
+
attr_accessor :arg0
|
487
|
+
attr_accessor :arg1
|
488
|
+
attr_accessor :arg2
|
489
|
+
attr_accessor :arg3
|
490
|
+
|
491
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
|
492
|
+
@arg1 = arg1
|
493
|
+
@arg2 = arg2
|
494
|
+
@arg3 = arg3
|
495
|
+
end
|
496
|
+
end
|
497
|
+
# {http:web.server.sirius.org/}sendKeysResponse
|
498
|
+
class SendKeysResponse
|
499
|
+
def initialize
|
500
|
+
end
|
501
|
+
end
|
502
|
+
# {http:web.server.sirius.org/}getPageSource
|
503
|
+
# arg0 - SOAP::SOAPString
|
504
|
+
class GetPageSource
|
505
|
+
attr_accessor :arg0
|
506
|
+
|
507
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
508
|
+
end
|
509
|
+
end
|
510
|
+
# {http:web.server.sirius.org/}getPageSourceResponse
|
511
|
+
# m_return - SOAP::SOAPString
|
512
|
+
class GetPageSourceResponse
|
513
|
+
def m_return @v_return
|
514
|
+
end
|
515
|
+
|
516
|
+
def m_return=(value) @v_return = value
|
517
|
+
end
|
518
|
+
|
519
|
+
def initialize(v_return = nil) @v_return = v_return
|
520
|
+
end
|
521
|
+
end
|
522
|
+
# {http:web.server.sirius.org/}getAttribute
|
523
|
+
# arg0 - SOAP::SOAPString
|
524
|
+
# arg1 - SOAP::SOAPString
|
525
|
+
# arg2 - SOAP::SOAPString
|
526
|
+
# arg3 - SOAP::SOAPString
|
527
|
+
class GetAttribute
|
528
|
+
attr_accessor :arg0
|
529
|
+
attr_accessor :arg1
|
530
|
+
attr_accessor :arg2
|
531
|
+
attr_accessor :arg3
|
532
|
+
|
533
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
|
534
|
+
@arg1 = arg1
|
535
|
+
@arg2 = arg2
|
536
|
+
@arg3 = arg3
|
537
|
+
end
|
538
|
+
end
|
539
|
+
# {http:web.server.sirius.org/}getAttributeResponse
|
540
|
+
# m_return - SOAP::SOAPString
|
541
|
+
class GetAttributeResponse
|
542
|
+
def m_return @v_return
|
543
|
+
end
|
544
|
+
|
545
|
+
def m_return=(value) @v_return = value
|
546
|
+
end
|
547
|
+
|
548
|
+
def initialize(v_return = nil) @v_return = v_return
|
549
|
+
end
|
550
|
+
end
|
551
|
+
# {http:web.server.sirius.org/}click
|
552
|
+
# arg0 - SOAP::SOAPString
|
553
|
+
# arg1 - SOAP::SOAPString
|
554
|
+
# arg2 - SOAP::SOAPString
|
555
|
+
class Click
|
556
|
+
attr_accessor :arg0
|
557
|
+
attr_accessor :arg1
|
558
|
+
attr_accessor :arg2
|
559
|
+
|
560
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil) @arg0 = arg0
|
561
|
+
@arg1 = arg1
|
562
|
+
@arg2 = arg2
|
563
|
+
end
|
564
|
+
end
|
565
|
+
# {http:web.server.sirius.org/}clickResponse
|
566
|
+
class ClickResponse
|
567
|
+
def initialize
|
568
|
+
end
|
569
|
+
end
|
570
|
+
# {http:web.server.sirius.org/}getCssValue
|
571
|
+
# arg0 - SOAP::SOAPString
|
572
|
+
# arg1 - SOAP::SOAPString
|
573
|
+
# arg2 - SOAP::SOAPString
|
574
|
+
# arg3 - SOAP::SOAPString
|
575
|
+
class GetCssValue
|
576
|
+
attr_accessor :arg0
|
577
|
+
attr_accessor :arg1
|
578
|
+
attr_accessor :arg2
|
579
|
+
attr_accessor :arg3
|
580
|
+
|
581
|
+
def initialize(arg0 = nil, arg1 = nil, arg2 = nil, arg3 = nil) @arg0 = arg0
|
582
|
+
@arg1 = arg1
|
583
|
+
@arg2 = arg2
|
584
|
+
@arg3 = arg3
|
585
|
+
end
|
586
|
+
end
|
587
|
+
# {http:web.server.sirius.org/}getCssValueResponse
|
588
|
+
# m_return - SOAP::SOAPString
|
589
|
+
class GetCssValueResponse
|
590
|
+
def m_return @v_return
|
591
|
+
end
|
592
|
+
|
593
|
+
def m_return=(value) @v_return = value
|
594
|
+
end
|
595
|
+
|
596
|
+
def initialize(v_return = nil) @v_return = v_return
|
597
|
+
end
|
598
|
+
end
|
599
|
+
|
600
|
+
end; end; end; end
|