Sha256: 8d14464bea7c753169b65f6f4348e6428ea507ecb13d5b72d8463edbe8837850

Contents?: true

Size: 965 Bytes

Versions: 4

Compression:

Stored size: 965 Bytes

Contents

Feature: Div
  In order to interact with divs
  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 get the text from the div
    Then the text should be "page-object rocks!"

  Scenario: Getting the div element
    When I retrieve the div element
    Then I should know it exists
    And I should know it is visible

  Scenario Outline: Locating divs on the page
    When I search for the div by "<search_by>"
    Then the text should be "page-object rocks!"

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

  Scenario Outline: Locating divs using multiple parameters
    When I search for the div by "<param1>" and "<param2>"
    Then the text should be "page-object rocks!"

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
page-object-0.2.4 features/div.feature
page-object-0.2.3 features/div.feature
page-object-0.2.2 features/div.feature
page-object-0.2.1 features/div.feature