testcentricity_web 0.9.6.2 → 0.9.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/testcentricity_web/elements/table.rb +17 -0
- data/lib/testcentricity_web/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c05b93252a2bdfff64aadae23996e840a69c8eee
|
4
|
+
data.tar.gz: d153aad91131cac0ea2ec4df70c9ee8292cc7538
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1327cfdb2aa9ec0d4f847750d1a52a948749af52711c5dcbd8a4c8b22bfa7e2ae7cdf755423fb2055c59dab2c12062cfc1022cf338d99e817c2e61fe0ef503b
|
7
|
+
data.tar.gz: 12aa314b269b949f1c528c2f67b730572cb70ae497e172963ce9891dd28cb9afcd0c5c53d02a87daf0483a474119e2d9bfa3262eb7f19895e14ce6bc61dfd032
|
@@ -93,6 +93,23 @@ module TestCentricity
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
+
# Hover over the specified cell in a table object.
|
97
|
+
#
|
98
|
+
# @param row [Integer] row number
|
99
|
+
# @param column [Integer] column number
|
100
|
+
# @example
|
101
|
+
# list_table.hover_table_cell(2, 6)
|
102
|
+
#
|
103
|
+
def hover_table_cell(row, column)
|
104
|
+
row_count = get_row_count
|
105
|
+
raise "Row #{row} exceeds number of rows (#{row_count}) in table #{@locator}" if row > row_count
|
106
|
+
column_count = get_column_count
|
107
|
+
raise "Column #{column} exceeds number of columns (#{column_count}) in table #{@locator}" if column > column_count
|
108
|
+
set_table_cell_locator(row, column)
|
109
|
+
hover
|
110
|
+
clear_alt_locator
|
111
|
+
end
|
112
|
+
|
96
113
|
# Click in the specified cell in a table object.
|
97
114
|
#
|
98
115
|
# @param row [Integer] row number
|