JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
W
A
addTransactionSupport(Transactional)
- Static method in class io.devcon5.pageobjects.tx.
TransactionHelper
Adds transaction support to the page.
after()
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeRecording
after()
- Method in class io.devcon5.pageobjects.
SeleniumControl
afterClass()
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeRecording
afterClass()
- Method in class io.devcon5.pageobjects.
SeleniumControl
B
baseUrl(String)
- Method in class io.devcon5.pageobjects.
SeleniumControl.SeleniumContextBuilder
before()
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeRecording
before()
- Method in class io.devcon5.pageobjects.
SeleniumControl
beforeClass()
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeRecording
beforeClass()
- Method in class io.devcon5.pageobjects.
SeleniumControl
build()
- Method in class io.devcon5.pageobjects.
SeleniumControl.SeleniumContextBuilder
builder()
- Static method in class io.devcon5.pageobjects.
SeleniumControl
Creates a new context builder for fluent setup and instantiation.
C
captureTx(String, Instant, Instant)
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
Captures a completed transaction that has been manually recorded.
captureTx(String, Instant, Duration)
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
Caputes a completed transaction that has been manually recorded.
clear()
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Clears the global response time collection
clearGlobalTable(boolean)
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeRecording
Sets whether to reset the global response time table after the test.
collect(ResponseTime)
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Collects a completed ResponeTime recording.
collect(String, TimeMeasure)
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Collects a completed time measure for a specific transaction.
createDefaultInstance(Class<?>)
- Static method in class io.devcon5.pageobjects.
PageObjectsInjector
Creates an instance using the default constructor
current()
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
currentContext()
- Static method in class io.devcon5.pageobjects.
SeleniumContext
Global accessor to the current context which is stored in a thread local.
currentContext()
- Method in class io.devcon5.pageobjects.
SeleniumControl
Returns the current context.
currentDriver()
- Static method in class io.devcon5.pageobjects.
SeleniumContext
Global accessor to the current web driver, which is stored in a thread local.
currentDriver()
- Method in class io.devcon5.pageobjects.
SeleniumControl
Returns the currentContext driver.
D
destroy()
- Method in class io.devcon5.pageobjects.
SeleniumContext
driver(Supplier<WebDriver>)
- Method in class io.devcon5.pageobjects.
SeleniumControl.SeleniumContextBuilder
driverOptions(Consumer<WebDriver.Options>)
- Method in class io.devcon5.pageobjects.
SeleniumControl.SeleniumContextBuilder
Drivers
- Enum in
io.devcon5.pageobjects
Choice of Drivers to use for Selenium testing
E
ElementGroup
- Interface in
io.devcon5.pageobjects
An element group is the base class for the entire page object model.
equals(Object)
- Method in class io.devcon5.pageobjects.measure.
ResponseTime
ExecutionStopWatch
- Class in
io.devcon5.pageobjects.measure
A functional stop watch for measuring the time for executing a specific task.
F
finish()
- Method in class io.devcon5.pageobjects.measure.
ResponseTime
Finishes the response time measurement and creates a new ResponseTime
finish(Instant)
- Method in class io.devcon5.pageobjects.measure.
ResponseTime
Finishes the transaction response time recording on the the specific instant.
G
get(Class<T>, Class<? extends Annotation>...)
- Method in interface io.devcon5.pageobjects.
ElementGroup
Retrieves a nested
ElementGroup
from this group by type.
getBaseUrl()
- Method in class io.devcon5.pageobjects.
SeleniumContext
The base URL for the current context used to resolve relative URLs.
getBaseUrl()
- Method in class io.devcon5.pageobjects.
SeleniumControl
The base URL of the application to test
getClassTxName(Class<?>)
- Static method in class io.devcon5.pageobjects.tx.
TransactionHelper
Determines the transaction name for the class.
getDriver()
- Method in class io.devcon5.pageobjects.
SeleniumContext
The web driver of the context
getDriver()
- Method in class io.devcon5.pageobjects.
SeleniumControl
Returns the driver of this context.
getDuration()
- Method in class io.devcon5.pageobjects.measure.
TimeMeasure
getException()
- Method in class io.devcon5.pageobjects.measure.
MeasuredExecutionResult
getPassword()
- Method in class io.devcon5.pageobjects.
User
getResponseTimes()
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Returns all recorded response times.
getReturnValue()
- Method in class io.devcon5.pageobjects.measure.
MeasuredExecutionResult
The result of the execution.
getSearchContext()
- Method in interface io.devcon5.pageobjects.
ElementGroup
Returns the search context for locating elements inside the element group.
getStart()
- Method in class io.devcon5.pageobjects.measure.
TimeMeasure
getTestDuration()
- Method in class io.devcon5.pageobjects.
SeleniumControl
Returns the duration of the test execution.
getTransaction()
- Method in class io.devcon5.pageobjects.measure.
ResponseTime
The name of the transaction that was measured
getTxName(Object, Method)
- Static method in class io.devcon5.pageobjects.tx.
TransactionHelper
Determines the transaction name of the method.
getUsername()
- Method in class io.devcon5.pageobjects.
User
getUuid()
- Method in class io.devcon5.pageobjects.measure.
ResponseTime
The unique id of the measure
H
hashCode()
- Method in class io.devcon5.pageobjects.measure.
ResponseTime
I
init()
- Method in class io.devcon5.pageobjects.
SeleniumContext
injectFields(ElementGroup)
- Static method in class io.devcon5.pageobjects.
PageObjectsInjector
Injects WebElement suppliers in all fields according to the
Locator
annotation on that field
injectMethods(ElementGroup)
- Static method in class io.devcon5.pageobjects.
PageObjectsInjector
Injects WebElement suppliers in all setter methods according to the
Locator
annotation on that method
injectWebElement(ElementGroup, Field, Locator)
- Static method in class io.devcon5.pageobjects.
PageObjectsInjector
Injects a WebElement supplier into the specified field of the target.
io.devcon5.pageobjects
- package io.devcon5.pageobjects
io.devcon5.pageobjects.measure
- package io.devcon5.pageobjects.measure
io.devcon5.pageobjects.tx
- package io.devcon5.pageobjects.tx
isFinished()
- Method in class io.devcon5.pageobjects.measure.
TimeMeasure
isLoggedIn()
- Method in class io.devcon5.pageobjects.
SeleniumControl
Indicates if a user is logged in to the application
L
loadPage()
- Method in interface io.devcon5.pageobjects.
Page
Default implementation navigates to the url of the page specified by locator annotation.
loadPage(Class<T>)
- Static method in class io.devcon5.pageobjects.
PageLoader
Loads a page with optional transaction support.
locate(String)
- Method in enum io.devcon5.pageobjects.
Locator.ByLocator
Locates the web element on the current page using the appropriate locator strategy
locate(SearchContext, String)
- Method in enum io.devcon5.pageobjects.
Locator.ByLocator
Locates the web element on the current page using the appropriate locator strategy
locate(Locator)
- Static method in class io.devcon5.pageobjects.
WebElementLocator
Locates the element using the current driver as search context.
locate(SearchContext, Locator)
- Static method in class io.devcon5.pageobjects.
WebElementLocator
Locates the element using the search context and locator, waiting for the timeout specified in the locator.
locateElements()
- Method in interface io.devcon5.pageobjects.
ElementGroup
Locates all elements specified either by field annotation or method annotation and injects the web element suppliers to each element.
Locator
- Annotation Type in
io.devcon5.pageobjects
A locator annotation to declare how a page or an element can be addressed
Locator.ByLocator
- Enum in
io.devcon5.pageobjects
login(User)
- Method in class io.devcon5.pageobjects.
SeleniumControl
Performs the login action with the specified user
loginAction(BiConsumer<User, WebDriver>)
- Method in class io.devcon5.pageobjects.
SeleniumControl.SeleniumContextBuilder
logout()
- Method in class io.devcon5.pageobjects.
SeleniumControl
Performs the logout action
logoutAction(Consumer<WebDriver>)
- Method in class io.devcon5.pageobjects.
SeleniumControl.SeleniumContextBuilder
M
MeasuredExecutionResult
<
RESULTTYPE
> - Class in
io.devcon5.pageobjects.measure
The result of a time measured execution.
MeasuredExecutionResult(Instant, Duration, RESULTTYPE)
- Constructor for class io.devcon5.pageobjects.measure.
MeasuredExecutionResult
MeasuredExecutionResult(Instant, Duration, Throwable)
- Constructor for class io.devcon5.pageobjects.measure.
MeasuredExecutionResult
N
navigateTo(Class<T>)
- Static method in interface io.devcon5.pageobjects.
Page
Navigates to a specific page of the page object model.
NEGATIVE
- Static variable in class io.devcon5.pageobjects.measure.
TimeMeasure
O
onMeasureEnd(Consumer<ResponseTime>)
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Overrides the default consumer that handles response times on the end of a transaction
onMeasureStart(Consumer<ResponseTime>)
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Overrides the default consumer that handles response times on the beginning of a transaction
P
Page
- Interface in
io.devcon5.pageobjects
Interface to declare a page of an application
PageLoader
- Class in
io.devcon5.pageobjects
Loader of a page instance.
PageObjectsInjector
- Class in
io.devcon5.pageobjects
Injector to inject WebElement suppliers to Fields and Methods of a Page
printTransactions(boolean)
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeRecording
Sets whether to print out the recorded transactions at the end of the test.
Q
Qualifier
- Annotation Type in
io.devcon5.pageobjects
Qualifier annotation to define custom qualifiers for ElementGroups.
R
resetResponseTimeHandlers()
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Resets the response time consumer to the default.
resolve(String)
- Static method in class io.devcon5.pageobjects.
SeleniumContext
Resolves the URL path relative to the base URL.
ResponseTime
- Class in
io.devcon5.pageobjects.measure
ResponseTime of a Transaction.
ResponseTime(String, Instant)
- Constructor for class io.devcon5.pageobjects.measure.
ResponseTime
ResponseTime(String, Instant, Duration)
- Constructor for class io.devcon5.pageobjects.measure.
ResponseTime
ResponseTimeCollector
- Class in
io.devcon5.pageobjects.measure
A collector for tracking transactions for a single thread.
ResponseTimeCollector()
- Constructor for class io.devcon5.pageobjects.measure.
ResponseTimeCollector
ResponseTimeRecording
- Class in
io.devcon5.pageobjects.measure
JUnit Rule to record response times.
ResponseTimeRecording()
- Constructor for class io.devcon5.pageobjects.measure.
ResponseTimeRecording
ResponseTimes
- Class in
io.devcon5.pageobjects.measure
Global Handler for recording response time.
runMeasured(Runnable)
- Static method in class io.devcon5.pageobjects.measure.
ExecutionStopWatch
Performs the measured execution returning the result including the time it took to execution
runMeasured(Callable<T>)
- Static method in class io.devcon5.pageobjects.measure.
ExecutionStopWatch
Performs the measured execution returning the result including the time it took to execution
S
SeleniumContext
- Class in
io.devcon5.pageobjects
The selenium context is a container for maintaining access to the current driver of
SeleniumContext(Supplier<WebDriver>)
- Constructor for class io.devcon5.pageobjects.
SeleniumContext
SeleniumControl
- Class in
io.devcon5.pageobjects
Context for running selenium based tests.
SeleniumControl()
- Constructor for class io.devcon5.pageobjects.
SeleniumControl
SeleniumControl.SeleniumContextBuilder
- Class in
io.devcon5.pageobjects
Builder for creating a Selenium test context
setBaseUrl(String)
- Method in class io.devcon5.pageobjects.
SeleniumContext
Sets the base URL for the current context used to resolve relative URLs.
startCollecting()
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
Starts the recording of response times for the current thread.
startTx(String)
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
Starts a new transaction time recording
startTx(String)
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Starts a transaction on the specified point in time
startTx(String, Instant)
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Starts a transaction on the specified point in time
stopCollecting()
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
Stops the recoding of the response times for the current thread.
stopTx(String)
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
Stops the recording of a transaction time, storing the transaction in the global response time store
stopTx(String, Instant)
- Method in class io.devcon5.pageobjects.measure.
ResponseTimeCollector
Stops the transaction at the specific time point
stopTx(ResponseTime)
- Static method in class io.devcon5.pageobjects.measure.
ResponseTimes
Records the response time as finished.
T
TimeMeasure
- Class in
io.devcon5.pageobjects.measure
Represents a single time measure.
TimeMeasure(Instant, Duration)
- Constructor for class io.devcon5.pageobjects.measure.
TimeMeasure
TimeMeasure(Instant)
- Constructor for class io.devcon5.pageobjects.measure.
TimeMeasure
toString()
- Method in class io.devcon5.pageobjects.measure.
ResponseTime
Transaction
- Annotation Type in
io.devcon5.pageobjects.tx
Used declare a page or operation on a page transactional.
Transactional
- Interface in
io.devcon5.pageobjects.tx
Adds transaction support to a page object.
TransactionHelper
- Class in
io.devcon5.pageobjects.tx
Utility class to enhance a Page instance with transaction support.
txBegin(String)
- Method in interface io.devcon5.pageobjects.tx.
Transactional
Method to start a transaction manually.
txEnd(String)
- Method in interface io.devcon5.pageobjects.tx.
Transactional
Method to stop the manually started transaction.
U
User
- Class in
io.devcon5.pageobjects
A user object to run a test
User(String, String)
- Constructor for class io.devcon5.pageobjects.
User
V
valueOf(String)
- Static method in enum io.devcon5.pageobjects.
Drivers
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum io.devcon5.pageobjects.
Locator.ByLocator
Returns the enum constant of this type with the specified name.
values()
- Static method in enum io.devcon5.pageobjects.
Drivers
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum io.devcon5.pageobjects.
Locator.ByLocator
Returns an array containing the constants of this enum type, in the order they are declared.
W
waitForElement(SearchContext, By, int)
- Static method in class io.devcon5.pageobjects.
WebElementLocator
Waits for the presence of a specific web element until a timeout is reached.
waitForElement(By, int)
- Static method in class io.devcon5.pageobjects.
WebElementLocator
Waits for the presence of an element until a timeout is reached.
wasSuccessful()
- Method in class io.devcon5.pageobjects.measure.
MeasuredExecutionResult
Indicator whether the execution was successful.
WebElementLocator
- Class in
io.devcon5.pageobjects
Helper class to locate
WebElement
s by a
Locator
literal
withSelector(String)
- Method in enum io.devcon5.pageobjects.
Locator.ByLocator
Transforms the ByLocator to a Selenium
By
literal.
A
B
C
D
E
F
G
H
I
L
M
N
O
P
Q
R
S
T
U
V
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2016
DevCon5 GmbH
. All rights reserved.