Sha256: 03f45efc035e0c3e65fb8abf71429aff3dfd08dd434e4847a8ad9af858ae567a

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 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 the image should be "106" pixels wide
    And the image should be "106" pixels tall

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.6 features/image.feature
page-object-0.5.5 features/image.feature
page-object-0.5.4 features/image.feature