Sha256: 3d6129d8cd26ea9d5ada34ae18e9975e66a064d1e9a18b40bbe26bbb1b6c2a6e

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

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

  
  Background:
    Given I am on the static elements page
  
  Scenario: Retrieve a table
    When I retrieve a table element
    Then I should know it is visible
    
  @watir_only
  Scenario: Determine if a table exists
    When I retrieve a table element
    Then I should know it exists
    
  Scenario: Retrieve the data from a table
    When I retrieve a table element
    Then the data for row "1" should be "Data1" and "Data2"
    And the data for row "2" should be "Data3" and "Data4"
    And the table should have "2" rows
    And each row should contain "Data"
    And row "1" should have "2" columns
    And each column should contain "Data"
  
  Scenario Outline: Locating table cells on the Page
    When I retrieve a table element by "<search_by>"
    Then the data for row "1" should be "Data1" and "Data2"

  Scenarios:
    | search_by |
    | id        |
    | class     |
    | xpath     |  
  
  
  @watir_only
  Scenario Outline: Locating table cells on the Page with watir
    When I retrieve a table element by "<search_by>"
    Then the data for row "1" should be "Data1" and "Data2"

  Scenarios:
    | search_by |
    | index     |


  @selenium_only
  Scenario Outline: Locating table cells on the Page with selenium
    When I retrieve a table element by "<search_by>"
    Then the data for row "1" should be "Data1" and "Data2"

  Scenarios:
    | search_by |
    | name      |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.0.5 features/table.feature