PageFactory.initElements(WebDriver, Object)
and waitUntilIsLoaded()
.WebDriverFactory
, which is
WebDriverFactoryProvider.fromConfig
WebDriverFactory
.Browser
associated to the user this task runs as.LoadablePage
, and return its instance.WebPage.BASE_URL
and navigate there.WebDriver
.SearchResultsPage
when clicking on the compliment button in any single
SearchResult
.WebDriver.getCurrentUrl()
is not empty.PageHelper.waitUntil(ExpectedCondition, WebDriver)
.CompositeWebTask
),
starting from the known current page
(which is part of the state of this object).CompositeWebTask
made up of all
of the given tasks, and run it.WebDriver
associated to the user this task runs as.WebElement.clear()
and
WebElement.sendKeys(CharSequence...)
WebElement.sendKeys(CharSequence...)
and loop
(max 50 attempts) until the text is found to have been actually fully entered.WebDriverFactory
according to the settings:
a WebDriverFactoryLocal
if Config.PROP_GRID_HUB_URL
is
not defined;
else, a WebDriverFactoryRemote
finally, decorate it with WebDriverFactoryDecoratorImplicitWait
, if
Config.PROP_TIMEOUT_IMPLICIT_WAIT
is defined
LoginPage
and logging in by entering username and password.TestRetrier
: retries a failing test
BrowserManager
: closes the registered browsers as soon as a test finishes
HtmlReporter
: generated an HTML report with screenshots
TestWatcher
: logs the state of the running test (e.g.: "passed", "failed")
LoadablePage
.WebDriver
.WebUser.withBrowserType(SupportedBrowser)
.OrWebTask
made up of (in order)
this task and the given alternative task.CompositeWebTask
which chains subtasks in a logical OR.PropertyLoader
s.ManualNavigationWebTask.targetUrl()
and return the page ManualNavigationWebTask.landingPage()
.NavigationWebTask.pageToLoadClass()
and return its instance.WebTask.getUser()
.SearchResultsPage
,
representing a single search result,
corresponding to an about.me profile.Logger
.SupportedBrowser
s.VerifyBio.matches(String)
.VerifySocialIcons.isDisplayed(String)
)
is displayed.ExpectedCondition
as a parameter.ExpectedCondition
as a parameter.WebDriver
's.WebDriver
s which drive browsers on the local machine.WebDriverFactory
.WebDriver
(specifically, RemoteWebDriver
)
which can drive a browser on a remote machine, part of a
Selenium Grid.WebDriver
s matching the given set of extra,
desired capabilities
(see also RemoteWebDriver.RemoteWebDriver(URL, Capabilities, Capabilities)
).WebDriver
s against the given hub.WebTask
's.WebUser.openBrowser()
: creates an instance of WebDriver, thus opening a real browser
WebUser.doTask(WebTask)
: performs the given actions against the SUT
Browser
, and no initial page.Copyright © 2015. All rights reserved.