selenium-cucumber 2.1.4 → 3.1.4
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/bin/generate.rb +19 -20
- data/bin/helper.rb +50 -50
- data/bin/selenium-cucumber +29 -30
- data/doc/canned_steps.md +656 -656
- data/doc/installation.md +16 -16
- data/doc/selenium-cucumber-API.md +120 -120
- data/doc/selenium-cucumber-help.md +18 -18
- data/features-skeleton/my_first.feature +5 -5
- data/features-skeleton/step_definitions/custom_steps.rb +4 -4
- data/features-skeleton/support/env.rb +51 -51
- data/features-skeleton/support/hooks.rb +47 -38
- data/lib/selenium-cucumber.rb +1 -1
- data/lib/selenium-cucumber/assertion_steps.rb +89 -89
- data/lib/selenium-cucumber/click_elements_steps.rb +36 -36
- data/lib/selenium-cucumber/configuration_steps.rb +6 -6
- data/lib/selenium-cucumber/input_steps.rb +69 -69
- data/lib/selenium-cucumber/javascript_handling_steps.rb +9 -9
- data/lib/selenium-cucumber/methods/assertion_methods.rb +295 -344
- data/lib/selenium-cucumber/methods/click_elements_methods.rb +23 -23
- data/lib/selenium-cucumber/methods/configuration_methods.rb +35 -35
- data/lib/selenium-cucumber/methods/error_handling_methods.rb +86 -86
- data/lib/selenium-cucumber/methods/input_methods.rb +67 -67
- data/lib/selenium-cucumber/methods/javascript_handling_methods.rb +9 -9
- data/lib/selenium-cucumber/methods/misc_methods.rb +34 -34
- data/lib/selenium-cucumber/methods/mobile_methods.rb +241 -241
- data/lib/selenium-cucumber/methods/navigate_methods.rb +165 -165
- data/lib/selenium-cucumber/methods/progress_methods.rb +15 -15
- data/lib/selenium-cucumber/methods/required_files.rb +10 -10
- data/lib/selenium-cucumber/methods/screenshot_methods.rb +6 -6
- data/lib/selenium-cucumber/mobile_steps.rb +99 -99
- data/lib/selenium-cucumber/navigation_steps.rb +105 -105
- data/lib/selenium-cucumber/progress_steps.rb +18 -18
- data/lib/selenium-cucumber/screenshot_steps.rb +5 -5
- data/lib/selenium-cucumber/version.rb +5 -5
- metadata +69 -91
- data/example/android/android_app/HinduCalendar.zip +0 -0
- data/example/android/android_app/HinduCalendar/HinduCalendar.apk +0 -0
- data/example/android/android_app/HinduCalendar/README.md +0 -19
- data/example/android/android_app/HinduCalendar/Results.html +0 -472
- data/example/android/android_app/HinduCalendar/features/01_HC_homepage_menu_validation.feature +0 -36
- data/example/android/android_app/HinduCalendar/features/02_HC_homepage_menu_navigation.feature +0 -71
- data/example/android/android_app/HinduCalendar/features/03_HC_Create_Save_View_Delete_Kundali.feature +0 -63
- data/example/android/android_app/HinduCalendar/features/actual_images/test.png +0 -0
- data/example/android/android_app/HinduCalendar/features/expected_images/test.png +0 -0
- data/example/android/android_app/HinduCalendar/features/image_difference/test.png +0 -0
- data/example/android/android_app/HinduCalendar/features/my_first.feature +0 -1
- data/example/android/android_app/HinduCalendar/features/screenshots/test.png +0 -0
- data/example/android/android_app/HinduCalendar/features/step_definitions/01_HC_homepage_menu_validation.rb +0 -81
- data/example/android/android_app/HinduCalendar/features/step_definitions/02_HC_homepage_menu_navigation.rb +0 -132
- data/example/android/android_app/HinduCalendar/features/step_definitions/03_HC_Create_Save_View_Delete_Kundali.rb +0 -413
- data/example/android/android_app/HinduCalendar/features/step_definitions/custom_steps.rb +0 -5
- data/example/android/android_app/HinduCalendar/features/support/env.rb +0 -51
- data/example/android/android_app/HinduCalendar/features/support/hooks.rb +0 -38
- data/example/android/android_app/android_app_calculator.zip +0 -0
- data/example/android/android_app/android_app_calculator/AndroidCalculator.apk +0 -0
- data/example/android/android_app/android_app_calculator/features/actual_images/test.png +0 -0
- data/example/android/android_app/android_app_calculator/features/calculator.feature +0 -36
- data/example/android/android_app/android_app_calculator/features/expected_images/test.png +0 -0
- data/example/android/android_app/android_app_calculator/features/image_difference/test.png +0 -0
- data/example/android/android_app/android_app_calculator/features/my_first.feature +0 -13
- data/example/android/android_app/android_app_calculator/features/screenshots/test.png +0 -0
- data/example/android/android_app/android_app_calculator/features/step_definitions/custom_steps.rb +0 -5
- data/example/android/android_app/android_app_calculator/features/support/env.rb +0 -51
- data/example/android/android_app/android_app_calculator/features/support/hooks.rb +0 -38
- data/example/android/android_web/android_web_gmail_login.zip +0 -0
- data/example/android/android_web/android_web_gmail_login/features/actual_images/test.png +0 -0
- data/example/android/android_web/android_web_gmail_login/features/expected_images/test.png +0 -0
- data/example/android/android_web/android_web_gmail_login/features/gmail_login.feature +0 -12
- data/example/android/android_web/android_web_gmail_login/features/image_difference/test.png +0 -0
- data/example/android/android_web/android_web_gmail_login/features/my_first.feature +0 -1
- data/example/android/android_web/android_web_gmail_login/features/screenshots/test.png +0 -0
- data/example/android/android_web/android_web_gmail_login/features/step_definitions/custom_steps.rb +0 -5
- data/example/android/android_web/android_web_gmail_login/features/support/env.rb +0 -51
- data/example/android/android_web/android_web_gmail_login/features/support/hooks.rb +0 -38
- data/example/desktop web/desktop_web_gmail_login.zip +0 -0
- data/example/desktop web/desktop_web_gmail_login/features/actual_images/test.png +0 -0
- data/example/desktop web/desktop_web_gmail_login/features/expected_images/test.png +0 -0
- data/example/desktop web/desktop_web_gmail_login/features/gmail_login.feature +0 -10
- data/example/desktop web/desktop_web_gmail_login/features/gmail_multi_login.feature +0 -22
- data/example/desktop web/desktop_web_gmail_login/features/image_difference/test.png +0 -0
- data/example/desktop web/desktop_web_gmail_login/features/my_first.feature +0 -1
- data/example/desktop web/desktop_web_gmail_login/features/result.html b/data/example/desktop → web/desktop_web_gmail_login/features/result.html +0 -0
- data/example/desktop web/desktop_web_gmail_login/features/screenshots/test.png +0 -0
- data/example/desktop web/desktop_web_gmail_login/features/step_definitions/custom_steps.rb +0 -5
- data/example/desktop web/desktop_web_gmail_login/features/support/env.rb +0 -51
- data/example/desktop web/desktop_web_gmail_login/features/support/hooks.rb +0 -38
- data/example/desktop web/desktop_web_gmail_login/result.html +0 -478
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
require_relative 'methods/navigate_methods'
|
|
2
|
-
|
|
3
|
-
Then(/^I navigate to "([^\"]*)"$/)do |link|
|
|
4
|
-
navigate_to(link)
|
|
5
|
-
end
|
|
6
|
-
|
|
7
|
-
Then(/^I navigate forward/) do
|
|
8
|
-
navigate('forward')
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
Then(/^I navigate back/) do
|
|
12
|
-
navigate('back')
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
Then(/^I close browser$/) do
|
|
16
|
-
close_driver
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
# step to resize browser
|
|
20
|
-
Then(/^I resize browser window size to width (\d+) and height (\d+)$/) do |width, heigth|
|
|
21
|
-
resize_browser(width, heigth)
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
# step to maximize browser
|
|
25
|
-
Then(/^I maximize browser window$/) do
|
|
26
|
-
maximize_browser
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
# step to refresh page
|
|
30
|
-
Then(/^I refresh page$/) do
|
|
31
|
-
$driver.navigate.refresh
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
# step to switch to new window
|
|
35
|
-
Then(/^I switch to new window$/) do
|
|
36
|
-
switch_to_new_window
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
# step to switch to previous window
|
|
40
|
-
Then(/^I switch to previous window$/) do
|
|
41
|
-
switch_to_previous_window
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# step to switch to main window
|
|
45
|
-
Then(/^I switch to main window$/) do
|
|
46
|
-
switch_to_main_window
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
Then(/^I switch to window having title "(.*?)"$/) do |window_title|
|
|
50
|
-
switch_to_window_by_title window_title
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
# step to close new window
|
|
54
|
-
Then(/^I close new window$/) do
|
|
55
|
-
close_new_window
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
# step to switch to main content
|
|
59
|
-
Then(/^I switch to main content$/) do
|
|
60
|
-
switch_to_main_content
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
# step to switch to frame
|
|
64
|
-
Then(/^I switch to frame "(.*?)"$/) do |frame|
|
|
65
|
-
switch_frame frame
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
# steps to scroll to element
|
|
69
|
-
Then(/^I scroll to element having (.+) "(.*?)"$/) do |type, access_name|
|
|
70
|
-
validate_locator type
|
|
71
|
-
scroll_to_element(type, access_name)
|
|
72
|
-
end
|
|
73
|
-
|
|
74
|
-
# steps to scroll web page to top or end
|
|
75
|
-
Then(/^I scroll to (top|end) of page$/) do |to|
|
|
76
|
-
scroll_page(to)
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
# step to hover over a element Note: Doesn't work on Windows firefox
|
|
80
|
-
When(/^I hover over element having (.+) "(.*?)"$/) do |type, access_name|
|
|
81
|
-
validate_locator type
|
|
82
|
-
hover_over_element(type, access_name)
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
# steps to zoom in page
|
|
86
|
-
Then(/^I zoom in page$/) do
|
|
87
|
-
zoom_in_out('add')
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
# steps to zoom out page
|
|
91
|
-
Then(/^I zoom out page$/) do
|
|
92
|
-
zoom_in_out('subtract')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
# method to reset page view
|
|
96
|
-
Then(/^I reset page view$/) do
|
|
97
|
-
zoom_in_out('numpad0')
|
|
98
|
-
end
|
|
99
|
-
|
|
100
|
-
# steps to zoom out till element displays
|
|
101
|
-
Then(/^I zoom out page till I see element having (.+) "(.*?)"$/) do |type, access_name|
|
|
102
|
-
validate_locator type
|
|
103
|
-
zoom_in_out_till_element_display(type, 'subtract', access_name)
|
|
104
|
-
end
|
|
105
|
-
|
|
1
|
+
require_relative 'methods/navigate_methods'
|
|
2
|
+
|
|
3
|
+
Then(/^I navigate to "([^\"]*)"$/)do |link|
|
|
4
|
+
navigate_to(link)
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
Then(/^I navigate forward/) do
|
|
8
|
+
navigate('forward')
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
Then(/^I navigate back/) do
|
|
12
|
+
navigate('back')
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
Then(/^I close browser$/) do
|
|
16
|
+
close_driver
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
# step to resize browser
|
|
20
|
+
Then(/^I resize browser window size to width (\d+) and height (\d+)$/) do |width, heigth|
|
|
21
|
+
resize_browser(width, heigth)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# step to maximize browser
|
|
25
|
+
Then(/^I maximize browser window$/) do
|
|
26
|
+
maximize_browser
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# step to refresh page
|
|
30
|
+
Then(/^I refresh page$/) do
|
|
31
|
+
$driver.navigate.refresh
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# step to switch to new window
|
|
35
|
+
Then(/^I switch to new window$/) do
|
|
36
|
+
switch_to_new_window
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# step to switch to previous window
|
|
40
|
+
Then(/^I switch to previous window$/) do
|
|
41
|
+
switch_to_previous_window
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# step to switch to main window
|
|
45
|
+
Then(/^I switch to main window$/) do
|
|
46
|
+
switch_to_main_window
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
Then(/^I switch to window having title "(.*?)"$/) do |window_title|
|
|
50
|
+
switch_to_window_by_title window_title
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# step to close new window
|
|
54
|
+
Then(/^I close new window$/) do
|
|
55
|
+
close_new_window
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# step to switch to main content
|
|
59
|
+
Then(/^I switch to main content$/) do
|
|
60
|
+
switch_to_main_content
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# step to switch to frame
|
|
64
|
+
Then(/^I switch to frame "(.*?)"$/) do |frame|
|
|
65
|
+
switch_frame frame
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# steps to scroll to element
|
|
69
|
+
Then(/^I scroll to element having (.+) "(.*?)"$/) do |type, access_name|
|
|
70
|
+
validate_locator type
|
|
71
|
+
scroll_to_element(type, access_name)
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# steps to scroll web page to top or end
|
|
75
|
+
Then(/^I scroll to (top|end) of page$/) do |to|
|
|
76
|
+
scroll_page(to)
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# step to hover over a element Note: Doesn't work on Windows firefox
|
|
80
|
+
When(/^I hover over element having (.+) "(.*?)"$/) do |type, access_name|
|
|
81
|
+
validate_locator type
|
|
82
|
+
hover_over_element(type, access_name)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# steps to zoom in page
|
|
86
|
+
Then(/^I zoom in page$/) do
|
|
87
|
+
zoom_in_out('add')
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# steps to zoom out page
|
|
91
|
+
Then(/^I zoom out page$/) do
|
|
92
|
+
zoom_in_out('subtract')
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# method to reset page view
|
|
96
|
+
Then(/^I reset page view$/) do
|
|
97
|
+
zoom_in_out('numpad0')
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# steps to zoom out till element displays
|
|
101
|
+
Then(/^I zoom out page till I see element having (.+) "(.*?)"$/) do |type, access_name|
|
|
102
|
+
validate_locator type
|
|
103
|
+
zoom_in_out_till_element_display(type, 'subtract', access_name)
|
|
104
|
+
end
|
|
105
|
+
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
require_relative 'methods/progress_methods'
|
|
2
|
-
|
|
3
|
-
# wait for specific period of time
|
|
4
|
-
Then(/^I wait for (\d+) sec
|
|
5
|
-
wait(time)
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
# wait for specific element to display for specific period of time
|
|
9
|
-
Then(/^I wait (\d+) seconds for element having (.+) "(.*?)" to display$/) do |duration, type, access_name|
|
|
10
|
-
validate_locator type
|
|
11
|
-
wait_for_element_to_display(type, access_name, duration)
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# wait for specific element to enable for specific period of time
|
|
15
|
-
Then(/^I wait (\d+) seconds for element having (.+) "(.*?)" to enable$/) do |duration, type, access_name|
|
|
16
|
-
validate_locator type
|
|
17
|
-
wait_for_element_to_enable(type, access_name, duration)
|
|
18
|
-
end
|
|
1
|
+
require_relative 'methods/progress_methods'
|
|
2
|
+
|
|
3
|
+
# wait for specific period of time
|
|
4
|
+
Then(/^I wait for (\d+) sec(?:onds?)?$/) do |time|
|
|
5
|
+
wait(time)
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
# wait for specific element to display for specific period of time
|
|
9
|
+
Then(/^I wait (\d+) seconds for element having (.+) "(.*?)" to display$/) do |duration, type, access_name|
|
|
10
|
+
validate_locator type
|
|
11
|
+
wait_for_element_to_display(type, access_name, duration)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# wait for specific element to enable for specific period of time
|
|
15
|
+
Then(/^I wait (\d+) seconds for element having (.+) "(.*?)" to enable$/) do |duration, type, access_name|
|
|
16
|
+
validate_locator type
|
|
17
|
+
wait_for_element_to_enable(type, access_name, duration)
|
|
18
|
+
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require_relative 'methods/screenshot_methods'
|
|
2
|
-
|
|
3
|
-
Then(/^I take screenshot$/) do
|
|
4
|
-
take_screenshot
|
|
5
|
-
end
|
|
1
|
+
require_relative 'methods/screenshot_methods'
|
|
2
|
+
|
|
3
|
+
Then(/^I take screenshot$/) do
|
|
4
|
+
take_screenshot
|
|
5
|
+
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
module Selenium
|
|
2
|
-
module Cucumber
|
|
3
|
-
VERSION = '
|
|
4
|
-
end
|
|
5
|
-
end
|
|
1
|
+
module Selenium
|
|
2
|
+
module Cucumber
|
|
3
|
+
VERSION = '3.1.4'
|
|
4
|
+
end
|
|
5
|
+
end
|
metadata
CHANGED
|
@@ -1,79 +1,125 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: selenium-cucumber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sameer Sawant
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 2.3.0
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 2.3.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: selenium-webdriver
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 2.
|
|
33
|
+
version: 2.53.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 2.
|
|
40
|
+
version: 2.53.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: chunky_png
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 1.3.
|
|
47
|
+
version: 1.3.5
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 1.3.
|
|
54
|
+
version: 1.3.5
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: appium_lib
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
61
|
+
version: 8.0.2
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
68
|
+
version: 8.0.2
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: rspec
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: 3.4.0
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: 3.4.0
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: pry
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
69
97
|
description: Behavior driven development (BDD) approach to write automation test script
|
|
70
98
|
to test Web and Android applications.
|
|
71
|
-
email:
|
|
99
|
+
email: sameersawant222@gmail.com
|
|
72
100
|
executables:
|
|
101
|
+
- generate.rb
|
|
102
|
+
- helper.rb
|
|
73
103
|
- selenium-cucumber
|
|
74
104
|
extensions: []
|
|
75
105
|
extra_rdoc_files: []
|
|
76
106
|
files:
|
|
107
|
+
- bin/generate.rb
|
|
108
|
+
- bin/helper.rb
|
|
109
|
+
- bin/selenium-cucumber
|
|
110
|
+
- doc/canned_steps.md
|
|
111
|
+
- doc/installation.md
|
|
112
|
+
- doc/selenium-cucumber-API.md
|
|
113
|
+
- doc/selenium-cucumber-help.md
|
|
114
|
+
- features-skeleton/actual_images/test.png
|
|
115
|
+
- features-skeleton/expected_images/test.png
|
|
116
|
+
- features-skeleton/image_difference/test.png
|
|
117
|
+
- features-skeleton/my_first.feature
|
|
118
|
+
- features-skeleton/screenshots/test.png
|
|
119
|
+
- features-skeleton/step_definitions/custom_steps.rb
|
|
120
|
+
- features-skeleton/support/env.rb
|
|
121
|
+
- features-skeleton/support/hooks.rb
|
|
122
|
+
- lib/selenium-cucumber.rb
|
|
77
123
|
- lib/selenium-cucumber/assertion_steps.rb
|
|
78
124
|
- lib/selenium-cucumber/click_elements_steps.rb
|
|
79
125
|
- lib/selenium-cucumber/configuration_steps.rb
|
|
@@ -96,74 +142,6 @@ files:
|
|
|
96
142
|
- lib/selenium-cucumber/progress_steps.rb
|
|
97
143
|
- lib/selenium-cucumber/screenshot_steps.rb
|
|
98
144
|
- lib/selenium-cucumber/version.rb
|
|
99
|
-
- lib/selenium-cucumber.rb
|
|
100
|
-
- bin/generate.rb
|
|
101
|
-
- bin/helper.rb
|
|
102
|
-
- bin/selenium-cucumber
|
|
103
|
-
- doc/canned_steps.md
|
|
104
|
-
- doc/installation.md
|
|
105
|
-
- doc/selenium-cucumber-API.md
|
|
106
|
-
- doc/selenium-cucumber-help.md
|
|
107
|
-
- features-skeleton/actual_images/test.png
|
|
108
|
-
- features-skeleton/expected_images/test.png
|
|
109
|
-
- features-skeleton/image_difference/test.png
|
|
110
|
-
- features-skeleton/my_first.feature
|
|
111
|
-
- features-skeleton/screenshots/test.png
|
|
112
|
-
- features-skeleton/step_definitions/custom_steps.rb
|
|
113
|
-
- features-skeleton/support/env.rb
|
|
114
|
-
- features-skeleton/support/hooks.rb
|
|
115
|
-
- example/android/android_app/android_app_calculator/AndroidCalculator.apk
|
|
116
|
-
- example/android/android_app/android_app_calculator/features/actual_images/test.png
|
|
117
|
-
- example/android/android_app/android_app_calculator/features/calculator.feature
|
|
118
|
-
- example/android/android_app/android_app_calculator/features/expected_images/test.png
|
|
119
|
-
- example/android/android_app/android_app_calculator/features/image_difference/test.png
|
|
120
|
-
- example/android/android_app/android_app_calculator/features/my_first.feature
|
|
121
|
-
- example/android/android_app/android_app_calculator/features/screenshots/test.png
|
|
122
|
-
- example/android/android_app/android_app_calculator/features/step_definitions/custom_steps.rb
|
|
123
|
-
- example/android/android_app/android_app_calculator/features/support/env.rb
|
|
124
|
-
- example/android/android_app/android_app_calculator/features/support/hooks.rb
|
|
125
|
-
- example/android/android_app/android_app_calculator.zip
|
|
126
|
-
- example/android/android_app/HinduCalendar/features/01_HC_homepage_menu_validation.feature
|
|
127
|
-
- example/android/android_app/HinduCalendar/features/02_HC_homepage_menu_navigation.feature
|
|
128
|
-
- example/android/android_app/HinduCalendar/features/03_HC_Create_Save_View_Delete_Kundali.feature
|
|
129
|
-
- example/android/android_app/HinduCalendar/features/actual_images/test.png
|
|
130
|
-
- example/android/android_app/HinduCalendar/features/expected_images/test.png
|
|
131
|
-
- example/android/android_app/HinduCalendar/features/image_difference/test.png
|
|
132
|
-
- example/android/android_app/HinduCalendar/features/my_first.feature
|
|
133
|
-
- example/android/android_app/HinduCalendar/features/screenshots/test.png
|
|
134
|
-
- example/android/android_app/HinduCalendar/features/step_definitions/01_HC_homepage_menu_validation.rb
|
|
135
|
-
- example/android/android_app/HinduCalendar/features/step_definitions/02_HC_homepage_menu_navigation.rb
|
|
136
|
-
- example/android/android_app/HinduCalendar/features/step_definitions/03_HC_Create_Save_View_Delete_Kundali.rb
|
|
137
|
-
- example/android/android_app/HinduCalendar/features/step_definitions/custom_steps.rb
|
|
138
|
-
- example/android/android_app/HinduCalendar/features/support/env.rb
|
|
139
|
-
- example/android/android_app/HinduCalendar/features/support/hooks.rb
|
|
140
|
-
- example/android/android_app/HinduCalendar/HinduCalendar.apk
|
|
141
|
-
- example/android/android_app/HinduCalendar/README.md
|
|
142
|
-
- example/android/android_app/HinduCalendar/Results.html
|
|
143
|
-
- example/android/android_app/HinduCalendar.zip
|
|
144
|
-
- example/android/android_web/android_web_gmail_login/features/actual_images/test.png
|
|
145
|
-
- example/android/android_web/android_web_gmail_login/features/expected_images/test.png
|
|
146
|
-
- example/android/android_web/android_web_gmail_login/features/gmail_login.feature
|
|
147
|
-
- example/android/android_web/android_web_gmail_login/features/image_difference/test.png
|
|
148
|
-
- example/android/android_web/android_web_gmail_login/features/my_first.feature
|
|
149
|
-
- example/android/android_web/android_web_gmail_login/features/screenshots/test.png
|
|
150
|
-
- example/android/android_web/android_web_gmail_login/features/step_definitions/custom_steps.rb
|
|
151
|
-
- example/android/android_web/android_web_gmail_login/features/support/env.rb
|
|
152
|
-
- example/android/android_web/android_web_gmail_login/features/support/hooks.rb
|
|
153
|
-
- example/android/android_web/android_web_gmail_login.zip
|
|
154
|
-
- example/desktop web/desktop_web_gmail_login/features/actual_images/test.png
|
|
155
|
-
- example/desktop web/desktop_web_gmail_login/features/expected_images/test.png
|
|
156
|
-
- example/desktop web/desktop_web_gmail_login/features/gmail_login.feature
|
|
157
|
-
- example/desktop web/desktop_web_gmail_login/features/gmail_multi_login.feature
|
|
158
|
-
- example/desktop web/desktop_web_gmail_login/features/image_difference/test.png
|
|
159
|
-
- example/desktop web/desktop_web_gmail_login/features/my_first.feature
|
|
160
|
-
- example/desktop web/desktop_web_gmail_login/features/result.html
|
|
161
|
-
- example/desktop web/desktop_web_gmail_login/features/screenshots/test.png
|
|
162
|
-
- example/desktop web/desktop_web_gmail_login/features/step_definitions/custom_steps.rb
|
|
163
|
-
- example/desktop web/desktop_web_gmail_login/features/support/env.rb
|
|
164
|
-
- example/desktop web/desktop_web_gmail_login/features/support/hooks.rb
|
|
165
|
-
- example/desktop web/desktop_web_gmail_login/result.html
|
|
166
|
-
- example/desktop web/desktop_web_gmail_login.zip
|
|
167
145
|
homepage: http://seleniumcucumber.info/
|
|
168
146
|
licenses:
|
|
169
147
|
- MIT
|
|
@@ -174,17 +152,17 @@ require_paths:
|
|
|
174
152
|
- lib
|
|
175
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
154
|
requirements:
|
|
177
|
-
- -
|
|
155
|
+
- - ">="
|
|
178
156
|
- !ruby/object:Gem::Version
|
|
179
|
-
version:
|
|
157
|
+
version: 2.0.0
|
|
180
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
159
|
requirements:
|
|
182
|
-
- -
|
|
160
|
+
- - ">="
|
|
183
161
|
- !ruby/object:Gem::Version
|
|
184
162
|
version: '0'
|
|
185
163
|
requirements: []
|
|
186
164
|
rubyforge_project:
|
|
187
|
-
rubygems_version: 2.
|
|
165
|
+
rubygems_version: 2.4.8
|
|
188
166
|
signing_key:
|
|
189
167
|
specification_version: 4
|
|
190
168
|
summary: SELENIUM WEBDRIVER WITH RUBY & CUCUMBER
|