scoutui 2.0.3.34.pre → 2.0.3.35.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95773cc48b9ff71ee1e809d4c334cc78e58f793e
4
- data.tar.gz: f2253aef2a5f532c1196bdd75bb77f5ed84aea1c
3
+ metadata.gz: 540412b6d77e7ccf8ec18334a5dc672ef8a0fd4c
4
+ data.tar.gz: e3aea8b02e32686551ee023085d0e821e65fae7b
5
5
  SHA512:
6
- metadata.gz: e08d1f3d7e100eec17e598c4858d17a171e0419eca1d66a32808c2dfa50625ffac0d579be11de2be288d4600f4d9dfdfcfc099579aabda4731f20b6cd27fd7c6
7
- data.tar.gz: a69dee7b822be4f69f6f7b9efcaa37a21f285abda72dbb482357d415b267522855716f8787c24032c2e3621c266715b4866ee8a0cb8a03d2e12fd5d71ecd39e1
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
@@ -1,3 +1,3 @@
1
1
  module Scoutui
2
- VERSION = "2.0.3.34.pre"
2
+ VERSION = "2.0.3.35.pre"
3
3
  end
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.34.pre
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-03 00:00:00.000000000 Z
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