Skip navigation links
A B C D E F G J L M O P R S T W 

A

AbstractFirefoxProvider<P extends AbstractFirefoxProvider<P,D>,D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.rule
Parent class for all implementations of SeleniumProvider for Firefox.
AbstractFirefoxProvider() - Constructor for class at.willhaben.willtest.rule.AbstractFirefoxProvider
 
AbstractSeleniumProvider<P extends SeleniumProvider<P,D>,D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.rule
Combines the Rule pattern with the SeleniumProvider, so in this class a webDriver is created for a test.
AbstractSeleniumProvider() - Constructor for class at.willhaben.willtest.rule.AbstractSeleniumProvider
 
AdBlockerConfigurator - Class in at.willhaben.willtest.config
Activates adblocker for the given firefox profile.
AdBlockerConfigurator() - Constructor for class at.willhaben.willtest.config.AdBlockerConfigurator
 
addDesiredCapabilities(DesiredCapabilities) - Method in class at.willhaben.willtest.config.DefaultFirefoxConfigurationParticipant
 
addDesiredCapabilities(DesiredCapabilities) - Method in class at.willhaben.willtest.config.ElementScrollBehaviourConfigurator
 
addDesiredCapabilities(DesiredCapabilities) - Method in interface at.willhaben.willtest.config.WebDriverConfigurationParticipant
Can add desired capabilities to a WebDriver before it gets created.
addDesiredCapabilities(DesiredCapabilities) - Method in class at.willhaben.willtest.rule.WebDriverLog
 
addFirefoxConfigurationParticipant(FirefoxConfigurationParticipant) - Method in class at.willhaben.willtest.config.FirefoxConfiguration
addTo(T) - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
Adds this configurator to the given SeleniumProvider
addWebDriverConfigurationParticipant(WebDriverConfigurationParticipant<D>) - Method in interface at.willhaben.willtest.config.SeleniumProvider
After creating a new WebDriver instance, a SeleniumProvider implementation should pass that instance to all WebDriverConfigurationParticipant to let them adjust it.
addWebDriverConfigurationParticipant(WebDriverConfigurationParticipant<D>) - Method in class at.willhaben.willtest.rule.AbstractSeleniumProvider
 
adjustFirefoxBinary(FirefoxBinary) - Method in class at.willhaben.willtest.config.DefaultFirefoxConfigurationParticipant
 
adjustFirefoxBinary(FirefoxBinary) - Method in interface at.willhaben.willtest.config.FirefoxConfigurationParticipant
It can adjust a FirefoxBinary.
adjustFirefoxProfile(FirefoxProfile) - Method in class at.willhaben.willtest.config.AdBlockerConfigurator
 
adjustFirefoxProfile(FirefoxProfile) - Method in class at.willhaben.willtest.config.DefaultFirefoxConfigurationParticipant
 
adjustFirefoxProfile(FirefoxProfile) - Method in interface at.willhaben.willtest.config.FirefoxConfigurationParticipant
It can adjust a FirefoxProfile.
after(Description, Throwable) - Method in class at.willhaben.willtest.rule.AbstractSeleniumProvider
Closes the webDriver which was created in this rule.
after(Description, Throwable) - Method in class at.willhaben.willtest.rule.LogContext
 
after(Description, Throwable) - Method in class at.willhaben.willtest.rule.ResourceHelper
 
after(Description, Throwable) - Method in class at.willhaben.willtest.rule.TestFailureAwareRule
Called after all tests always.
apply(Statement, Description) - Method in class at.willhaben.willtest.rule.Retry
 
apply(Statement, Description) - Method in class at.willhaben.willtest.rule.TestFailureAwareRule
 
at.willhaben.willtest.config - package at.willhaben.willtest.config
 
at.willhaben.willtest.matcher - package at.willhaben.willtest.matcher
 
at.willhaben.willtest.rule - package at.willhaben.willtest.rule
 
at.willhaben.willtest.util - package at.willhaben.willtest.util
 

B

before(Description) - Method in class at.willhaben.willtest.rule.AbstractSeleniumProvider
 
before(Description) - Method in class at.willhaben.willtest.rule.LogContext
 
before(Description) - Method in class at.willhaben.willtest.rule.ResourceHelper
 
before(Description) - Method in class at.willhaben.willtest.rule.TestFailureAwareRule
Can do something before a test.
build() - Method in class at.willhaben.willtest.util.TestReportFile.Builder
 

C

constructWebDriver(DesiredCapabilities) - Method in class at.willhaben.willtest.rule.AbstractSeleniumProvider
 
constructWebDriver(DesiredCapabilities) - Method in class at.willhaben.willtest.rule.LocalFirefoxProvider
 
constructWebDriver(DesiredCapabilities) - Method in class at.willhaben.willtest.rule.SeleniumHubFirefoxProvider
 
createDesiredCapabilities(Description) - Method in class at.willhaben.willtest.rule.AbstractSeleniumProvider
 
createDesiredCapabilities(Description) - Method in class at.willhaben.willtest.rule.SeleniumHubFirefoxProvider
 

D

DefaultFirefoxBinaryProvider - Class in at.willhaben.willtest.config
Lets the user to customize the firefox installation to be used, when a test runs locally.
DefaultFirefoxBinaryProvider() - Constructor for class at.willhaben.willtest.config.DefaultFirefoxBinaryProvider
 
DefaultFirefoxConfigurationParticipant<D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.config
Default settings for Firefox.
DefaultFirefoxConfigurationParticipant() - Constructor for class at.willhaben.willtest.config.DefaultFirefoxConfigurationParticipant
 
DefaultScreenshotProvider - Class in at.willhaben.willtest.config
Takes a simple screenshot in case of an error.
DefaultScreenshotProvider() - Constructor for class at.willhaben.willtest.config.DefaultScreenshotProvider
 
describeTo(Description) - Method in class at.willhaben.willtest.matcher.ExceptionMatcher
 
describeTo(Description) - Method in class at.willhaben.willtest.matcher.PageContentMatcher
 

E

ElementScrollBehaviourConfigurator<D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.config
If an element should be clicked, and it is not in the viewport (not visible), then selenium has to scroll to make the element clickable.
ElementScrollBehaviourConfigurator(ElementScrollBehavior) - Constructor for class at.willhaben.willtest.config.ElementScrollBehaviourConfigurator
 
Environment - Class in at.willhaben.willtest.util
Used to get a system property or environment variable.
ExceptionMatcher<T extends Throwable> - Class in at.willhaben.willtest.matcher
Matches a given exception type with an optional additional message matcher.
ExceptionMatcher(Class<T>) - Constructor for class at.willhaben.willtest.matcher.ExceptionMatcher
Will match Throwable instances of the given type.
ExceptionMatcher(Class<T>, Matcher<String>) - Constructor for class at.willhaben.willtest.matcher.ExceptionMatcher
Will match Throwable instances of the given type and if its message matches the given String Matcher.

F

FileDetectorConfigurator<D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.config
Configures the WebDriver to support file uploads.
FileDetectorConfigurator() - Constructor for class at.willhaben.willtest.config.FileDetectorConfigurator
 
FIND_ELEMENT_TIMEOUT - Static variable in interface at.willhaben.willtest.config.SeleniumProvider
 
FIREFOX_BINARY_LOCATION_SYSTEM_PROPERTY_KEY - Static variable in class at.willhaben.willtest.config.DefaultFirefoxBinaryProvider
Env entry to contain a path to the firefox binary to be used.
FirefoxBinaryProvider - Interface in at.willhaben.willtest.config
You might want to run tests with different versions of Firefox.
FirefoxConfiguration<D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.config
Central class to configure anything on a firefox instance which is more than what a WebDriverConfigurationParticipant enables to change.
FirefoxConfiguration() - Constructor for class at.willhaben.willtest.config.FirefoxConfiguration
 
FirefoxConfigurationParticipant - Interface in at.willhaben.willtest.config
Can change the settings of a Firefox instance used by the tests.
FixedTopBarShootingStrategy - Class in at.willhaben.willtest.util
Takes a screenshot of the whole website by scrolling down an combine all screenshots.
FixedTopBarShootingStrategy(By) - Constructor for class at.willhaben.willtest.util.FixedTopBarShootingStrategy
Creates shootingstragety which takes screenshot of the whole page and the ability to remove a fixed header navbar
FixedTopBarShootingStrategy(int) - Constructor for class at.willhaben.willtest.util.FixedTopBarShootingStrategy
Creates shootingstragety which takes screenshot of the whole page and the ability to remove a fixed header navbar
forTest(Description) - Static method in class at.willhaben.willtest.util.TestReportFile
Starts building of a test report file

G

getDefaultWebDriverWait() - Method in interface at.willhaben.willtest.config.SeleniumProvider
Since Wait is something, what is fast always used in selenium tests, this method returns a default wait to be used with the WebDriver.
getFile() - Method in class at.willhaben.willtest.util.TestReportFile
Gives back the File object, which can be used as target for report.
getFirefoxBinary() - Method in class at.willhaben.willtest.config.DefaultFirefoxBinaryProvider
 
getFirefoxBinary() - Method in interface at.willhaben.willtest.config.FirefoxBinaryProvider
Creates a firefox binary (executable of firefox)
getFirefoxBinary() - Method in class at.willhaben.willtest.config.FirefoxConfiguration
 
getFirefoxConfiguration() - Method in class at.willhaben.willtest.rule.AbstractFirefoxProvider
 
getFirefoxConfigurationParticipantList() - Method in class at.willhaben.willtest.config.FirefoxConfiguration
 
getFirefoxProfile() - Method in class at.willhaben.willtest.config.FirefoxConfiguration
 
getImplicitWait() - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
Returns the current implicit wait in milliseconds.
getPageContent() - Method in exception at.willhaben.willtest.rule.PageContentException
 
getPageLoadTimeout() - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
Returns the current page load timeout in milliseconds.
getResourceAsFile(String) - Method in class at.willhaben.willtest.rule.ResourceHelper
Gets resource either from a jar or from a file as stream, and writes its content into a temp file.
getScreenshot(WebDriver) - Method in class at.willhaben.willtest.util.FixedTopBarShootingStrategy
 
getScriptTimeout() - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
Returns the current script timeout in milliseconds.
getThis() - Method in interface at.willhaben.willtest.config.SeleniumProvider
Gives back the current instance as #P back to make method chaining possible in a type safe manner.
getThis() - Method in class at.willhaben.willtest.rule.LocalFirefoxProvider
 
getThis() - Method in class at.willhaben.willtest.rule.SeleniumHubFirefoxProvider
 
getValue(String, String) - Static method in class at.willhaben.willtest.util.Environment
Checks if the specified key is available in the system properties System.getProperty(String), environment variables System.getenv(String) or takes the default value.
getWebDriver() - Method in interface at.willhaben.willtest.config.SeleniumProvider
 
getWebDriver() - Method in class at.willhaben.willtest.rule.AbstractSeleniumProvider
 

J

JavascriptAlert - Class in at.willhaben.willtest.rule
Adds the text of a possible alert to the normal test failure as suppressed exception.
JavascriptAlert(SeleniumProvider) - Constructor for class at.willhaben.willtest.rule.JavascriptAlert
 

L

LocalFirefoxProvider - Class in at.willhaben.willtest.rule
Starts a local firefox instance.
LocalFirefoxProvider() - Constructor for class at.willhaben.willtest.rule.LocalFirefoxProvider
 
LogContext - Class in at.willhaben.willtest.rule
Sets log pattern variables to make it clear which log entry belongs to which test in case of parallel execution.
LogContext() - Constructor for class at.willhaben.willtest.rule.LogContext
 

M

matchesSafely(T) - Method in class at.willhaben.willtest.matcher.ExceptionMatcher
 
matchesSafely(Throwable) - Method in class at.willhaben.willtest.matcher.PageContentMatcher
 

O

onError(Description, Throwable) - Method in class at.willhaben.willtest.rule.JavascriptAlert
 
onError(Description, Throwable) - Method in class at.willhaben.willtest.rule.PageSource
 
onError(Description, Throwable) - Method in class at.willhaben.willtest.rule.ScreenshotRule
 
onError(Description, Throwable) - Method in class at.willhaben.willtest.rule.TestFailureAwareRule
Called if the test has thrown an error.
onError(Description, Throwable) - Method in class at.willhaben.willtest.rule.WebDriverLog
 

P

PageContentException - Exception in at.willhaben.willtest.rule
An exception, which contains the page content of the browser at the time of the test error.
PageContentException(String) - Constructor for exception at.willhaben.willtest.rule.PageContentException
 
PageContentMatcher - Class in at.willhaben.willtest.matcher
Matches a Throwable if it has any suppressed PageContentException, which contains a page content (see PageContentException.getPageContent(), which matches the Matcher passed in as constructor argument.
PageContentMatcher(Matcher<String>) - Constructor for class at.willhaben.willtest.matcher.PageContentMatcher
 
PageSource - Class in at.willhaben.willtest.rule
Saves the page source into a file in case of a test error
PageSource(SeleniumProvider) - Constructor for class at.willhaben.willtest.rule.PageSource
 
postConstruct(D) - Method in class at.willhaben.willtest.config.DefaultFirefoxConfigurationParticipant
Moves window to the first display, and maximizes there.
postConstruct(D) - Method in class at.willhaben.willtest.config.FileDetectorConfigurator
 
postConstruct(D) - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
 
postConstruct(D) - Method in interface at.willhaben.willtest.config.WebDriverConfigurationParticipant
Can make some changes on a newly created WebDriver before it gets used.

R

ResourceHelper - Class in at.willhaben.willtest.rule
Makes possible to upload a classpath resource file using Selenium.
ResourceHelper() - Constructor for class at.willhaben.willtest.rule.ResourceHelper
 
Retry - Class in at.willhaben.willtest.rule
This rule gives you the possibility to retry a test if the exception matches a given Matcher.
Retry(Matcher<? extends Throwable>) - Constructor for class at.willhaben.willtest.rule.Retry
Retries the test if the given matcher matches the exception thrown.
Retry(Matcher<? extends Throwable>, int) - Constructor for class at.willhaben.willtest.rule.Retry
Retries the test if the given matcher matches the exception thrown.

S

ScreenshotProvider - Interface in at.willhaben.willtest.config
Allows to use a custom screenshot library or to implement own screenshot behaviour.
ScreenshotRule - Class in at.willhaben.willtest.rule
Creates a PNG screenshot if there is a test failure.
ScreenshotRule(SeleniumProvider) - Constructor for class at.willhaben.willtest.rule.ScreenshotRule
 
SeleniumHubFirefoxProvider - Class in at.willhaben.willtest.rule
Starts a remote firefox instance on a selenium hub.
SeleniumHubFirefoxProvider() - Constructor for class at.willhaben.willtest.rule.SeleniumHubFirefoxProvider
 
SeleniumProvider<P extends SeleniumProvider,D extends org.openqa.selenium.WebDriver> - Interface in at.willhaben.willtest.config
Creates a WebDriver instance with respecting all configuration participants given to it.
setFirefoxBinaryProvider(FirefoxBinaryProvider) - Method in class at.willhaben.willtest.config.FirefoxConfiguration
 
setFirefoxConfiguration(FirefoxConfiguration) - Method in class at.willhaben.willtest.rule.AbstractFirefoxProvider
 
setScreenshotProvider(ScreenshotProvider) - Method in class at.willhaben.willtest.rule.ScreenshotRule
 

T

takeScreenshot(WebDriver) - Method in class at.willhaben.willtest.config.DefaultScreenshotProvider
 
takeScreenshot(WebDriver) - Method in interface at.willhaben.willtest.config.ScreenshotProvider
This method is called if an error occurred in the test.
TEST_CLASS - Static variable in class at.willhaben.willtest.rule.LogContext
 
TEST_DISPLAY_NAME - Static variable in class at.willhaben.willtest.rule.LogContext
 
TEST_METHOD - Static variable in class at.willhaben.willtest.rule.LogContext
 
TestFailureAwareRule - Class in at.willhaben.willtest.rule
Similar to ExternalResource, but gives possibility to do something in case of errors.
TestFailureAwareRule() - Constructor for class at.willhaben.willtest.rule.TestFailureAwareRule
Just to make sure, that this class will not be instantiated, only its children
TestReportFile - Class in at.willhaben.willtest.util
Decides where are the report files saved.
TestReportFile() - Constructor for class at.willhaben.willtest.util.TestReportFile
 
TestReportFile.Builder - Class in at.willhaben.willtest.util
 
THREAD_ID - Static variable in class at.willhaben.willtest.rule.LogContext
 
TimeoutsConfigurationParticipant<D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.config
Adjusts timeouts available by using webDriver.manage().timeouts().
TimeoutsConfigurationParticipant() - Constructor for class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
 

W

waitOverridingImplicitWait(WebDriver, int) - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
If there is an implicit wait set, then you might need to wait for a shorter period.
WebDriverConfigurationParticipant<D extends org.openqa.selenium.WebDriver> - Interface in at.willhaben.willtest.config
Makes possible to adjust the behaviour of the WebDriver instances created by a SeleniumProvider.
WebDriverLog<P extends SeleniumProvider<P,D>,D extends org.openqa.selenium.WebDriver> - Class in at.willhaben.willtest.rule
In case of test error dumps the logs of selenium into the standard logger.
WebDriverLog(SeleniumProvider<P, D>) - Constructor for class at.willhaben.willtest.rule.WebDriverLog
 
withImplicitWait(Duration) - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
See WebDriver.Timeouts.implicitlyWait(long, TimeUnit)
withoutImplicitWait() - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
This will reset implicit wait to the WebDriver implementation default
withoutPageLoadTimeout() - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
This will reset page load timeout to the WebDriver implementation default
withoutScriptTimeout() - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
This will reset script timeout to the WebDriver implementation default
withPageLoadTimeout(Duration) - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
See WebDriver.Timeouts.pageLoadTimeout(long, TimeUnit)
withPostix(String) - Method in class at.willhaben.willtest.util.TestReportFile.Builder
 
withPrefix(String) - Method in class at.willhaben.willtest.util.TestReportFile.Builder
 
withScriptTimeout(Duration) - Method in class at.willhaben.willtest.config.TimeoutsConfigurationParticipant
See WebDriver.Timeouts.setScriptTimeout(long, TimeUnit)
A B C D E F G J L M O P R S T W 
Skip navigation links

Copyright © 2017 willhaben internet service GmbH & Co KG. All rights reserved.