Sha256: 754489e3c82bd3ff911d529d5bca686335acd60924b1eba050fff4cfa56b5c16

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 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!"

  Examples:
    | search_by |
    | id        |
    | class     |
    | xpath     |
    | index     |
    | text      |
    | css       |

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

  Examples:
    | param1  | param2  |
    | class   | 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

5 entries across 5 versions & 2 rubygems

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