Sha256: 0cd2b516eb8e92c6aad2e6a6e1688ea6e4101280e7e304285b8ae2524e96eb9c

Contents?: true

Size: 1.83 KB

Versions: 5

Compression:

Stored size: 1.83 KB

Contents

Feature: Button
  In order to interact with buttons
  Testers will need access and interrogation ability


  Background:
    Given I am on the static elements page

  Scenario: Getting the text from a div
    When I click the button
    Then I should be on the success page

  Scenario: Retrieve a button element
    When I retrieve a button element
    Then I should know it exists
    And I should know it is visible

  Scenario Outline: Locating buttons on the page
    When I search for the button by "<search_by>"
    Then I should be able to click the button

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | index     |
    | value     |

  Scenario Outline: Locating real buttons on the page
    When I search for the button by "<search_by>"
    Then I should be able to click the real button

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | name      |
    | index     |
    | value     |

  @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 |
    | 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  |
    
  Scenario Outline: Locating real button using multiple parameters
    When I search for the button by "<param1>" and "<param2>"
    Then I should be able to click the real button

  Scenarios:
    | param1 | param2 |
    | class  | index  |
    | name   | index  |


  Scenario: Finding a button dynamically
    When I find a button while the script is executing
    Then I should be able to click the button element
  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page-object-0.5.1 features/button.feature
page-object-0.5.0 features/button.feature
page-object-0.4.4 features/button.feature
page-object-0.4.3 features/button.feature
page-object-0.4.2 features/button.feature