Index

A B C D E F G H I M P R S T W 
All Classes and Interfaces|All Packages

A

AbstractBrowserDriverTestBase - Class in com.vaadin.testbench
Base class for tests using WebDriver.
AbstractBrowserDriverTestBase() - Constructor for class com.vaadin.testbench.AbstractBrowserDriverTestBase
 
AbstractBrowserTestBase - Class in com.vaadin.testbench
A superclass with helper methods to aid TestBench developers create a JUnit 5 based tests.
AbstractBrowserTestBase() - Constructor for class com.vaadin.testbench.AbstractBrowserTestBase
 
assertEquals(WebElement, WebElement) - Static method in class com.vaadin.testbench.AbstractBrowserTestBase
Assert that the two elements are equal.

B

beforeAll(ExtensionContext) - Method in class com.vaadin.testbench.browser.MultipleBrowsersExtension
 
beforeEach(ExtensionContext) - Method in class com.vaadin.testbench.browser.BrowserExtension
Sets test name while using SauceLabs integration, injects WebDriver and Capabilities references and sets the driver for this test instance.
blur() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Calls the blur() function on the current active element of the page, if any.
BrowserExtension - Class in com.vaadin.testbench.browser
TestBench Extension that provides WebDriver configuration and startup according to given test configuration and desired capabilities.
BrowserExtension(Capabilities) - Constructor for class com.vaadin.testbench.browser.BrowserExtension
 
BrowserTest - Annotation Interface in com.vaadin.testbench
Shorthand annotation for marking test methods in test class.
BrowserTestBase - Class in com.vaadin.testbench
A superclass with helper methods to aid TestBench developers create a JUnit 5 based tests.
BrowserTestBase() - Constructor for class com.vaadin.testbench.BrowserTestBase
 
BrowserTestClass - Annotation Interface in com.vaadin.testbench
Shorthand annotation for enabling @ExtendWith(MultipleBrowsersExtension.class) on test class.
BrowserTestInfo - Record Class in com.vaadin.testbench.browser
Record that is automatically resolved by BrowserExtension providing most important information on currently run test.
BrowserTestInfo(WebDriver, Capabilities, String, Browser, String) - Constructor for record class com.vaadin.testbench.browser.BrowserTestInfo
Creates an instance of a BrowserTestInfo record class.

C

capabilities() - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Returns the value of the capabilities record component.
CapabilitiesUtil - Class in com.vaadin.testbench.browser
 
CapabilitiesUtil() - Constructor for class com.vaadin.testbench.browser.CapabilitiesUtil
 
checkLogsForErrors() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Checks browser's log entries, throws an error for any client-side error and logs any client-side warnings.
checkLogsForErrors(Predicate<String>) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Checks browser's log entries, throws an error for any client-side error and logs any client-side warnings.
clickElementWithJs(String) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Clicks on the element, using JS.
clickElementWithJs(WebElement) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Clicks on the element, using JS.
com.vaadin.testbench - package com.vaadin.testbench
 
com.vaadin.testbench.browser - package com.vaadin.testbench.browser
 
com.vaadin.testbench.parallel - package com.vaadin.testbench.parallel
 
concatUrl(String, String) - Static method in class com.vaadin.testbench.AbstractBrowserTestBase
Combines a base URL with an URI to create a final URL.
createConfiguration(ConfigurationParameters) - Method in class com.vaadin.testbench.parallel.ParallelConfigurationStrategy
 
createDriver() - Method in interface com.vaadin.testbench.DriverSupplier
 

D

drag(WebElement) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Simulate only a drag of source.
dragAndDrop(WebElement, WebElement) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Simulate DnD of source element into the target element.
dragElementOver(WebElement, WebElement) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Simulate a drag of source element and over the target element.
driver - Variable in class com.vaadin.testbench.browser.BrowserExtension
 
driver() - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Returns the value of the driver record component.
DriverSupplier - Interface in com.vaadin.testbench
Class implementing this interface can provide own WebDriver to be used during test execution.

E

equals(Object) - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Indicates whether some other object is "equal to" this one.
evaluateExecutionCondition(ExtensionContext) - Method in class com.vaadin.testbench.browser.BrowserExtension
 
evaluateExecutionCondition(ExtensionContext) - Static method in class com.vaadin.testbench.browser.CapabilitiesUtil
Evaluates if test can be executed in terms of current ExtensionContext.
executeScript(String, Object...) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Executes the given JavaScript in the context of the currently selected frame or window.

F

findElement(By) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
 
findElements(By) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
 

G

getBrowserFactory(ExtensionContext) - Static method in class com.vaadin.testbench.browser.CapabilitiesUtil
 
getCapabilities() - Method in class com.vaadin.testbench.BrowserTestBase
 
getCommandExecutor() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
 
getContext() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
 
getCorePoolSize() - Method in class com.vaadin.testbench.parallel.ParallelConfigurationStrategy
 
getDefaultCapabilities() - Static method in class com.vaadin.testbench.browser.CapabilitiesUtil
 
getDesiredCapabilities() - Method in class com.vaadin.testbench.browser.BrowserExtension
 
getDesiredCapabilities(ExtensionContext) - Static method in class com.vaadin.testbench.browser.CapabilitiesUtil
 
getDriver() - Method in class com.vaadin.testbench.AbstractBrowserDriverTestBase
Returns the WebDriver instance or (if the previously provided WebDriver instance was not already a TestBenchDriverProxy instance) a TestBenchDriverProxy that wraps that driver.
getDriver() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Returns the WebDriver instance or (if the previously provided WebDriver instance was not already a TestBenchDriverProxy instance) a TestBenchDriverProxy that wraps that driver.
getDriver() - Method in class com.vaadin.testbench.browser.BrowserExtension
Returns active WebDriver that used by this test case.
getErrorScreenshotFile(ExtensionContext) - Method in class com.vaadin.testbench.ScreenshotOnFailureExtension
 
getHubHostname() - Method in class com.vaadin.testbench.BrowserTestBase
 
getHubHostname(Class<?>) - Method in class com.vaadin.testbench.browser.BrowserExtension
Returns the hostname of the hub where test is to be run on.
getHubURL(Class<?>) - Method in class com.vaadin.testbench.browser.BrowserExtension
Returns the complete URL of the hub where the tests will be run on.
getKeepAliveSeconds() - Method in class com.vaadin.testbench.parallel.ParallelConfigurationStrategy
 
getLogEntries(Level) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Gets the log entries from the browser that have the given logging level or higher.
getMaxPoolSize() - Method in class com.vaadin.testbench.parallel.ParallelConfigurationStrategy
 
getMinimumRunnable() - Method in class com.vaadin.testbench.parallel.ParallelConfigurationStrategy
 
getParallelism() - Method in class com.vaadin.testbench.parallel.ParallelConfigurationStrategy
 
getRunLocallyBrowser() - Method in class com.vaadin.testbench.BrowserTestBase
 
getRunLocallyBrowser(Class<?>) - Method in class com.vaadin.testbench.browser.BrowserExtension
 
getRunLocallyBrowserName(Class<?>) - Static method in class com.vaadin.testbench.browser.CapabilitiesUtil
 
getRunLocallyBrowserVersion() - Method in class com.vaadin.testbench.BrowserTestBase
 
getRunLocallyBrowserVersion(Class<?>) - Method in class com.vaadin.testbench.browser.BrowserExtension
 
getRunLocallyBrowserVersion(Class<?>) - Static method in class com.vaadin.testbench.browser.CapabilitiesUtil
 
getRunOnHub(Class<?>) - Method in class com.vaadin.testbench.browser.BrowserExtension
 
getScrollX() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Gets current scroll position on x axis.
getScrollY() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Gets current scroll position on y axis.
getUniqueIdentifier(Capabilities) - Static method in class com.vaadin.testbench.browser.CapabilitiesUtil
Returns a string which uniquely (enough) identifies this browser.

H

hasCssClass(WebElement, String) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Checks if the given element has the given class name.
hashCode() - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Returns a hash code value for this object.
hubHostname() - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Returns the value of the hubHostname record component.

I

isElementPresent(By) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Returns true if an element can be found from the driver with given selector.

M

MultipleBrowsersExtension - Class in com.vaadin.testbench.browser
Provides support for running test methods using multiple browsers.
MultipleBrowsersExtension() - Constructor for class com.vaadin.testbench.browser.MultipleBrowsersExtension
 

P

ParallelConfigurationStrategy - Class in com.vaadin.testbench.parallel
Custom configuration strategy using TestBench Parameters.getTestsInParallel().
ParallelConfigurationStrategy() - Constructor for class com.vaadin.testbench.parallel.ParallelConfigurationStrategy
 
provideTestTemplateInvocationContexts(ExtensionContext) - Method in class com.vaadin.testbench.browser.MultipleBrowsersExtension
 

R

resolveParameter(ParameterContext, ExtensionContext) - Method in class com.vaadin.testbench.browser.BrowserExtension
 
runLocallyBrowser() - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Returns the value of the runLocallyBrowser record component.
runLocallyBrowserVersion() - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Returns the value of the runLocallyBrowserVersion record component.

S

screenshotOnFailureExtension - Variable in class com.vaadin.testbench.BrowserTestBase
 
ScreenshotOnFailureExtension - Class in com.vaadin.testbench
This JUnit extension grabs a screenshot when a test fails.
ScreenshotOnFailureExtension(HasDriver) - Constructor for class com.vaadin.testbench.ScreenshotOnFailureExtension
Creates a new ScreenshotOnFailureExtension in the provided test case.
ScreenshotOnFailureExtension(HasDriver, boolean) - Constructor for class com.vaadin.testbench.ScreenshotOnFailureExtension
Creates a new ScreenshotOnFailureExtension in the provided test case.
scrollBy(int, int) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Scrolls the page by given amount of x and y deltas.
scrollIntoViewAndClick(WebElement) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Scrolls the page to the element specified and clicks it.
scrollToElement(WebElement) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Scrolls the page to the element given using javascript.
setBrowserTestInfo(BrowserTestInfo) - Method in class com.vaadin.testbench.BrowserTestBase
 
setDriver(WebDriver) - Method in class com.vaadin.testbench.AbstractBrowserDriverTestBase
Sets the active WebDriver that is used by this test case
setDriver(WebDriver) - Method in class com.vaadin.testbench.browser.BrowserExtension
Sets the active WebDriver that is used by this test case
setQuitDriverOnFinish(boolean) - Method in class com.vaadin.testbench.ScreenshotOnFailureExtension
Tells the extension whether to quit the driver when the test has finished executing or to allow the user to specify this.
supportsParameter(ParameterContext, ExtensionContext) - Method in class com.vaadin.testbench.browser.BrowserExtension
 
supportsTestTemplate(ExtensionContext) - Method in class com.vaadin.testbench.browser.MultipleBrowsersExtension
 

T

testBench() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Convenience method the return TestBenchCommands for the default WebDriver instance.
testFailed(ExtensionContext, Throwable) - Method in class com.vaadin.testbench.ScreenshotOnFailureExtension
 
testSuccessful(ExtensionContext) - Method in class com.vaadin.testbench.ScreenshotOnFailureExtension
 
toString() - Method in record class com.vaadin.testbench.browser.BrowserTestInfo
Returns a string representation of this record class.

W

waitForDevServer() - Method in class com.vaadin.testbench.AbstractBrowserTestBase
If dev server start in progress wait until it's started.
waitForElementNotPresent(By) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
 
waitForElementPresent(By) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
 
waitForElementVisible(By) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
 
waitUntil(ExpectedCondition<T>) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Waits up to 10 seconds for the given condition to become neither null nor false.
waitUntil(ExpectedCondition<T>, long) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Waits the given number of seconds for the given condition to become neither null nor false.
waitUntilNot(ExpectedCondition<T>) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Waits up to 10s for the given condition to become false.
waitUntilNot(ExpectedCondition<T>, long) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Waits the given number of seconds for the given condition to become false.
wrap(Class<T>, WebElement) - Method in class com.vaadin.testbench.AbstractBrowserTestBase
Decorates the element with the specified Element type, making it possible to use component-specific API on elements found using standard Selenium API.
A B C D E F G H I M P R S T W 
All Classes and Interfaces|All Packages