scoutui 2.0.3.34.pre → 2.0.3.35.pre
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.
- checksums.yaml +4 -4
- data/lib/scoutui/commands/load_data.rb +53 -0
- data/lib/scoutui/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 540412b6d77e7ccf8ec18334a5dc672ef8a0fd4c
|
|
4
|
+
data.tar.gz: e3aea8b02e32686551ee023085d0e821e65fae7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1601ec8f59c88b6cc09e87777bbad85270d09dc7278d0279b9ae048f6f159bd6f1966a357217194145df82fee99bee6152835cf67c5bbf161e95678e18e509d0
|
|
7
|
+
data.tar.gz: 32119b56cc28d8f109e60be5c1a483bc3ff73f900b0ec199bc6c4821725a683a660eb23e226255e87f8affa74f3544dc52557c6b35d894b45b356718b103f6d4
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
require_relative './commands'
|
|
2
|
+
|
|
3
|
+
module Scoutui::Commands
|
|
4
|
+
|
|
5
|
+
class LoadData < Command
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def execute(drv, e=nil)
|
|
9
|
+
@drv=drv if !drv.nil?
|
|
10
|
+
|
|
11
|
+
rc=false
|
|
12
|
+
obj=nil
|
|
13
|
+
_locator=nil
|
|
14
|
+
|
|
15
|
+
_req = Scoutui::Utils::TestUtils.instance.getReq()
|
|
16
|
+
|
|
17
|
+
begin
|
|
18
|
+
|
|
19
|
+
Scoutui::Logger::LogMgr.instance.debug __FILE__ + (__LINE__).to_s + " LoadData()"
|
|
20
|
+
|
|
21
|
+
if e['page'].has_key?('files')
|
|
22
|
+
|
|
23
|
+
e['page']['files'].each do |_yaml|
|
|
24
|
+
|
|
25
|
+
Scoutui::Base::TestData.instance.add(e['page']['name'], _yaml)
|
|
26
|
+
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
rc=true
|
|
35
|
+
|
|
36
|
+
rescue => ex
|
|
37
|
+
Scoutui::Logger::LogMgr.instance.warn "Error during processing: #{ex}"
|
|
38
|
+
Scoutui::Logger::LogMgr.instance.warn "Backtrace:\n\t#{ex.backtrace.join("\n\t")}"
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
if rc
|
|
42
|
+
Scoutui::Logger::LogMgr.instance.asserts.info "Verify requirements command passed - #{rc}"
|
|
43
|
+
Testmgr::TestReport.instance.getReq(_req).testcase('click').add(rc, "Verify requirements command passed")
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
setResult(rc)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
end
|
data/lib/scoutui/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scoutui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.3.
|
|
4
|
+
version: 2.0.3.35.pre
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Kim
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-08-
|
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -280,6 +280,7 @@ files:
|
|
|
280
280
|
- lib/scoutui/commands/fill_form.rb
|
|
281
281
|
- lib/scoutui/commands/highlight.rb
|
|
282
282
|
- lib/scoutui/commands/jsalert/action_jsalert.rb
|
|
283
|
+
- lib/scoutui/commands/load_data.rb
|
|
283
284
|
- lib/scoutui/commands/load_requirements.rb
|
|
284
285
|
- lib/scoutui/commands/mouse_over.rb
|
|
285
286
|
- lib/scoutui/commands/pause.rb
|