features/button.feature in page-object-0.0.5 vs features/button.feature in page-object-0.1
- old
+ new
@@ -23,15 +23,24 @@
| search_by |
| id |
| class |
| name |
| xpath |
+ | index |
@watir_only
- Scenario Outline: Locating check boxes on Watir only
+ Scenario Outline: Locating buttons on Watir only
When I search for the button by "<search_by>"
Then I should be able to click the button
Scenarios:
| search_by |
- | index |
| text |
+
+ Scenario Outline: Locating button using multiple parameters
+ When I search for the button by "<param1>" and "<param2>"
+ Then I should be able to click the button
+
+ Scenarios:
+ | param1 | param2 |
+ | class | index |
+ | name | index |