Sha256: 9dde16f5127368b8f78cbd562dda8e6470442000169d97f9fdc5e5910a1ae5d4

Contents?: true

Size: 1019 Bytes

Versions: 1

Compression:

Stored size: 1019 Bytes

Contents

Feature: Page level actions
  In order to act on pages from a web site
  Testers will need to use the page object to encapsulate access

  Background:
    Given I am on the static elements page


  Scenario: Getting the text from a web page
    Then the page should contain the text "Static Elements Page"

  Scenario: Getting the html from a web page
    Then the page should contain the html "<title>Static Elements Page</title>"

  Scenario: Getting the title from a web page
    Then the page should have the title "Static Elements Page"
    
  Scenario: Waiting for something
    Then I should be able to wait for a block to return true
    
  Scenario: Handling alert popups
    When I handle the alert 
    Then I should be able to get the alert's message
    
  Scenario: Handling confirm popups
    When I handle the confirm
    Then I should be able to get the confirm message
    
  Scenario: Handling prompt popups
    When I handle the prompt
    Then I should be able to get the message and default value

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.2 features/page_level_actions.feature