Sha256: f150b52203467fdc38a2fece37ff8326be8f6d027714e0fee84b3b1cdc4af8d0

Contents?: true

Size: 1.66 KB

Versions: 19

Compression:

Stored size: 1.66 KB

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
    
  Scenario: Attach to window using title
    When I open a second window
    Then I should be able to attach to a page object using title
    
  Scenario: Attach to window using url
    When I open a second window
    Then I should be able to attach to a page object using url
    
  Scenario: Refreshing the page
    Then I should be able to refresh the page
    
  Scenario: Going back and forward
    When I select the link labeled "Google Search"
    Then the page should contain the text "Success"
    When I press the back button
    Then the page should contain the text "Static Elements Page"
    When I press the forward button
    Then the page should contain the text "Success"
    

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
page-object-0.6.2 features/page_level_actions.feature
page-object-0.6.1 features/page_level_actions.feature
page-object-0.6 features/page_level_actions.feature
page-object-0.5.5 features/page_level_actions.feature
page-object-0.5.4 features/page_level_actions.feature
page-object-0.5.3 features/page_level_actions.feature
page-object-0.5.2 features/page_level_actions.feature
page-object-0.5.1 features/page_level_actions.feature
page-object-0.5.0 features/page_level_actions.feature
page-object-0.4.4 features/page_level_actions.feature
page-object-0.4.3 features/page_level_actions.feature
page-object-0.4.2 features/page_level_actions.feature
page-object-0.4.1 features/page_level_actions.feature
page-object-0.4.0 features/page_level_actions.feature
page-object-0.3.2 features/page_level_actions.feature
page-object-0.3.1 features/page_level_actions.feature
page-object-0.3.0 features/page_level_actions.feature
page-object-0.2.5 features/page_level_actions.feature
page-object-0.2.4 features/page_level_actions.feature