Package org.jenkinsci.test.acceptance.po
Class Action
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageObject
-
- org.jenkinsci.test.acceptance.po.Action
-
- All Implemented Interfaces:
CapybaraPortingLayer
- Direct Known Subclasses:
EnvInjectAction
,HtmlReport
,JobConfigHistory
,MatrixReloadedAction
,PriorityConfig
,Scriptler
public abstract class Action extends PageObject
Page object action.- Author:
- ogondza
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
-
Field Summary
Fields Modifier and Type Field Description protected ContainerPageObject
parent
-
Fields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, url
-
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
-
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
-
Constructor Summary
Constructors Constructor Description Action(ContainerPageObject parent, String relative)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
isApplicable(ContainerPageObject po)
org.openqa.selenium.WebDriver
open()
Visits the top page of this object.-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, toString, url, url, visit
-
Methods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
-
-
-
Field Detail
-
parent
protected final ContainerPageObject parent
-
-
Constructor Detail
-
Action
public Action(ContainerPageObject parent, String relative)
-
-
Method Detail
-
open
public org.openqa.selenium.WebDriver open()
Description copied from class:PageObject
Visits the top page of this object.- Overrides:
open
in classPageObject
-
isApplicable
public abstract boolean isApplicable(ContainerPageObject po)
- Returns:
- true if and action can be attached to given page object.
-
-