Sha256: 74ff0fc9b423a0eadcefadcdb8f0bf225205283263de43295c2d5a0df20139d9

Contents?: true

Size: 1.65 KB

Versions: 5

Compression:

Stored size: 1.65 KB

Contents

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

  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 "Success"

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

    Examples:
    | locate_by |
    | class     |
    | href      |
    | id        |
    | index     |
    | name      |
    | text      |
    | xpath     |
    | css       |
    | title     |

  Scenario: Retrieve a Link
    When I retrieve a link element
    Then I should know it exists
    And I should know it is visible

  @multi
  Scenario: Support for multiple parameters
    When I select a link labeled "Hello" and index "0"
    Then the page should contain the text "Success"
    Given I am on the static elements page
    When I select a link labeled "Hello" and index "1"
    Then the page should contain the text "Success"

  @locator
  Scenario: Finding a link dynamically
    When I select a link while the script is executing
    And the page should contain the text "Success"

  Scenario: Getting the href for a link
    When I get the href for the link
    Then I should know it was "success.html"

  Scenario: Link element methods
    Given I am on the static elements page
    When I retrieve a link element
    Then I should be able to wait until it is present
    And I should be able to wait until it is visible
    And I should be able to wait until it is not visible
    And I should be able to wait until a block returns true

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/link.feature
druid-ts-1.2.6 features/link.feature
druid-ts-1.2.5 features/link.feature
druid-ts-1.2.4 features/link.feature
druid-ts-1.2.3 features/link.feature