Sha256: 2c7073445ac5f7323129afa716a8b2c2180aa50e2e397875292b81d27f27b14f

Contents?: true

Size: 1.25 KB

Versions: 28

Compression:

Stored size: 1.25 KB

Contents

Feature: Handling labels with page object

  In order to interact with labels,
  Testers will need to access the element
  and the ability to interrogate

  Background:
    Given I am on the static elements page

  Scenario: Getting the text from a label
    When I get the text from the label
    Then the text should be "page-object is the best!"

  Scenario: Getting the label element
    When I retrieve the label element
    Then I should know it exists
    And I should know it is visible

  Scenario Outline: Locating labels on the page
    When I search for the label by "<search_by>"
    Then the text should be "page-object is the best!"

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | xpath     |
    | index     |
    | name      |
    | text      |
    | css       |

  Scenario Outline: Locating labels using multiple parameters
    When I search for the label by "<param1>" and "<param2>"
    Then the text should be "page-object is the best!"

  Scenarios:
    | param1 | param2 |
    | class  | index  |
    | name   | index  |

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

Version data entries

28 entries across 28 versions & 4 rubygems

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