Sha256: 7c12da2c94a008420439ea1903a03d09b27f6e96555e0d5608b332aa157b7d8a

Contents?: true

Size: 1.11 KB

Versions: 16

Compression:

Stored size: 1.11 KB

Contents

Feature: Image

  Background:
    Given I am on the static elements page

  Scenario: Getting the image element
    When I get the image element
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

  Scenario Outline: Locating an image on the page
    When I get the image element by "<search_by>"
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | name      |
    | xpath     |
    | index     |
    | alt       |
    | src       |

  Scenario Outline: Locating an image using multiple parameters
    When I get the image element by "<param1>" and "<param2>"
    Then the image should be "106" pixels wide
    And the image should be "106" pixels tall

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

  Scenario: Finding an image dynamically
    When I get the image element while the script is executing
    Then I should see that the image exists
    And the image should be "106" pixels wide
    And the image should be "106" pixels tall

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
page-object-0.7.5.1 features/image.feature
page-object-0.7.5 features/image.feature
page-object-0.7.4 features/image.feature
page-object-0.7.3 features/image.feature
page-object-0.7.2 features/image.feature
page-object-0.7.1 features/image.feature
page-object-0.7.0 features/image.feature
page-object-0.6.9 features/image.feature
page-object-0.6.8 features/image.feature
page-object-0.6.7 features/image.feature
page-object-0.6.6 features/image.feature
page-object-0.6.5 features/image.feature
page-object-0.6.4 features/image.feature
page-object-0.6.3 features/image.feature
page-object-0.6.2 features/image.feature
page-object-0.6.1 features/image.feature