net.thucydides.gwt.pages
Class GwtPageObject

Package class diagram package GwtPageObject
java.lang.Object
  extended by net.thucydides.core.pages.PageObject
      extended by net.thucydides.gwt.pages.GwtPageObject

public abstract class GwtPageObject
extends net.thucydides.core.pages.PageObject

An extension of the Thucydides PageObject class providing extra features for GWT apps.

Author:
johnsmart

Constructor Summary
GwtPageObject(org.openqa.selenium.WebDriver driver)
           
 
Method Summary
 GwtButton findButton(org.openqa.selenium.By byIdentifer)
          Get a Gwt button using a Selenium identifier.
 GwtButton getButtonLabelled(String label)
          Return a GWT Button widget with a given label.
 FileToUpload uploadFileFromFileSystem(String filename)
          Upload a file using a fluent interface.
 FileToUpload uploadFileFromResourcePath(String filename)
          Upload a file using a fluent interface.
 
Methods inherited from class net.thucydides.core.pages.PageObject
clickOn, compatibleWithUrl, containsText, containsTextInElement, element, evaluateJavascript, getClock, getDriver, getRenderedView, getSelectedLabelFrom, getSelectedOptionLabelsFrom, getSelectedOptionValuesFrom, getSelectedValueFrom, getTitle, hasFocus, isElementVisible, matchesAnyUrl, open, open, open, selectFromDropdown, selectMultipleItemsFromDropdown, setCheckbox, setDefaultBaseUrl, setWaitForTimeout, shouldBeVisible, shouldBeVisible, shouldContainText, shouldContainTextInElement, shouldNotBeVisible, shouldNotBeVisible, shouldNotContainTextInElement, thenReturnElementList, typeInto, updateUrlWithBaseUrlIfDefined, upload, waitABit, waitForAllTextToAppear, waitForAnyRenderedElementOf, waitForAnyTextToAppear, waitForAnyTextToAppear, waitForRenderedElements, waitForRenderedElementsToBePresent, waitForRenderedElementsToDisappear, waitForTextToAppear, waitForTextToAppear, waitForTextToDisappear, waitForTextToDisappear, waitForTitleToAppear, waitForTitleToDisappear, withParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GwtPageObject

public GwtPageObject(org.openqa.selenium.WebDriver driver)
Method Detail

getButtonLabelled

public GwtButton getButtonLabelled(String label)
Return a GWT Button widget with a given label.


findButton

public GwtButton findButton(org.openqa.selenium.By byIdentifer)
Get a Gwt button using a Selenium identifier.


uploadFileFromResourcePath

public FileToUpload uploadFileFromResourcePath(String filename)
Upload a file using a fluent interface. Files are assumed to be on the classpath, e.g. in the src/main/resources directory


uploadFileFromFileSystem

public FileToUpload uploadFileFromFileSystem(String filename)
Upload a file using a fluent interface. Files are assumed to be on the classpath, e.g. in the src/main/resources directory



Copyright © 2011 Wakaleo Consulting. All Rights Reserved.