-
Notifications
You must be signed in to change notification settings - Fork 220
/
Copy pathtable_row.feature
41 lines (31 loc) · 1.2 KB
/
table_row.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Feature: Table Row
Background:
Given I am on the static elements page
Scenario: Retrieving the text from a table row
When I retrieve the data from the table row
Then the row data should be 'Data1 Data2'
Scenario Outline: Locating table rows on the Page
When I search for the table row by "<search_by>"
Then the row data should be 'Data1 Data2'
Scenarios:
| search_by |
| id |
| class |
| xpath |
| css |
Scenario: Locating table rows on the Page by text
When I search for the table row by "text"
Then the row data should be 'Data1 Data2'
Scenario Outline: Locating table rows on the Page with watir
When I search for the table row by "<search_by>"
Then the row data should be 'Data1 Data2'
Scenarios:
| search_by |
| index |
Scenario: Locating table row using multiple parameters
When I retrieve a table row element by "class" and "index"
Then the row data should be 'Data1 Data2'
Scenario: Finding a table row dynamically
When I retrieve a table row element while the script is executing
Then I should see that the row exists
And the row data should be 'Data1 Data2'