Sha256: 01c0ffe7088645c6828a74af666cd4f886165cb8534f446d26dafa037593d6b0

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 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     |  

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

  Scenarios:
    | search_by |
    | index     |
    
    
  @selenium_only
  Scenario Outline: Locating divs on Selenium only
    When I search for the div by "<search_by>"
    Then the text should be "page-object rocks!"

  Scenarios:
    | search_by |
    | name      |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.0.5 features/div.feature
page-object-0.0.4 features/div.feature
page-object-0.0.3 features/div.feature