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

Nested Class Summary
 
Nested classes/interfaces inherited from class net.thucydides.core.pages.PageObject
net.thucydides.core.pages.PageObject.FieldEntry
 
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
addJQuerySupport, blurActiveElement, callWhenPageOpensMethods, clickOn, compatibleWithUrl, containsAllText, containsText, containsTextInElement, element, element, element, enter, evaluateJavascript, getClock, getDriver, getJavascriptExecutorFacade, getRenderedView, getSelectedLabelFrom, getSelectedOptionLabelsFrom, getSelectedOptionValuesFrom, getSelectedValueFrom, getTitle, hasFocus, isElementVisible, matchesAnyUrl, open, open, open, selectFromDropdown, selectMultipleItemsFromDropdown, setCheckbox, setDefaultBaseUrl, setPageUrls, setWaitForTimeout, shouldBeVisible, shouldBeVisible, shouldContainAllText, shouldContainText, shouldContainTextInElement, shouldNotBeVisible, shouldNotBeVisible, shouldNotContainTextInElement, thenReturnElementList, typeInto, updateUrlWithBaseUrlIfDefined, upload, waitABit, waitForAllTextToAppear, waitForAnyRenderedElementOf, waitForAnyTextToAppear, waitForAnyTextToAppear, waitForCondition, waitForRefresh, waitForRenderedElements, waitForRenderedElementsToBePresent, waitForRenderedElementsToDisappear, waitForTextToAppear, waitForTextToAppear, waitForTextToDisappear, 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-2012 Wakaleo Consulting. All Rights Reserved.