Sha256: 0e0dbbf9327e1e4e32a8968de6b377c8c01b3ef05af844ed73549582c5e2911b

Contents?: true

Size: 1.07 KB

Versions: 1

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 Watir 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

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.0.2 features/div.feature