Sha256: b874585e6e64065a533f032a90921fd7147884bfacc8f79fbc969988908f68cf

Contents?: true

Size: 990 Bytes

Versions: 1

Compression:

Stored size: 990 Bytes

Contents

Feature: Links
  In order to interact with links
  Testers will need access and interrogation ability

  Note:
    Watir supports href

  Background:
    Given I am on the static elements page
  
  Scenario: Selecting a link
    When I select the link labeled "Google Search"
    Then the page should contain the text "Google"

  Scenario Outline: Locating links on the Page
    When I search for the link by "<search_by>"
    Then I should be able to select the link

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | link      |
    | link_text |
    | text      |

  @watir_only
  Scenario Outline: Locating links on Watir only
    When I search for the link by "<search_by>"
    Then I should be able to select the link
  
  Scenarios:
    | search_by |
    | href      |
    | index     |
    
  Scenario: Retrieve a Link
    When I retrieve a link element
    Then I should know it exists
    And I should know it is visible

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.0.1 features/link.feature