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 +4 -4
- data/lib/Ifd_Automation/version.rb +1 -1
- data/lib/helper/database_helper.rb +1 -1
- data/lib/helper/ssh_helper.rb +1 -1
- data/project/features/step_definitions/lib_steps/actionwords.rb +1 -14
- data/project/features/step_definitions/lib_steps/steps.rb +0 -7
- data/project/features/step_definitions/repositories/project_object.yml +0 -5
- metadata +21 -9
- data/project/features/pre-defined-steps/database_steps.md +0 -11
- data/project/features/pre-defined-steps/dynamic_value_steps.md +0 -7
- data/project/features/pre-defined-steps/email_steps.md +0 -4
- data/project/features/pre-defined-steps/file_steps.md +0 -5
- data/project/features/pre-defined-steps/rest_steps.md +0 -9
- data/project/features/pre-defined-steps/soap_steps.md +0 -8
- data/project/features/pre-defined-steps/ssh_steps.md +0 -7
- data/project/features/pre-defined-steps/web_steps.md +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dda086dde7d57a9698e02b3a84ada9c438079612102933a90864c07691ed096f
|
4
|
+
data.tar.gz: efdd82d31ba99c1769528d3043440b7fda4795bdb8daf90cca725765609724da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e67e6fe41ccb92f920ddb09706fae3a4343bb2eb22d7bb67146f165e993b9a74c2d68973971e1abd468669ab55aec8d57edb6f53ee7ba4fd4041ae3e93fbb56e
|
7
|
+
data.tar.gz: 3aa60889185ce99b26f79b7f756f4060905f2366b6324f326598f5627a425dc65d9e3a90b80e78220d710345f7719cce303135168239de0a020af61037e24872
|
data/lib/helper/ssh_helper.rb
CHANGED
@@ -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:
|
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,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,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"
|