itms_automation 1.5 → 1.7

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
  SHA256:
3
- metadata.gz: 7850f811199a124469648cc2f546e2c88093357622fd840ce84a40006aebce4b
4
- data.tar.gz: 54cbd6376994cc02e8d4313b2d72b11d6fcf19d00953102f4bacc327c09a7911
3
+ metadata.gz: 39b03afefc2f4074b4341c2f923217c6b9f0148c222129b97c582dec51615692
4
+ data.tar.gz: 721b11bb6239f10b53f1ccbd006b5f250ebafe06eb75ae022c08abf45b8d08dc
5
5
  SHA512:
6
- metadata.gz: a3a17ab5a1774e1f1828a37fb008002be37233db1436ff0d0d625a29f64ec214b614f12a8a85676c9668b1dfeb17a6b2dd8ba7e5337da5e9dbbe3b166a12e586
7
- data.tar.gz: 1254e99aa1063497ce52cf24be2e6825350bd7b29185c1bd209454b3eea5fe63e436920056aa62b51aa0d6425bd3f6cf343d3d3b9b1a00b3a787b77816d91a49
6
+ metadata.gz: b0288ee4024be30f2b956f7c7763259e14c879fa1254ac8c0dfcf97508af4bb0e397a8ba3f81d4bc92a4e6644572b49925de4c54d47ccef962012db9699ec609
7
+ data.tar.gz: d73794054e31e45a0e45004b3f26ad1089223374efc212a138c4245f01fcb09d7e0bded2e082491031076a67091fc0d34ceb92c291e6fb0c5107e4d7eb35839b
@@ -1,3 +1,3 @@
1
1
  module ItmsAutomation
2
- VERSION = "1.5"
2
+ VERSION = "1.7"
3
3
  end
@@ -329,14 +329,13 @@ def switch_to_iframe(element)
329
329
  else
330
330
  print_log("failed", start, __method__, element)
331
331
  raise "Error: Not found object #{element}"
332
- end
332
+ endΩΩ
333
333
  end
334
334
 
335
- def switch_out_frame
335
+ def switch_to_default_content
336
336
  start = Time.now
337
337
  begin
338
- browser = page.driver.browser
339
- browser.switch_to.default_content
338
+ page.driver.browser.switch_to.default_content
340
339
  print_log("passed", start, __method__)
341
340
  rescue Exception => e
342
341
  print_log("failed", start, __method__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itms_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.5'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anh Pham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-12 00:00:00.000000000 Z
11
+ date: 2020-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -146,20 +146,6 @@ dependencies:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
148
  version: 0.8.1
149
- - !ruby/object:Gem::Dependency
150
- name: activerecord
151
- requirement: !ruby/object:Gem::Requirement
152
- requirements:
153
- - - "~>"
154
- - !ruby/object:Gem::Version
155
- version: 6.0.2.1
156
- type: :runtime
157
- prerelease: false
158
- version_requirements: !ruby/object:Gem::Requirement
159
- requirements:
160
- - - "~>"
161
- - !ruby/object:Gem::Version
162
- version: 6.0.2.1
163
149
  description: Behavior driven development (BDD) approach to write automation test script
164
150
  to test GUI, RESTful, SOAP, Database, eMail.
165
151
  email: