Ifd_Automation 2.8 → 2.8.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2d70b22752d7799f95d20fb516cbb2ef18fed586b7e68d458108cdf0b00504c
4
- data.tar.gz: a3a46f8268032053889e83da5d9cf5f6bf7b18ebca30ceaf6253d57eb89e66b5
3
+ metadata.gz: dda086dde7d57a9698e02b3a84ada9c438079612102933a90864c07691ed096f
4
+ data.tar.gz: efdd82d31ba99c1769528d3043440b7fda4795bdb8daf90cca725765609724da
5
5
  SHA512:
6
- metadata.gz: 483e6dc26d00a739d47cb6b6bdf8acf09d0aeae6c8f9bd8c9ad4fdb4e8a4071612280e1218dd790914bfae1095c3d17c4bc0ffc75d391a2c36f1627f0d527c16
7
- data.tar.gz: bd318d0452375a1468197d59bd98cbf8f741b27f782e4dba946a33ef33e42eb9261574a1609cda1280cea1f6d7bb1041be9e00c67108d9e303e87eb5a687f939
6
+ metadata.gz: e67e6fe41ccb92f920ddb09706fae3a4343bb2eb22d7bb67146f165e993b9a74c2d68973971e1abd468669ab55aec8d57edb6f53ee7ba4fd4041ae3e93fbb56e
7
+ data.tar.gz: 3aa60889185ce99b26f79b7f756f4060905f2366b6324f326598f5627a425dc65d9e3a90b80e78220d710345f7719cce303135168239de0a020af61037e24872
@@ -1,3 +1,3 @@
1
1
  module IfdAutomation
2
- VERSION = "2.8"
2
+ VERSION = "2.8.1"
3
3
  end
@@ -1,4 +1,4 @@
1
- # require 'tiny_tds'
1
+ require 'tiny_tds'
2
2
  require 'activerecord-sqlserver-adapter'
3
3
  require 'active_record'
4
4
 
@@ -36,4 +36,4 @@ class IFD_Ssh
36
36
  $context_value = Utils.bind_with_dyn_vars(@output)
37
37
  Utils.set_var(name, '$context_value')
38
38
  end
39
- end
39
+ end
@@ -7,17 +7,4 @@ module Actionwords
7
7
  step %{I click on "login" button}
8
8
  end
9
9
 
10
-
11
- def execute_drag_to_new_object from_element, element
12
- found_from_element = find_object(from_element)
13
- foundElement = find_object(element)
14
- if foundElement != nil and found_from_element != nil
15
- found_from_element.drag_to(foundElement)
16
- end
17
- end
18
-
19
- def anh_123
20
-
21
- end
22
-
23
- end
10
+ end
@@ -5,10 +5,3 @@ Given /I log in to page "(.*)" with user "(.*)" and pass "(.*)"/ do |page_url,us
5
5
  login_to_system(page_url,user,pass)
6
6
  end
7
7
 
8
- And /^I drag object "(.*?)" to "(.*?)"$/ do |from_object, object|
9
- execute_drag_to_new_object(from_object, object)
10
- end
11
-
12
- Given /anh/ do
13
- anh
14
- end
@@ -1,7 +1,2 @@
1
1
  textbox_username: {css_selector: '#userField'}
2
2
  textbox_password: {css_selector: '#passwordField'}
3
- test1: {css_selector: '#two'}
4
- test2: {css_selector: '#bin'}
5
- {"textbox_username":"{\"css_selector\":\"#userField\"}"}
6
- {"textbox_password":"{\"css_selector\":\"#passwordField\"}"}
7
- {"test1":"{\"css_selector\":\"#two\"}"}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Ifd_Automation
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.8'
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anh Pham
@@ -160,6 +160,26 @@ dependencies:
160
160
  - - '='
161
161
  - !ruby/object:Gem::Version
162
162
  version: 5.1.5
163
+ - !ruby/object:Gem::Dependency
164
+ name: tiny_tds
165
+ requirement: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '2.1'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 2.1.1
173
+ type: :runtime
174
+ prerelease: false
175
+ version_requirements: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '2.1'
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: 2.1.1
163
183
  - !ruby/object:Gem::Dependency
164
184
  name: activerecord-sqlserver-adapter
165
185
  requirement: !ruby/object:Gem::Requirement
@@ -264,14 +284,6 @@ files:
264
284
  - project/features/Screenshot/sample.jpg
265
285
  - project/features/TestData/globalData.yml
266
286
  - project/features/TestSuite/WebGUI.feature
267
- - project/features/pre-defined-steps/database_steps.md
268
- - project/features/pre-defined-steps/dynamic_value_steps.md
269
- - project/features/pre-defined-steps/email_steps.md
270
- - project/features/pre-defined-steps/file_steps.md
271
- - project/features/pre-defined-steps/rest_steps.md
272
- - project/features/pre-defined-steps/soap_steps.md
273
- - project/features/pre-defined-steps/ssh_steps.md
274
- - project/features/pre-defined-steps/web_steps.md
275
287
  - project/features/step_definitions/lib_steps/actionwords.rb
276
288
  - project/features/step_definitions/lib_steps/steps.rb
277
289
  - project/features/step_definitions/repositories/project_object.yml
@@ -1,11 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- I create connection to database with:
4
- I close SQL connection
5
- I run sql script "<string>"
6
- I run sql script:
7
- I run sql select query script:
8
- show me the result of SQL statement
9
- the result of SQL statement should be:
10
- the result of SQL statement should have "<string>" with value "<string>"
11
- I store the result of SQL script as ".*"
@@ -1,7 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- I get text on "<string>" then store it as "<string>"
4
- I store string "." as "."
5
- I print the value of "<string>"
6
- I get text on "." then store it into file "<string>"
7
- I create xml file and store as string "<string>":
@@ -1,4 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- I send an email with:
4
- I should receive an email with:
@@ -1,5 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- I delete test file "<string>"
4
- I read data from file "<string>"
5
- I execute file "<string>" from windows server "<string>"
@@ -1,9 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- I set headers:
4
- I send a REST GET|PUT|POST|DELETE request for|to "<string>" with the following:
5
- I store the REST result at node "<string>" as "<string>"
6
- I print the result of REST request
7
- I should see REST response code "<string>"
8
- the JSON response should be:
9
- the JSON response at node "<string>" should have "<string>"
@@ -1,8 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- I get SOAP operations list from '.'
4
- I send SOAP request with operation name "<string>" and XML file "<string>"
5
- I send SOAP request with operation name "<string>" and xml data "<string>"
6
- the status code should be "<string>"
7
- the SOAP response node should have "." with text "."
8
- I print the SOAP response
@@ -1,7 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- I SSH to "<string>" with the following credentials:
4
- I run SSH command "<string>"
5
- show me the SSH output result
6
- I should see "<string>" in the SSH output
7
- I store the result of SQL script as "."
@@ -1,24 +0,0 @@
1
- #Pre-defined Steps
2
-
3
- Given I am on the "page_url" page
4
- And I wait for <number> seconds
5
- And I click on "string"
6
- And I double click on "string"
7
- And I set text on "string" with "string"
8
- And I capture a screenshot as "string"
9
- And I switch to window having title "string"
10
- And I scroll to top of page
11
- And I scroll to end of page
12
- I check property "element" with "value" has value "element value"
13
- I check property "element" with "text" has value "element value"
14
- I check property "element" with "value" has not value "element value"
15
- I check property "element" with "text" has not value "element value"
16
- I should see text alert "alert text"
17
- I move mouse to element "element" and click
18
- I remove attribute "attribute name" on object "object"
19
- I set state on "elment" with "true"
20
- I set state on "elment" with "false"
21
- browser window is re-sized to width "width number" and height "height number"
22
- I verify object "element" with "element attribute" has value "attribute value"
23
- I should see page title "page title"
24
- I should not see page title "page title"