Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
$
- $(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.
- attribute(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Deprecated.
- Attribute - Annotation Interface in com.vaadin.testbench.annotations
-
Additional qualifier to be used on element classes which do not use an unique tag name.
- Attribute.Container - Annotation Interface in com.vaadin.testbench.annotations
-
Internal annotation to enable use of multiple
Attributeannotations. - attributeContains(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Deprecated.
- AttributeMatch(String) - Constructor for class com.vaadin.testbench.ElementQuery.AttributeMatch
-
Instantiates an attribute exists expression having the supplied attribute name.
- AttributeMatch(String, ElementQuery.AttributeMatch.Comparison, String) - Constructor for class com.vaadin.testbench.ElementQuery.AttributeMatch
-
Instantiates an attribute matching expression having the supplied attribute name, comparison, and value to compare with the attribute's value.
- AttributeMatch(String, String) - Constructor for class com.vaadin.testbench.ElementQuery.AttributeMatch
-
Instantiates an attribute exact matching expression having the supplied attribute name and value to compare with the attribute's value.
- AttributeMatch(String, String, String) - Constructor for class com.vaadin.testbench.ElementQuery.AttributeMatch
-
Deprecated, for removal: This API element is subject to removal in a future version.
B
- BEGINS_WITH - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value begins with the given value.
- Browser - Enum Class in com.vaadin.testbench.parallel
-
Enumerates the most commonly used browsers.
- BrowserConfiguration - Annotation Interface 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 Interface 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 - Enum constant in enum class 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
- contains() - Element in annotation interface com.vaadin.testbench.annotations.Attribute
-
The value to find within the attribute value.
- CONTAINS - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value contains the given value.
- CONTAINS_PREFIX - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value begins with a space/hyphen-separated prefix that matches the given value.
- CONTAINS_WORD - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value contains a space-separated word that matches the given 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.
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 interface 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
- 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 - Enum constant in enum class com.vaadin.testbench.parallel.Browser
- Element - Annotation Interface 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
-
Class for holding name, comparison, and value for matching attributes.
- ElementQuery.AttributeMatch.Comparison - Enum Class in com.vaadin.testbench
-
Attribute matching comparisons.
- 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
- ENDS_WITH - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value ends with the given value.
- 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.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 Interface 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.
- exists() - Method in class com.vaadin.testbench.ElementQuery
-
Checks if this ElementQuery describes existing elements.
- EXISTS - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute exists (with or without a value).
- expressionFor(String, String) - Method in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Builds the correct CSS matching expression for the given attribute name and value for this comparison.
F
- findElement(By) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- findElement(By) - Method in class com.vaadin.testbench.TestBenchElement
- findElements(By) - Method in class com.vaadin.testbench.TestBenchDriverProxy
- findElements(By) - Method in class com.vaadin.testbench.TestBenchElement
- 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.
- firefox() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Firefox
- FIREFOX - Enum constant in enum class 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) - 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.TestBenchDriverProxy
- getCapabilities() - Method in class com.vaadin.testbench.TestBenchElement
-
Returns information about current browser used
- getChromeOptions() - Static method in class com.vaadin.testbench.Parameters
-
Get extra options passed to the Chrome driver.
- 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
- 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.
- getCssValue(String) - Method in class com.vaadin.testbench.TestBenchElement
- getCurrentUrl() - Method in class com.vaadin.testbench.TestBenchDriverProxy
- getDesiredCapabilities() - Method in enum class com.vaadin.testbench.parallel.Browser
- 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
- getErrorScreenshotFile(String) - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
- getErrorScreenshotFile(String) - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
- 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() - Static method in class com.vaadin.testbench.Parameters
-
Gets host name of the hub to run tests on.
- getHubPort() - Static method in class com.vaadin.testbench.Parameters
-
Gets the port 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.
- 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.
- getMaxScreenshotRetries() - Static method in class com.vaadin.testbench.Parameters
- getNrBlocks(int) - Static method in class com.vaadin.testbench.screenshot.ImageComparisonUtil
-
Returns the number of blocks used for the given number of pixels.
- getOperator() - Method in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Return the CSS selector operator for this comparison
- 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
- getRunLocallyBrowserName() - Static method in class com.vaadin.testbench.Parameters
-
Gets the name of the browser to use for a local test.
- getRunLocallyBrowserVersion() - Static method in class com.vaadin.testbench.Parameters
-
Gets the version of the browser to use for a local test.
- 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
-
Deprecated.
- 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.
- HasLabelAsText - Interface in com.vaadin.testbench
-
Implemented by elements which support a label via its text, such as buttons.
- 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 the search and returns an element having the given unique 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
- 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
- isNegated() - Method in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Return the if the operator is to be negated.
- 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
- MATCHES_EXACTLY - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value and given value match exactly.
N
- name() - Element in annotation interface 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
- NOT_BEGINS_WITH - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value does not begin with the given value.
- NOT_CONTAINS - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value does not contain the given value.
- NOT_CONTAINS_PREFIX - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value does not begin with a space/hyphen-separated prefix that matches the given value.
- NOT_CONTAINS_WORD - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value must not contain a space-separated word that is prefixed with the given value.
- NOT_ENDS_WITH - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value does not end with the given value.
- NOT_EXISTS - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute does not exist (with or without a value).
- NOT_MATCHES_EXACTLY - Enum constant in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Attribute value and given value do not match exactly.
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
- Parameters - Class in com.vaadin.testbench
- Parameters() - Constructor for class com.vaadin.testbench.Parameters
- property() - Element in annotation interface 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.
- RunLocally - Annotation Interface 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 Interface 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 - Enum constant in enum class com.vaadin.testbench.parallel.Browser
- SauceLabsIntegration - Class in com.vaadin.testbench.parallel
-
Integration methods for Sauce Labs testing.
- SauceLabsIntegration() - Constructor for class com.vaadin.testbench.parallel.SauceLabsIntegration
- SauceLabsIntegration.CapabilityType - Interface in com.vaadin.testbench.parallel
-
Sauce Labs specific remote webdriver capabilities
- 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
- 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
- setBrowserFactory(TestBenchBrowserFactory) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Sets new BrowserFactory to generate default DesiredCapabilities for each Browser.
Extend BrowserFactory and override its methods in order to add default version, platform or other capabilities. - setChromeOptions(String) - Static method in class com.vaadin.testbench.Parameters
-
Set extra options passed to the Chrome driver.
- setDebug(boolean) - Static method in class com.vaadin.testbench.Parameters
-
Turns debugging info on/off
- 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
- 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).
- setHubPort(int) - Static method in class com.vaadin.testbench.Parameters
-
Changes the port on which the selenium hub is reachable.
- 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
- 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.
- 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.
- 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 interface 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(), - single() - Method in class com.vaadin.testbench.ElementQuery
-
Executes the search and returns the sole result.
- 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
- 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
- testbenchVersion - Static variable in class com.vaadin.testbench.TestBenchVersion
- TestBenchVersion - Class in com.vaadin.testbench
- TestBenchVersion() - Constructor for class com.vaadin.testbench.TestBenchVersion
- TestCategory - Annotation Interface in com.vaadin.testbench.parallel
-
Sets the category of a test class.
Categories can be excluded from running tests, or explicitly included. - TestNameSuffix - Annotation Interface 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() - Element in annotation interface com.vaadin.testbench.annotations.Attribute.Container
-
Internally used to enable use of multiple
Attributeannotations. - value() - Element in annotation interface com.vaadin.testbench.annotations.Attribute
-
The value to match with the attribute value.
- value() - Element in annotation interface com.vaadin.testbench.annotations.BrowserFactory
- value() - Element in annotation interface com.vaadin.testbench.annotations.RunLocally
- value() - Element in annotation interface com.vaadin.testbench.annotations.RunOnHub
- value() - Element in annotation interface com.vaadin.testbench.elementsbase.Element
-
The tag for the element.
- value() - Element in annotation interface com.vaadin.testbench.parallel.TestCategory
- valueOf(String) - Static method in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.testbench.parallel.Browser
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.testbench.ElementQuery.AttributeMatch.Comparison
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.testbench.parallel.Browser
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Element in annotation interface 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>, long) - Method in class com.vaadin.testbench.TestBenchElement
-
Waits the given number of seconds for the given condition to become neither null nor false.
- withAttribute(String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements having the given attribute.
- withAttribute(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements with the given attribute having the given value.
- withAttribute(String, String, ElementQuery.AttributeMatch.Comparison) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements with the given attribute using the given comparison and value.
- withAttributeContaining(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements with the given attribute containing the given text.
- withAttributeContainingWord(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements with the given attribute containing the given word.
- withCaption(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's caption (i.e., label, placeholder, or text label) to exactly match the given caption value.
- withCaption(String, BiPredicate<String, String>) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's caption (i.e., label, placeholder, or text label) to satisfy the given comparison with the supplied text.
- withCaptionContaining(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's caption (i.e., label, placeholder, or text label) to partially match the given text value.
- withClassName(String...) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements having the given class names.
- withCondition(Predicate<T>) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element to satisfy the given condition.
- withId(String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements having the given id.
- withLabel(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's label to exactly match the given label value.
- withLabel(String, BiPredicate<String, String>) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's label to satisfy the given comparison with the supplied text.
- withLabelContaining(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's label to partially match the given text value.
- withoutAttribute(String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements not having the given attribute.
- withoutAttribute(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements not having the given attribute with the given value.
- withoutAttributeContaining(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements not having the given attribute containing the given text.
- withoutAttributeContainingWord(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements not having the given attribute containing the given word.
- withoutClassName(String...) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements not having the given class names.
- withoutTheme(String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements not having the given theme.
- withPlaceholder(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's placeholder to exactly match the given placeholder value.
- withPlaceholder(String, BiPredicate<String, String>) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's placeholder to satisfy the given comparison with the supplied text.
- withPlaceholderContaining(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's placeholder to partially match the given text value.
- withPropertyValue(Function<T, V>, V) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's given property getter return value to equal the supplied value.
- withPropertyValue(Function<T, V>, V, BiPredicate<V, V>) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's given property getter return value to satisfy the given comparison with the supplied value.
- withText(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's text to exactly match the given text value.
- withText(String, BiPredicate<String, String>) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's text to satisfy the given comparison with the supplied text.
- withTextContaining(String) - Method in class com.vaadin.testbench.ElementQuery
-
Requires the element's text to partially match the given text value.
- withTheme(String) - Method in class com.vaadin.testbench.ElementQuery
-
Selects on elements having the given theme.
- wrap(TestBenchElement, Class<T>) - Static method in class com.vaadin.testbench.TestBench
- wrap(Class<T>) - Method in class com.vaadin.testbench.TestBenchElement
- 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 and Interfaces|All Packages|Constant Field Values|Serialized Form
ElementQuery.withAttribute(String, String)