$ A B C D E F G H I J L M N O P Q R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
$
- $(Class<T>) - Method in interface com.vaadin.testbench.HasElementQuery
-
Prepare a
ElementQueryinstance to use for locating components on the client. - $(String) - Method in interface com.vaadin.testbench.HasElementQuery
-
Prepare a
ElementQueryinstance to use for locating components on the client.
A
- addGetParameter(String, String, int) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Adds the given get parameter to the URI and returns the new URI.
- addGetParameter(String, String, String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Adds the given get parameter to the URI and returns the new URI.
- addGetParameters(String, String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Adds the get parameters to the uri and returns the new uri that contains the parameters.
- addRepresentation(ReferenceImageRepresentation.HashRepresentation) - Method in class com.vaadin.testbench.screenshot.ReferenceImageRepresentation
- addRepresentation(String) - Method in class com.vaadin.testbench.screenshot.ReferenceImageRepresentation
- addXBlock() - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- addYBlock() - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- all() - Method in class com.vaadin.testbench.ElementQuery
-
Search the open Vaadin application for a list of matching components relative to given context.
- apply(Statement, Description) - Method in class com.vaadin.testbench.RetryRule
- attribute(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the given attribute to match the given value.
- Attribute - Annotation Type in com.vaadin.testbench.annotations
-
Additional qualifier to be used on element classes which do not use an unique tag name.
- Attribute.Container - Annotation Type in com.vaadin.testbench.annotations
-
Internal annotation to enable use of multiple
Attributeannotations. - attributeContains(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the given attribute to contain the given value.
- AttributeMatch(String) - Constructor for class com.vaadin.testbench.ElementQuery.AttributeMatch
- AttributeMatch(String, String) - Constructor for class com.vaadin.testbench.ElementQuery.AttributeMatch
- AttributeMatch(String, String, String) - Constructor for class com.vaadin.testbench.ElementQuery.AttributeMatch
B
- Browser - Enum in com.vaadin.testbench.parallel
-
Enumerates the most commonly used browsers.
- BrowserConfiguration - Annotation Type in com.vaadin.testbench.annotations
-
Methods annotated with BrowserConfiguration in test classes will be used to configure the browsers that are to be used for test cases in that class.
- BrowserFactory - Annotation Type in com.vaadin.testbench.annotations
-
BrowserFactoryannotation is used to define whichTestBenchBrowserFactoryimplementation to use in a test. - BrowserUtil - Class in com.vaadin.testbench.parallel
-
Provides helper method for selecting the browser to run on
- BrowserUtil() - Constructor for class com.vaadin.testbench.parallel.BrowserUtil
C
- callFunction(String, Object...) - Method in interface com.vaadin.testbench.HasCallFunction
-
Invoke the given method on this element using the given arguments as arguments to the method.
- callFunction(String, Object...) - Method in class com.vaadin.testbench.TestBenchElement
- camelCaseToDashSeparated(String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Converts a camelCase string into dash ("-") separated.
- camelCaseToHumanFriendly(String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Converts a camelCaseString to a human friendly format (Camel case string).
- CanCompareScreenshots - Interface in com.vaadin.testbench.commands
- capitalize(String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Capitalizes the first character in the given string in a way suitable for use in code (methods, properties etc)
- chrome() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Chrome
- CHROME - com.vaadin.testbench.parallel.Browser
- clear() - Method in interface com.vaadin.testbench.HasStringValueProperty
- clear() - Method in class com.vaadin.testbench.TestBenchElement
- click() - Method in class com.vaadin.testbench.TestBenchElement
- click(int, int, Keys...) - Method in class com.vaadin.testbench.TestBenchElement
- cloneImage(BufferedImage) - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Clones the given BufferedImage
- close() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- com.vaadin.testbench - package com.vaadin.testbench
- com.vaadin.testbench.annotations - package com.vaadin.testbench.annotations
- com.vaadin.testbench.commands - package com.vaadin.testbench.commands
- com.vaadin.testbench.elementsbase - package com.vaadin.testbench.elementsbase
- com.vaadin.testbench.internal - package com.vaadin.testbench.internal
- com.vaadin.testbench.parallel - package com.vaadin.testbench.parallel
- com.vaadin.testbench.parallel.setup - package com.vaadin.testbench.parallel.setup
- com.vaadin.testbench.screenshot - package com.vaadin.testbench.screenshot
- compareImages(BufferedImage, BufferedImage, double) - Method in class com.vaadin.testbench.screenshot.ImageComparison
- compareScreen(BufferedImage, String) - Method in interface com.vaadin.testbench.commands.CanCompareScreenshots
-
Tests that a screen shot is equal to the specified reference image.
- compareScreen(BufferedImage, String) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- compareScreen(BufferedImage, String) - Method in class com.vaadin.testbench.TestBenchElement
- compareScreen(BufferedImage, String, ImageComparison, TakesScreenshot, HasCapabilities) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
- compareScreen(File) - Method in interface com.vaadin.testbench.commands.CanCompareScreenshots
-
Tests that a screen shot is equal to the specified reference image.
- compareScreen(File) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- compareScreen(File) - Method in class com.vaadin.testbench.TestBenchElement
- compareScreen(File, ImageComparison, TakesScreenshot, HasCapabilities) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
- compareScreen(String) - Method in interface com.vaadin.testbench.commands.CanCompareScreenshots
-
Tests that a screen shot is equal to the specified reference image.
- compareScreen(String) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- compareScreen(String) - Method in class com.vaadin.testbench.TestBenchElement
- compareScreen(String, ReferenceNameGenerator, ImageComparison, TakesScreenshot, HasCapabilities) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
- computeTestMethods() - Method in class com.vaadin.testbench.parallel.ParallelRunner
- concatUrl(String, String) - Method in class com.vaadin.testbench.TestBenchTestCase
-
Combines a base URL with an URI to create a final URL.
- contains() - Method in annotation type com.vaadin.testbench.annotations.Attribute
-
The value to find within the attribute value.
- context(SearchContext) - Method in class com.vaadin.testbench.ElementQuery
-
Sets the context to search inside.
- contextClick() - Method in class com.vaadin.testbench.TestBenchElement
- create(Browser) - Method in class com.vaadin.testbench.parallel.DefaultBrowserFactory
- create(Browser) - Method in interface com.vaadin.testbench.parallel.TestBenchBrowserFactory
- create(Browser, String) - Method in class com.vaadin.testbench.parallel.DefaultBrowserFactory
- create(Browser, String) - Method in interface com.vaadin.testbench.parallel.TestBenchBrowserFactory
- create(Browser, String, Platform) - Method in class com.vaadin.testbench.parallel.DefaultBrowserFactory
- create(Browser, String, Platform) - Method in interface com.vaadin.testbench.parallel.TestBenchBrowserFactory
- createDriver() - Static method in class com.vaadin.testbench.parallel.setup.LocalDriver
-
Creates a
WebDriverinstance used for running the test locally for debug purposes. - createDriver(String, DesiredCapabilities) - Method in class com.vaadin.testbench.parallel.setup.RemoteDriver
-
Creates a
WebDriverinstance used for running the test remotely. - createDriver(DesiredCapabilities) - Static method in class com.vaadin.testbench.parallel.setup.LocalDriver
-
Creates a
WebDriverinstance used for running the test locally for debug purposes. - createDriver(WebDriver) - Static method in class com.vaadin.testbench.TestBench
- createDriver(WebDriver, TestBenchCommandExecutor) - Static method in class com.vaadin.testbench.TestBench
- createElement(Class<T>, WebElement, TestBenchCommandExecutor) - Static method in class com.vaadin.testbench.TestBench
-
Create new Element of given type.
- createElement(WebElement, TestBenchCommandExecutor) - Static method in class com.vaadin.testbench.TestBench
- createErrorImageAndHTML(String, BufferedImage) - Method in class com.vaadin.testbench.screenshot.ScreenShotFailureReporter
- createSampleBuffer() - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Create a 16x16 sample buffer with space for 4 color bands
- createScreenshotDirectoriesIfNeeded() - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
-
Creates all directories used to store screenshots unless they already exist.
- createScreenshotDirectoriesIfNeeded() - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
-
Creates all directories used to store screenshots unless they already exist.
- cropToBeSameSize(BufferedImage, BufferedImage) - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Resize images to be same size.
- cropToElement(WebElement, BufferedImage) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
-
Crops the image to show only the element.
- CyclicObjectWorkaround - Class in com.vaadin.testbench
-
Provides a workaround to avoid "cyclic object value" when returning an element list (webdrivers use JSON.stringify([element1, ..., elementN]) internally).
- CyclicObjectWorkaround() - Constructor for class com.vaadin.testbench.CyclicObjectWorkaround
D
- dashSeparatedToCamelCase(String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Converts a dash ("-") separated string into camelCase.
- DEFAULT_VALUE - Static variable in annotation type com.vaadin.testbench.annotations.Attribute
- DefaultBrowserFactory - Class in com.vaadin.testbench.parallel
- DefaultBrowserFactory() - Constructor for class com.vaadin.testbench.parallel.DefaultBrowserFactory
- disableWaitForVaadin() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- disableWaitForVaadin() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Disables implicit waiting for Vaadin to finish processing requests.
- dispatchEvent(String) - Method in class com.vaadin.testbench.TestBenchElement
-
Dispatches (fires) a custom event of the given type on the element.
- dispatchEvent(String, Map<String, Object>) - Method in class com.vaadin.testbench.TestBenchElement
-
Dispatches (fires) a custom event of the given type on the element with the given properties
- doubleClick() - Method in class com.vaadin.testbench.TestBenchElement
- driver - Variable in class com.vaadin.testbench.TestBenchTestCase
- DriverInvocationHandler - Class in com.vaadin.testbench
- DriverInvocationHandler(Object) - Constructor for class com.vaadin.testbench.DriverInvocationHandler
E
- edge() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Edge
- EDGE - com.vaadin.testbench.parallel.Browser
- Element - Annotation Type in com.vaadin.testbench.elementsbase
-
Defines the tag name of the element class.
- ElementQuery<T extends TestBenchElement> - Class in com.vaadin.testbench
-
Query class used for finding a given element inside a given search context.
- ElementQuery(Class<T>) - Constructor for class com.vaadin.testbench.ElementQuery
-
Instantiate a new ElementQuery to look for the given type of element.
- ElementQuery(Class<T>, String) - Constructor for class com.vaadin.testbench.ElementQuery
-
Instantiate a new ElementQuery to look for the given type of element.
- ElementQuery.AttributeMatch - Class in com.vaadin.testbench
- enableWaitForVaadin() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- enableWaitForVaadin() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Enables implicit waiting for Vaadin to finish processing requests.
- encodeImageToBase64(BufferedImage) - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Encodes target image to a Base64 string
- ensureLoaded() - Static method in class com.vaadin.testbench.TestBench
- equals(Object) - Method in class com.vaadin.testbench.ElementQuery.AttributeMatch
- equals(Object) - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
- equals(Object) - Method in class com.vaadin.testbench.TestBenchElement
- ErrorBlock - Class in com.vaadin.testbench.screenshot
-
Class for holding position and size of a error found during image comparison
- ErrorBlock() - Constructor for class com.vaadin.testbench.screenshot.ErrorBlock
- ErrorBlock(int, int, int, int) - Constructor for class com.vaadin.testbench.screenshot.ErrorBlock
- ExcludeFromSuite - Annotation Type in com.vaadin.testbench.parallel
-
Marker interface for a TestBench test class which will exclude the test from any test suite which automatically scans for test classes.
- executeAsyncScript(String, Object...) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- executeAsyncScript(String, Object...) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- executeScript(String, Object...) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- executeScript(String, Object...) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- executeScript(String, Object...) - Method in class com.vaadin.testbench.TestBenchElement
-
Executes the given JavaScript in the context of the currently selected frame or window.
- executeScript(String, Object...) - Method in class com.vaadin.testbench.TestBenchTestCase
-
Executes the given JavaScript in the context of the currently selected frame or window.
- exists() - Method in class com.vaadin.testbench.ElementQuery
-
Checks if this ElementQuery describes existing elements.
F
- failed(Throwable, Description) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
- findElement(By) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- findElement(By) - Method in class com.vaadin.testbench.TestBenchElement
- findElement(By) - Method in class com.vaadin.testbench.TestBenchTestCase
- findElements(By) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- findElements(By) - Method in class com.vaadin.testbench.TestBenchElement
- findElements(By) - Method in class com.vaadin.testbench.TestBenchTestCase
- findIPAddress(Function<InetAddress, Boolean>) - Static method in class com.vaadin.testbench.IPAddress
-
Enumerates the available IP addresses until one is found which is accepted by the given function.
- findSiteLocalAddress() - Static method in class com.vaadin.testbench.IPAddress
-
Tries to determine a site local (10.0.0.0, 172.16.0.0 or 192.168.0.0) IP address of the machine the test is running on.
- finished() - Method in class com.vaadin.testbench.parallel.ParallelScheduler
- finished(Description) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
- firefox() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Firefox
- FIREFOX - com.vaadin.testbench.parallel.Browser
- first() - Method in class com.vaadin.testbench.ElementQuery
-
Executes the search and returns the first result.
- firstToLower(String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Changes the first character in the given string to lower case in a way suitable for use in code (methods, properties etc).
- focus() - Method in class com.vaadin.testbench.TestBenchElement
-
Move browser focus to this Element
- focusElement(TestBenchElement) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
G
- generateImageHash(BufferedImage) - Static method in class com.vaadin.testbench.screenshot.ImageComparisonUtil
-
Generates blocks representing an image by dividing the image up in 16x16 pixel blocks and calculating a mean value of the color in each block.
- generateName(String, Capabilities) - Method in class com.vaadin.testbench.screenshot.ReferenceNameGenerator
-
Generates the actual name of a reference screen shot from a reference ID and browser information.
- get(int) - Method in class com.vaadin.testbench.ElementQuery
-
Executes the search and returns the requested element.
- get(String) - Static method in class com.vaadin.testbench.CyclicObjectWorkaround
-
Produces Javascript which modifies a given object (list) so that it can be returned to the test.
- get(String) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getAttribute(String) - Method in class com.vaadin.testbench.TestBenchElement
- getBlock(ImageUtil.ImageProperties, int, int, int[], int[]) - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Returns the 16x16 RGB block starting at (x,y) from the given image
- getBrowserFactory() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the BrowserFactory used to generate new DesiredCapabilities
- getBrowserIdentifier(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Returns a human readable identifier of the given browser.
- getCapabilities() - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
- getCapabilities() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getCapabilities() - Method in class com.vaadin.testbench.TestBenchElement
-
Returns information about current browser used
- getClassNames() - Method in class com.vaadin.testbench.TestBenchElement
-
Gets all the class names set for this element.
- getCommandExecutor() - Method in interface com.vaadin.testbench.HasTestBenchCommandExecutor
-
Return a reference to the related
TestBenchCommandExecutorinstance. - getCommandExecutor() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getCommandExecutor() - Method in class com.vaadin.testbench.TestBenchElement
- getCommandExecutor() - Method in class com.vaadin.testbench.TestBenchTestCase
- getContext() - Method in class com.vaadin.testbench.ElementQuery
-
Returns the context (element or driver) to search inside.
- getContext() - Method in interface com.vaadin.testbench.HasSearchContext
-
Get a reference or a new instance of the SearchContext applicable to this class
- getContext() - Method in class com.vaadin.testbench.TestBenchElement
-
Returns this TestBenchElement cast to a SearchContext.
- getContext() - Method in class com.vaadin.testbench.TestBenchTestCase
- getCssValue(String) - Method in class com.vaadin.testbench.TestBenchElement
- getCurrentUrl() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getDefaultCapabilities() - Static method in class com.vaadin.testbench.parallel.ParallelTest
- getDesiredCapabilities() - Method in enum com.vaadin.testbench.parallel.Browser
- getDesiredCapabilities() - Method in class com.vaadin.testbench.parallel.ParallelTest
-
Gets the
DesiredCapabilities(usually browser name and version) - getDesiredCapabilities() - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Used to determine which capabilities should be used when setting up a
WebDriverfor this test. - getDriver() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
Return a reference to the
WebDriverinstance associated with thisTestBenchCommandExecutor - getDriver() - Method in interface com.vaadin.testbench.HasDriver
-
Return the
WebDriverinstance associated with the implementing class instance. - getDriver() - Method in class com.vaadin.testbench.TestBenchElement
- getDriver() - Method in class com.vaadin.testbench.TestBenchTestCase
-
Returns the
WebDriverinstance previously specified byTestBenchTestCase.setDriver(org.openqa.selenium.WebDriver), or (if the previously provided WebDriver instance was not already aTestBenchDriverProxyinstance) aTestBenchDriverProxythat wraps that driver. - getErrorScreenshotFile(String) - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
- getErrorScreenshotFile(String) - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
- getErrorScreenshotFile(Description) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
- getExpression() - Method in class com.vaadin.testbench.ElementQuery.AttributeMatch
- getGridBrowsers() - Static method in class com.vaadin.testbench.Parameters
-
Parses the grid browsers string and returns a new List of DesiredCapabilities
- getGridBrowsersString() - Static method in class com.vaadin.testbench.Parameters
- getHash() - Method in class com.vaadin.testbench.screenshot.ReferenceImageRepresentation.HashRepresentation
- getHelperComponent() - Method in interface com.vaadin.testbench.HasHelper
-
Gets the slotted helper component for the element.
- getHelperText() - Method in interface com.vaadin.testbench.HasHelper
-
Gets the helper text for the element.
- getHubHostname() - Method in class com.vaadin.testbench.parallel.ParallelTest
-
Returns the hostname of the hub where test is to be run on.
- getHubHostname() - Static method in class com.vaadin.testbench.Parameters
-
Gets host name of the hub to run tests on.
- getHubUrl() - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Returns the HubUrl for running tests in Sauce Labs.
- getHubURL() - Method in class com.vaadin.testbench.parallel.ParallelTest
-
Returns the complete URL of the hub where the tests will be run on.
- getImageComparison() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
Gets the image comparison implementation used for screenshots.
- getImageProperties(BufferedImage) - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Extract magical image properties used by the getBlock function.
- getLabel() - Method in interface com.vaadin.testbench.HasLabel
-
Gets the label for the element.
- getLocation() - Method in class com.vaadin.testbench.TestBenchElement
- getLuminance(int) - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Get luminance value for the given rgb value.
- getMajorVersion(Capabilities) - Static method in class com.vaadin.testbench.screenshot.ReferenceNameGenerator
-
Finds the major version by parsing the browser version string.
- getMaxAttempts() - Static method in class com.vaadin.testbench.Parameters
-
Gets the maximum number of times to run the test in case of a random failure.
- getMaxAttempts() - Method in class com.vaadin.testbench.RetryRule
-
Gets the maximum number of times to run the test.
- getMaxScreenshotRetries() - Static method in class com.vaadin.testbench.Parameters
- getName() - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
- getNrBlocks(int) - Static method in class com.vaadin.testbench.screenshot.ImageComparisonUtil
-
Returns the number of blocks used for the given number of pixels.
- getPageSource() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getPlaceholder() - Method in interface com.vaadin.testbench.HasPlaceholder
-
Gets the placeholder for the element.
- getPlatform(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Returns a human readable identifier of the platform described by the given capabilities.
- getProperty(String...) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Gets a JavaScript property of the given element.
- getProperty(String...) - Method in class com.vaadin.testbench.TestBenchElement
- getPropertyBoolean(String...) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Gets a JavaScript property of the given element as a boolean.
- getPropertyBoolean(String...) - Method in class com.vaadin.testbench.TestBenchElement
- getPropertyDouble(String...) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Gets a JavaScript property of the given element as a double.
- getPropertyDouble(String...) - Method in class com.vaadin.testbench.TestBenchElement
- getPropertyElement(String...) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Gets a JavaScript property of the given element as a DOM element.
- getPropertyElement(String...) - Method in class com.vaadin.testbench.TestBenchElement
- getPropertyElements(String...) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Gets a JavaScript property of the given element as a list of DOM elements.
- getPropertyElements(String...) - Method in class com.vaadin.testbench.TestBenchElement
- getPropertyInteger(String...) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Gets a JavaScript property of the given element as an integer.
- getPropertyInteger(String...) - Method in class com.vaadin.testbench.TestBenchElement
- getPropertyString(String...) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Gets a JavaScript property of the given element as a string.
- getPropertyString(String...) - Method in class com.vaadin.testbench.TestBenchElement
- getReadTimeout() - Static method in class com.vaadin.testbench.Parameters
-
Gets the time to wait for a response to a command sent to a remote web driver.
- getRect() - Method in class com.vaadin.testbench.TestBenchElement
- getReferenceImageFileNames(String, Capabilities) - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
-
Returns the relative file names of reference images.
- getReferenceImageFileNames(String, Capabilities) - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
-
Returns the relative file names of reference images.
- getReferenceNameGenerator() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
Gets the name generator used for screenshot references.
- getReferenceScreenshotFile(String) - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
- getReferenceScreenshotFile(String) - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
- getRemoteControlName() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- getRemoteControlName() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Finds the canonical host name of the remotely executing node where the test is being run.
- getRepresentations() - Method in class com.vaadin.testbench.screenshot.ReferenceImageRepresentation
- getRunLocallyBrowser() - Method in class com.vaadin.testbench.parallel.ParallelTest
- getRunLocallyBrowserName() - Static method in class com.vaadin.testbench.Parameters
-
Gets the name of the browser to use for a local test.
- getRunLocallyBrowserVersion() - Method in class com.vaadin.testbench.parallel.ParallelTest
- getRunLocallyBrowserVersion() - Static method in class com.vaadin.testbench.Parameters
-
Gets the version of the browser to use for a local test.
- getRunOnHub(Class<?>) - Method in class com.vaadin.testbench.parallel.ParallelTest
- getSauceAccessKey() - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Gets the configured Saucelabs access key.
- getSauceLabsOption(DesiredCapabilities, String) - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Gets the given SauceLabs option.
- getSauceTunnelIdentifier() - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Gets the configured Saucelabs tunnel identifier.
- getSauceUser() - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Gets the configured Saucelabs user name.
- getScreenshotAs(OutputType<X>) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getScreenshotAs(OutputType<X>) - Method in class com.vaadin.testbench.TestBenchElement
- getScreenshotComparisonTolerance() - Static method in class com.vaadin.testbench.Parameters
- getScreenshotErrorDirectory() - Static method in class com.vaadin.testbench.Parameters
- getScreenshotErrorDirectory() - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
-
Returns the directory used for screenshot error images.
- getScreenshotErrorDirectory() - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
-
Returns the directory used for screenshot error images.
- getScreenshotReferenceDirectory() - Static method in class com.vaadin.testbench.Parameters
- getScreenshotReferenceDirectory() - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
-
Returns the directory used for screenshot references.
- getScreenshotReferenceDirectory() - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
-
Returns the directory used for screenshot references.
- getScreenshotRetryDelay() - Static method in class com.vaadin.testbench.Parameters
- getSelectedText() - Method in interface com.vaadin.testbench.HasSelectByText
-
Gets the text of the currently selected option.
- getSize() - Method in class com.vaadin.testbench.TestBenchElement
- getTagName() - Method in class com.vaadin.testbench.TestBenchElement
- getTestsInParallel() - Static method in class com.vaadin.testbench.Parameters
- getTestSuitesInParallel() - Static method in class com.vaadin.testbench.Parameters
- getText() - Method in class com.vaadin.testbench.TestBenchElement
- getTitle() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getValue() - Method in interface com.vaadin.testbench.HasStringValueProperty
- getWindowHandle() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getWindowHandles() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getWrappedDriver() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getWrappedElement() - Method in class com.vaadin.testbench.TestBenchElement
- getX() - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- getXBlocks() - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- getY() - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- getYBlocks() - Method in class com.vaadin.testbench.screenshot.ErrorBlock
H
- hasAttribute(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the given attribute to be set.
- hasAttribute(String) - Method in class com.vaadin.testbench.TestBenchElement
-
Checks if the given attribute is present on the element.
- HasCallFunction - Interface in com.vaadin.testbench
- hasClassName(String) - Method in class com.vaadin.testbench.TestBenchElement
-
Checks if this element has the given class name.
- HasDriver - Interface in com.vaadin.testbench
-
An interface for classes that can provide an instance of a
WebDriver - HasElementQuery - Interface in com.vaadin.testbench
- hashCode() - Method in class com.vaadin.testbench.ElementQuery.AttributeMatch
- hashCode() - Method in class com.vaadin.testbench.TestBenchElement
- HasHelper - Interface in com.vaadin.testbench
-
Implement by elements which support a label, i.e.
- HashRepresentation(String) - Constructor for class com.vaadin.testbench.screenshot.ReferenceImageRepresentation.HashRepresentation
- HasLabel - Interface in com.vaadin.testbench
-
Implement by elements which support a label, i.e.
- HasPlaceholder - Interface in com.vaadin.testbench
-
Implement by elements which support a placeholder, i.e.
- HasPropertySettersGetters - Interface in com.vaadin.testbench
- HasSearchContext - Interface in com.vaadin.testbench
-
Interface for classes providing a
SearchContext, i.e. - HasSelectByText - Interface in com.vaadin.testbench
-
Implemented by elements which support selecting an option by matching the text shown to the user.
- HasStringValueProperty - Interface in com.vaadin.testbench
- HasTestBenchCommandExecutor - Interface in com.vaadin.testbench
-
Interface for classes that have access to a
TestBenchCommandExecutorinstance.
I
- id(String) - Method in class com.vaadin.testbench.ElementQuery
-
Executes a search for element with the given id.
- ImageComparison - Class in com.vaadin.testbench.screenshot
-
Class with features for comparing 2 images.
- ImageComparison() - Constructor for class com.vaadin.testbench.screenshot.ImageComparison
- ImageComparisonUtil - Class in com.vaadin.testbench.screenshot
- ImageComparisonUtil() - Constructor for class com.vaadin.testbench.screenshot.ImageComparisonUtil
- imageEqualToReference(BufferedImage, BufferedImage, String, double) - Method in class com.vaadin.testbench.screenshot.ImageComparison
- imageEqualToReference(BufferedImage, String, double, Capabilities) - Method in class com.vaadin.testbench.screenshot.ImageComparison
-
Compare image [name] to image under /reference/.
- ImageFileUtil - Class in com.vaadin.testbench.screenshot
- ImageFileUtil() - Constructor for class com.vaadin.testbench.screenshot.ImageFileUtil
- ImageFileUtil.ImageFileUtilImpl - Class in com.vaadin.testbench.screenshot
- ImageFileUtilImpl() - Constructor for class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
- ImageProperties() - Constructor for class com.vaadin.testbench.screenshot.ImageUtil.ImageProperties
- imagesSameSize(BufferedImage, BufferedImage) - Static method in class com.vaadin.testbench.screenshot.ImageUtil
-
Check canvas sizes and resize images to same size
- ImageUtil - Class in com.vaadin.testbench.screenshot
-
These image utility functions are for internal use only.
- ImageUtil() - Constructor for class com.vaadin.testbench.screenshot.ImageUtil
- ImageUtil.ImageProperties - Class in com.vaadin.testbench.screenshot
-
Contains ImageUtil-internal information about an image.
- init() - Method in class com.vaadin.testbench.TestBenchElement
-
This is run after initializing a TestBenchElement.
- init(WebElement, TestBenchCommandExecutor) - Method in class com.vaadin.testbench.TestBenchElement
-
TestBenchElement initialization function.
- invoke(Object, Method, Method, Object[]) - Method in class com.vaadin.testbench.DriverInvocationHandler
- invokeExplosively(Object, Object...) - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
- IPAddress - Class in com.vaadin.testbench
- IPAddress() - Constructor for class com.vaadin.testbench.IPAddress
- isAutoScrollIntoView() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
Whether or not the elements should be scrolled into the visible area of the browser window before interacting with them
- isAutoScrollIntoView() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Whether or not the elements should be scrolled into the visible area of the browser window before interacting with them
- isChrome() - Method in class com.vaadin.testbench.TestBenchElement
-
Checks if the current test is running on Chrome.
- isChrome(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
- isConfiguredForSauceLabs() - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Checks if parameters needed to run in Saucelabs have been set.
- isDebug() - Static method in class com.vaadin.testbench.Parameters
- isDisplayed() - Method in class com.vaadin.testbench.TestBenchElement
- isEdge(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
- isEnabled() - Method in class com.vaadin.testbench.TestBenchElement
-
Returns whether the Vaadin component, that this element represents, is enabled or not.
- isFirefox() - Method in class com.vaadin.testbench.TestBenchElement
-
Checks if the current test is running on Firefox.
- isFirefox(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
- isHeadless() - Static method in class com.vaadin.testbench.Parameters
-
Checks if requested to run browsers in headless mode when runnning on a local machine using a browser supporting it (currently Chrome and Firefox).
- isLocalWebDriverUsed() - Static method in class com.vaadin.testbench.Parameters
- isSafari(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
- isScreenshotComparisonCursorDetection() - Static method in class com.vaadin.testbench.Parameters
-
Tells whether to treat screen shots with the only difference being a text input cursor as equal or not.
- isSelected() - Method in class com.vaadin.testbench.TestBenchElement
J
- join(String[], String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Joins the words in the input array together into a single string by inserting the separator string between each word.
L
- last() - Method in class com.vaadin.testbench.ElementQuery
-
Executes the search and returns the last result.
- LocalDriver - Class in com.vaadin.testbench.parallel.setup
- LocalDriver() - Constructor for class com.vaadin.testbench.parallel.setup.LocalDriver
M
- manage() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- maxAttempts - Variable in class com.vaadin.testbench.TestBenchTestCase
-
Specifies retry count, which is used to run same test several times.
N
- name() - Method in annotation type com.vaadin.testbench.annotations.Attribute
-
The name of the attribute to check.
- NAME - Static variable in interface com.vaadin.testbench.parallel.SauceLabsIntegration.CapabilityType
- navigate() - Method in class com.vaadin.testbench.TestBenchDriverProxy
O
- onPage() - Method in class com.vaadin.testbench.ElementQuery
-
Defines that the query should start the search from the root of the page, in practice from the
<body>tag.
P
- ParallelRunner - Class in com.vaadin.testbench.parallel
-
This runner is loosely based on FactoryTestRunner by Ted Young (http://tedyoung.me/2011/01/23/junit-runtime-tests-custom-runners/).
- ParallelRunner(Class<?>) - Constructor for class com.vaadin.testbench.parallel.ParallelRunner
- ParallelRunner.TBMethod - Class in com.vaadin.testbench.parallel
- ParallelScheduler - Class in com.vaadin.testbench.parallel
-
JUnit scheduler capable of running multiple tets in parallel.
- ParallelScheduler(ExecutorService) - Constructor for class com.vaadin.testbench.parallel.ParallelScheduler
-
Creates a parallel scheduler which will use the given executor service when submitting test jobs.
- ParallelTest - Class in com.vaadin.testbench.parallel
-
Unit tests should extend
ParallelTestif they are to be run in several browser configurations. - ParallelTest() - Constructor for class com.vaadin.testbench.parallel.ParallelTest
- ParallelTestSuite - Class in com.vaadin.testbench.parallel
-
Test suite which consists of all the TestBench tests passed in the constructor.
- ParallelTestSuite(Class<?>, Class<?>[]) - Constructor for class com.vaadin.testbench.parallel.ParallelTestSuite
- ParallelTestSuite(Class<?>, Class<? extends ParallelTest>, String, String[]) - Constructor for class com.vaadin.testbench.parallel.ParallelTestSuite
- Parameters - Class in com.vaadin.testbench
- Parameters() - Constructor for class com.vaadin.testbench.Parameters
- property() - Method in annotation type com.vaadin.testbench.parallel.TestNameSuffix
- propertyIdToHumanFriendly(Object) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Converts a property id to a human friendly format.
Q
- quit() - Method in class com.vaadin.testbench.TestBenchDriverProxy
R
- readReferenceImage(String) - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
-
Reads the given reference image into a BufferedImage
- readReferenceImage(String) - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
-
Reads the given reference image into a BufferedImage
- ReferenceImageRepresentation - Class in com.vaadin.testbench.screenshot
-
ReferenceImageRepresentation contains a block representation of a reference image.
- ReferenceImageRepresentation() - Constructor for class com.vaadin.testbench.screenshot.ReferenceImageRepresentation
- ReferenceImageRepresentation.HashRepresentation - Class in com.vaadin.testbench.screenshot
- ReferenceNameGenerator - Class in com.vaadin.testbench.screenshot
-
Generates the name of a reference screen shot from a string ID and browser information.
- ReferenceNameGenerator() - Constructor for class com.vaadin.testbench.screenshot.ReferenceNameGenerator
- RemoteDriver - Class in com.vaadin.testbench.parallel.setup
- RemoteDriver() - Constructor for class com.vaadin.testbench.parallel.setup.RemoteDriver
- resizeViewPortTo(int, int) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- resizeViewPortTo(int, int) - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Tries to resize the browsers window so that the space available for actual web content (aka viewport) is of given size.
- RetryRule - Class in com.vaadin.testbench
-
A retry rule is used to re-run a test several times in case of a random failure.
- RetryRule(int) - Constructor for class com.vaadin.testbench.RetryRule
-
Constructs the retry rule with a maximum number of attempts.
- RunLocally - Annotation Type in com.vaadin.testbench.annotations
-
Marks this testcase to run locally.
Can receive a parameter to define which browser and version to run the test on. - RunOnHub - Annotation Type in com.vaadin.testbench.annotations
-
Test classes annotated with RunOnHub will be run on the hub whose host is defined by its value.
S
- safari() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Safari
- SAFARI - com.vaadin.testbench.parallel.Browser
- SauceLabsIntegration - Class in com.vaadin.testbench.parallel
-
Integration methods for Sauce Labs testing used by
ParallelTest - SauceLabsIntegration() - Constructor for class com.vaadin.testbench.parallel.SauceLabsIntegration
- SauceLabsIntegration.CapabilityType - Interface in com.vaadin.testbench.parallel
-
Sauce Labs specific remote webdriver capabilities
- schedule(Runnable) - Method in class com.vaadin.testbench.parallel.ParallelScheduler
- ScreenshotComparator - Class in com.vaadin.testbench.commands
- ScreenshotComparator() - Constructor for class com.vaadin.testbench.commands.ScreenshotComparator
- ScreenShotFailureReporter - Class in com.vaadin.testbench.screenshot
- ScreenShotFailureReporter(BufferedImage, boolean[][]) - Constructor for class com.vaadin.testbench.screenshot.ScreenShotFailureReporter
- screenshotOnFailure - Variable in class com.vaadin.testbench.parallel.ParallelTest
- ScreenshotOnFailureRule - Class in com.vaadin.testbench
-
This JUnit
Rulegrabs a screenshot when a test fails. - ScreenshotOnFailureRule(HasDriver) - Constructor for class com.vaadin.testbench.ScreenshotOnFailureRule
-
Creates a new ScreenshotOnFailureRule in the provided test case.
- ScreenshotOnFailureRule(HasDriver, boolean) - Constructor for class com.vaadin.testbench.ScreenshotOnFailureRule
-
Creates a new ScreenshotOnFailureRule in the provided test case.
- scroll(int) - Method in class com.vaadin.testbench.TestBenchElement
-
Sets the number of pixels that an element's content is scrolled from the top.
- scrollIntoView() - Method in class com.vaadin.testbench.TestBenchElement
-
Scrolls the element into the visible area of the browser window
- scrollLeft(int) - Method in class com.vaadin.testbench.TestBenchElement
-
Sets the number of pixels that an element's content is scrolled to the left.
- selectByText(String) - Method in interface com.vaadin.testbench.HasSelectByText
-
Selects the first option matching the given text.
- sendKeys(CharSequence...) - Method in class com.vaadin.testbench.TestBenchElement
- setAutoScrollIntoView(boolean) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
Sets if the elements should be scrolled into the visible area of the browser window before interacting with them
- setAutoScrollIntoView(boolean) - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Sets if the elements should be scrolled into the visible area of the browser window before interacting with them
- setDebug(boolean) - Static method in class com.vaadin.testbench.Parameters
-
Turns debugging info on/off
- setDesiredCapabilities(DesiredCapabilities) - Method in class com.vaadin.testbench.parallel.ParallelTest
-
Sets the requested
DesiredCapabilities(usually browser name and version) - setDesiredCapabilities(DesiredCapabilities) - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Sets needed desired capabilities for authentication and using the correct sauce tunnel (if in use).
- setDesiredCapabilities(DesiredCapabilities) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets the requested browser capabilities (typically browser name and version)
- setDriver(TestBenchDriverProxy) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- setDriver(WebDriver) - Method in class com.vaadin.testbench.TestBenchTestCase
-
Sets the active
WebDriverthat is used by this this case - setGridBrowsers(String) - Static method in class com.vaadin.testbench.Parameters
-
Sets the default browsers used in test grid if not overridden in a ParallelTest
- setHash(String) - Method in class com.vaadin.testbench.screenshot.ReferenceImageRepresentation.HashRepresentation
- setHeadless(boolean) - Static method in class com.vaadin.testbench.Parameters
-
Sets whether to run browsers in headless mode when runnning on a local machine using a browser supporting it (currently Chrome and Firefox).
- setMaxAttempts(int) - Static method in class com.vaadin.testbench.Parameters
-
Sets the maximum number of times to run the test in case of a random failure
- setMaxScreenshotRetries(int) - Static method in class com.vaadin.testbench.Parameters
-
Sets the maximum allowed retries when comparing screen shots.
- setProperty(String, Boolean) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Sets a JavaScript property of the given element.
- setProperty(String, Boolean) - Method in class com.vaadin.testbench.TestBenchElement
- setProperty(String, Double) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Sets a JavaScript property of the given element.
- setProperty(String, Double) - Method in class com.vaadin.testbench.TestBenchElement
- setProperty(String, Integer) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Sets a JavaScript property of the given element.
- setProperty(String, Integer) - Method in class com.vaadin.testbench.TestBenchElement
- setProperty(String, String) - Method in interface com.vaadin.testbench.HasPropertySettersGetters
-
Sets a JavaScript property of the given element.
- setProperty(String, String) - Method in class com.vaadin.testbench.TestBenchElement
- setQuitDriverOnFinish(boolean) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
-
Tells the rule whether to quit the driver when the test has finished executing or to allow the user to specify this.
- setReadTimeout(int) - Static method in class com.vaadin.testbench.Parameters
-
Sets the time to wait for a response to a command sent to a remote web driver.
- setSauceLabsOption(DesiredCapabilities, String, Object) - Static method in class com.vaadin.testbench.parallel.SauceLabsIntegration
-
Sets the given SauceLabs option to the given value.
- setScreenshotComparisonCursorDetection(boolean) - Static method in class com.vaadin.testbench.Parameters
-
Turns cursor detection on/off when comparing screen shots.
- setScreenshotComparisonTolerance(double) - Static method in class com.vaadin.testbench.Parameters
-
Sets the error tolerance for screen shot comparisons.
- setScreenshotErrorDirectory(String) - Static method in class com.vaadin.testbench.Parameters
-
Sets the directory where error screen shots are stored.
- setScreenshotReferenceDirectory(String) - Static method in class com.vaadin.testbench.Parameters
-
Sets the directory to search for reference images.
- setScreenshotRetryDelay(int) - Static method in class com.vaadin.testbench.Parameters
-
Sets the delay between screen shot comparison retries.
- setTestNameSuffix(String) - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
- setTestsInParallel(int) - Static method in class com.vaadin.testbench.Parameters
-
Sets the maximum number of tests to run in parallel.
- setTestSuitesInParallel(int) - Static method in class com.vaadin.testbench.Parameters
-
Sets the maximum number of test suites to run in parallel.
- setup() - Method in class com.vaadin.testbench.parallel.ParallelTest
-
Sets the driver for this test instance.
- SetupDriver - Class in com.vaadin.testbench.parallel.setup
- SetupDriver() - Constructor for class com.vaadin.testbench.parallel.setup.SetupDriver
- setupLocalDriver() - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a
WebDriverto run test. - setupLocalDriver(Browser) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a
WebDriverto run test. - setupLocalDriver(Browser, String) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a
WebDriverto run test. - setupRemoteDriver(RemoteDriver, String) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a
WebDriverto run test on hubURL. - setupRemoteDriver(String) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a
WebDriverto run test on hubURL. - setValue(String) - Method in interface com.vaadin.testbench.HasStringValueProperty
- setX(int) - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- setXBlocks(int) - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- setY(int) - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- setYBlocks(int) - Method in class com.vaadin.testbench.screenshot.ErrorBlock
- SharedUtil - Class in com.vaadin.testbench.internal
-
Copied from Flow to avoid a dependency.
- SharedUtil() - Constructor for class com.vaadin.testbench.internal.SharedUtil
- SIMPLE_CLASS_NAME - Static variable in annotation type com.vaadin.testbench.annotations.Attribute
-
Replaced by the simple class name of the element class, with any
ElementorPageObjectsuffix removed, and converted to dash-separated-format when used with eitherAttribute.contains()orAttribute.value(), - splitCamelCase(String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Splits a camelCaseString into an array of words with the casing preserved.
- submit() - Method in class com.vaadin.testbench.TestBenchElement
- switchTo() - Method in class com.vaadin.testbench.TestBenchDriverProxy
T
- TBMethod(Method, DesiredCapabilities) - Constructor for class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
- testBench() - Method in class com.vaadin.testbench.TestBenchTestCase
-
Convenience method the return
TestBenchCommandsfor the defaultWebDriverinstance. - TestBench - Class in com.vaadin.testbench
- TestBench() - Constructor for class com.vaadin.testbench.TestBench
- TestBenchBrowserFactory - Interface in com.vaadin.testbench.parallel
-
Interface used to create
DesiredCapabilitiesconfigurations suitable for test cases. - TestBenchCommandExecutor - Class in com.vaadin.testbench.commands
-
Provides actual implementation of TestBenchCommands
- TestBenchCommandExecutor(ImageComparison, ReferenceNameGenerator) - Constructor for class com.vaadin.testbench.commands.TestBenchCommandExecutor
- TestBenchCommands - Interface in com.vaadin.testbench.commands
- TestBenchDriverProxy - Class in com.vaadin.testbench
- TestBenchDriverProxy(WebDriver, TestBenchCommandExecutor) - Constructor for class com.vaadin.testbench.TestBenchDriverProxy
- TestBenchElement - Class in com.vaadin.testbench
-
TestBenchElement is a WebElement wrapper.
- TestBenchElement() - Constructor for class com.vaadin.testbench.TestBenchElement
- TestBenchElement(WebElement, TestBenchCommandExecutor) - Constructor for class com.vaadin.testbench.TestBenchElement
- TestBenchTestCase - Class in com.vaadin.testbench
-
A superclass with some helpers to aid TestBench developers.
- TestBenchTestCase() - Constructor for class com.vaadin.testbench.TestBenchTestCase
- testbenchVersion - Static variable in class com.vaadin.testbench.TestBenchTestCase
- TestCategory - Annotation Type in com.vaadin.testbench.parallel
-
Sets the category of a test class.
Categories can be excluded from running tests, or explicitly included. - TestNameSuffix - Annotation Type in com.vaadin.testbench.parallel
-
Defines a system property to be used as part of the test name.
It may be useful to add information related to the system or the machine itself, such as the OS.
This will affect, for instance, the names of screenshots taken in case of test failure. - timeSpentRenderingLastRequest() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- timeSpentRenderingLastRequest() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
This method provides performance information of the client-side rendering for the last operation performed.
- timeSpentServicingLastRequest() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- timeSpentServicingLastRequest() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
This method provides performance information of the server-side processing for the last request.
- toString() - Method in class com.vaadin.testbench.ElementQuery.AttributeMatch
- totalTimeSpentRendering() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- totalTimeSpentRendering() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
This method provides performance information of the client-side rendering for the entire session.
- totalTimeSpentServicingRequests() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
- totalTimeSpentServicingRequests() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
This method provides performance information of the server-side processing for the entire session.
- trimTrailingSlashes(String) - Static method in class com.vaadin.testbench.internal.SharedUtil
-
Trims trailing slashes (if any) from a string.
V
- value() - Method in annotation type com.vaadin.testbench.annotations.Attribute.Container
-
Internally used to enable use of multiple
Attributeannotations. - value() - Method in annotation type com.vaadin.testbench.annotations.Attribute
-
The value to match with the attribute value.
- value() - Method in annotation type com.vaadin.testbench.annotations.BrowserFactory
- value() - Method in annotation type com.vaadin.testbench.annotations.RunLocally
- value() - Method in annotation type com.vaadin.testbench.annotations.RunOnHub
- value() - Method in annotation type com.vaadin.testbench.elementsbase.Element
-
The tag for the element.
- value() - Method in annotation type com.vaadin.testbench.parallel.TestCategory
- valueOf(String) - Static method in enum com.vaadin.testbench.parallel.Browser
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.vaadin.testbench.parallel.Browser
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in annotation type com.vaadin.testbench.annotations.RunLocally
W
- waitForFirst() - Method in class com.vaadin.testbench.ElementQuery
-
Executes the search and returns the first result once at least once result is available.
- waitForFirst(long) - Method in class com.vaadin.testbench.ElementQuery
-
Executes the search and returns the first result once at least once result is available.
- waitForVaadin() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
Block until Vaadin reports it has finished processing server messages.
- waitForVaadin() - Method in class com.vaadin.testbench.TestBenchElement
- waitUntil(ExpectedCondition<T>) - Method in class com.vaadin.testbench.TestBenchElement
-
Waits up to 10 seconds for the given condition to become neither null nor false.
- waitUntil(ExpectedCondition<T>) - Method in class com.vaadin.testbench.TestBenchTestCase
-
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.TestBenchElement
-
Waits the given number of seconds for the given condition to become neither null nor false.
- waitUntil(ExpectedCondition<T>, long) - Method in class com.vaadin.testbench.TestBenchTestCase
-
Waits the given number of seconds for the given condition to become neither null nor false.
- withBefores(FrameworkMethod, Object, Statement) - Method in class com.vaadin.testbench.parallel.ParallelRunner
- wrap(TestBenchElement, Class<T>) - Static method in class com.vaadin.testbench.TestBench
- wrap(Class<T>) - Method in class com.vaadin.testbench.TestBenchElement
- wrap(Class<T>, WebElement) - Method in class com.vaadin.testbench.TestBenchTestCase
-
Decorates the element with the specified Element type, making it possible to use component-specific API on elements found using standard Selenium API.
- wrapElement(WebElement, TestBenchCommandExecutor) - Static method in class com.vaadin.testbench.TestBenchElement
- wrapElementOrElements(Object, TestBenchCommandExecutor) - Static method in class com.vaadin.testbench.TestBenchDriverProxy
-
Wraps any
WebElementfound inside the object inside aTestBenchElement. - wrapElements(List<WebElement>, TestBenchCommandExecutor) - Static method in class com.vaadin.testbench.TestBenchElement
All Classes All Packages