Sha256: c2cdfec4ba52a2124c2f346c8ca6ebe481717559b05dccdd712253b595d3caf6

Contents?: true

Size: 1.17 KB

Versions: 28

Compression:

Stored size: 1.17 KB

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      |
    | title     |
    | css       |

  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  |

  Scenario: Finding a div dynamically
    When I get the text from a div while the script is executing
    Then I should see that the div exists
    And the text should be "page-object rocks!"

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
page-object-1.2.0 features/div.feature
page-object-1.1.1 features/div.feature
page_object-1.1.3 features/div.feature
page_object-1.1.2 features/div.feature
page_object-1.1.1 features/div.feature
page-object-1.1.0 features/div.feature
page-object-lds-0.0.14 features/div.feature
page-object-lds-0.0.13 features/div.feature
page-object-lds-0.0.12 features/div.feature
page-object-lds-0.0.11 features/div.feature
page-object-lds-0.0.1 features/div.feature
page-object-1.0.3 features/div.feature
meeane-page-object-0.1.11 features/div.feature
page-object-1.0.2 features/div.feature
page-object-1.0.1 features/div.feature
page-object-1.0 features/div.feature
page-object-0.9.8 features/div.feature
page-object-0.9.7 features/div.feature
page-object-0.9.6 features/div.feature
page-object-0.9.5 features/div.feature