- CanCompareScreenshots - Interface in com.vaadin.testbench.commands
-
- CanWaitForVaadin - Interface in com.vaadin.testbench.commands
-
- caption(String) - Method in class com.vaadin.testbench.ElementQuery
-
Add a requirement to only accept components with a specified caption
value.
- child(ElementQuery<E>) - Method in class com.vaadin.testbench.ElementQuery
-
Adds another query to the search hierarchy of this ElementQuery.
- chrome() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Chrome
- clear() - Method in class com.vaadin.testbench.TestBenchElement
-
- click(int, int, Keys...) - Method in interface com.vaadin.testbench.commands.TestBenchElementCommands
-
Clicks at the specified coordinates on an element while pressing possible
modifier keys.
- click() - Method in class com.vaadin.testbench.TestBenchElement
-
- click(int, int, Keys...) - Method in class com.vaadin.testbench.TestBenchElement
-
- clickHiddenElement() - Method in class com.vaadin.testbench.TestBenchElement
-
Calls the Javascript click method on the element.
- 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.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(String) - Method in interface com.vaadin.testbench.commands.CanCompareScreenshots
-
Tests that a screen shot is equal to the specified reference image.
- compareScreen(File) - 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 interface com.vaadin.testbench.commands.CanCompareScreenshots
-
Tests that a screen shot is equal to the specified reference image.
- compareScreen(String, ReferenceNameGenerator, ImageComparison, TakesScreenshot, HasCapabilities) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
-
- compareScreen(File, ImageComparison, TakesScreenshot, HasCapabilities) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
-
- compareScreen(BufferedImage, String, ImageComparison, TakesScreenshot, HasCapabilities) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
-
- compareScreen(String) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
- compareScreen(File) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
- compareScreen(BufferedImage, String) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
- compareScreen(String) - Method in class com.vaadin.testbench.TestBenchElement
-
- compareScreen(File) - Method in class com.vaadin.testbench.TestBenchElement
-
- compareScreen(BufferedImage, String) - Method in class com.vaadin.testbench.TestBenchElement
-
- 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.
- context(SearchContext) - Method in class com.vaadin.testbench.ElementQuery
-
Specify a different SearchContext to use.
- contextClick() - Method in class com.vaadin.testbench.TestBenchElement
-
- create(Browser) - Method in class com.vaadin.testbench.parallel.DefaultBrowserFactory
-
- create(Browser, String) - Method in class com.vaadin.testbench.parallel.DefaultBrowserFactory
-
- create(Browser, String, Platform) - Method in class com.vaadin.testbench.parallel.DefaultBrowserFactory
-
- create(Browser) - Method in interface com.vaadin.testbench.parallel.TestBenchBrowserFactory
-
- create(Browser, String) - Method in interface com.vaadin.testbench.parallel.TestBenchBrowserFactory
-
- 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 WebDriver instance used for running the test locally
for debug purposes.
- createDriver(DesiredCapabilities) - Static method in class com.vaadin.testbench.parallel.setup.LocalDriver
-
Creates a WebDriver instance used for running the test locally
for debug purposes.
- createDriver(String, DesiredCapabilities) - Method in class com.vaadin.testbench.parallel.setup.RemoteDriver
-
Creates a WebDriver instance used for running the test remotely.
- createDriver(WebDriver) - Static method in class com.vaadin.testbench.TestBench
-
- createElement(WebElement, 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.
- 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, boolean) - Static method in class com.vaadin.testbench.commands.ScreenshotComparator
-
Crops the image to show only the element.
- 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.
- generateQuery() - Method in class com.vaadin.testbench.ElementQuery
-
Generates a vaadin locator path.
- get(int) - Method in class com.vaadin.testbench.ElementQuery
-
Search the open Vaadin application for a matching component relative to
given context.
- get(String) - Method in class com.vaadin.testbench.TestBenchDriverProxy
-
- getAccessibleName() - Method in class com.vaadin.testbench.TestBenchElement
-
- getActualDriver() - Method in class com.vaadin.testbench.TestBenchDriverProxy
-
- getAriaRole() - Method in class com.vaadin.testbench.TestBenchElement
-
- 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.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
-
- 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
-
- 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.TestBenchDriverProxy
-
- 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
WebDriver for this test.
- getDomAttribute(String) - Method in class com.vaadin.testbench.TestBenchElement
-
- getDriver() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
- getDriver() - Method in interface com.vaadin.testbench.HasDriver
-
Return the WebDriver instance associated with the implementing
class instance.
- getDriver() - Method in class com.vaadin.testbench.TestBenchDriverProxy
-
- getDriver() - Method in class com.vaadin.testbench.TestBenchElement
-
- getDriver() - Method in class com.vaadin.testbench.TestBenchTestCase
-
- getErrorScreenshotFile(String) - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
-
Returns an error screenshot
File instance with the given file
name within the error screenshot directory.
- getErrorScreenshotFile(String) - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
-
Returns an error screenshot
File instance with the given file
name within the error screenshot directory.
- getErrorScreenshotFile(Description) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
-
- getHash() - Method in class com.vaadin.testbench.screenshot.ReferenceImageRepresentation.HashRepresentation
-
- 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() - Method in class com.vaadin.testbench.parallel.ParallelTest
-
Returns the complete URL of the hub where the tests will be run on.
- getId() - Method in class com.vaadin.testbench.TestBenchElement
-
Returns the id value set for this element.
- 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.
- 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
-
- getMaxThreads() - 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
-
- getPlatform(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Returns a human readable identifier of the platform described by the
given capabilities.
- 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
-
- getReferenceNameGenerator() - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Gets the name generator used for screenshot references.
- getReferenceScreenshotFile(String) - Static method in class com.vaadin.testbench.screenshot.ImageFileUtil
-
Returns a reference screenshot
File instance with the given file
name within the reference screenshot directory.
- getReferenceScreenshotFile(String) - Method in class com.vaadin.testbench.screenshot.ImageFileUtil.ImageFileUtilImpl
-
Returns a reference screenshot
File instance with the given
file name within the reference screenshot directory.
- 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
-
- 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
-
- getShadowRoot() - Method in class com.vaadin.testbench.TestBenchElement
-
- 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
-
- getWindowHandle() - Method in class com.vaadin.testbench.TestBenchDriverProxy
-
- getWindowHandles() - Method in class com.vaadin.testbench.TestBenchDriverProxy
-
- getWrappedDriver() - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
- 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
-
- id(String) - Method in class com.vaadin.testbench.ElementQuery
-
Executes a search for element with given ID.
- ie10() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Internet Explorer 10
- ie11() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Internet Explorer 11
- ie8() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Internet Explorer 8
- ie9() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Internet Explorer 9
- 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, String, double, Capabilities) - Method in class com.vaadin.testbench.screenshot.ImageComparison
-
Compare image [name] to image under /reference/.
- imageEqualToReference(BufferedImage, BufferedImage, String, double) - Method in class com.vaadin.testbench.screenshot.ImageComparison
-
- 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 whether canvas sizes match.
- 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.
- in(ElementQuery<E>) - Method in class com.vaadin.testbench.ElementQuery
-
Adds another query to the search hierarchy of this ElementQuery.
- index(int) - Method in class com.vaadin.testbench.ElementQuery
-
Set an index requirement for the current ElementQuery.
- init(WebElement, TestBenchCommandExecutor) - Method in class com.vaadin.testbench.TestBenchElement
-
TestBenchElement initialization function.
- init() - Method in class com.vaadin.testbench.TestBenchElement
-
This is run after initializing a TestBenchElement.
- invoke(Object, Method, Method, Object[]) - Method in class com.vaadin.testbench.DriverInvocationHandler
-
- invokeExplosively(Object, Object...) - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
-
- 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.
- isCaptureScreenshotOnFailure() - Static method in class com.vaadin.testbench.Parameters
-
- isChrome(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
- isChrome() - Method in class com.vaadin.testbench.TestBenchElement
-
Checks if the current test is running on Chrome.
- 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
-
- isElementPresent(Class<? extends AbstractElement>) - Method in class com.vaadin.testbench.AbstractHasTestBenchCommandExecutor
-
Returns true if a component can be found.
- isElementPresent(By) - Method in class com.vaadin.testbench.AbstractHasTestBenchCommandExecutor
-
Returns true if a component can be found with given By selector.
- isEnabled() - Method in class com.vaadin.testbench.TestBenchElement
-
Returns whether the Vaadin component, that this element represents, is
enabled or not.
- isFirefox(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
- isFirefox() - Method in class com.vaadin.testbench.TestBenchElement
-
Checks if the current test is running on Firefox.
- isFocused() - Method in class com.vaadin.testbench.TestBenchElement
-
Checks whether the current element is the focused element on the page.
- isIE(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
- isIE(Capabilities, int) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
- isIE8(Capabilities) - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Checks if the given capabilities refer to Internet Explorer 8
- isLocalWebDriverUsed() - Static method in class com.vaadin.testbench.Parameters
-
- isReadOnly() - Method in class com.vaadin.testbench.TestBenchElement
-
Returns whether the Vaadin component represented by this element has been
set read-only.
- 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
-
- safari() - Static method in class com.vaadin.testbench.parallel.BrowserUtil
-
Gets the capabilities for Safari
- 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 Rule grabs 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 interface com.vaadin.testbench.commands.TestBenchElementCommands
-
Scrolls the element down to the specified top value.
- 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 interface com.vaadin.testbench.commands.TestBenchElementCommands
-
Scrolls the element left to the specified left value.
- scrollLeft(int) - Method in class com.vaadin.testbench.TestBenchElement
-
Sets the number of pixels that an element's content is scrolled to the
left.
- sendKeys(CharSequence...) - Method in class com.vaadin.testbench.TestBenchElement
-
- ServerClass - Annotation Type in com.vaadin.testbench.elementsbase
-
- 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.
- setCaptureScreenshotOnFailure(boolean) - Static method in class com.vaadin.testbench.Parameters
-
- 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) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets the requested browser capabilities (typically browser name and
version)
- setDriver(WebDriver) - Method in class com.vaadin.testbench.TestBenchTestCase
-
Sets the active WebDriver that is used by this this case
- setHash(String) - Method in class com.vaadin.testbench.screenshot.ReferenceImageRepresentation.HashRepresentation
-
- 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.
- setMaxThreads(int) - Static method in class com.vaadin.testbench.Parameters
-
- 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.
- setReferenceNameGenerator(ReferenceNameGenerator) - Method in class com.vaadin.testbench.commands.TestBenchCommandExecutor
-
- setReferenceNameGenerator(ReferenceNameGenerator) - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Sets the name generator used for screenshot references.
- setReferenceNameGenerator(BiFunction<String, Capabilities, String>) - Method in interface com.vaadin.testbench.commands.TestBenchCommands
-
Sets the name generator used for screenshot references.
- 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 WebDriver to run test.
- setupLocalDriver(Browser, String) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a WebDriver to run test.
- setupLocalDriver(Browser) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a WebDriver to run test.
- setupRemoteDriver(RemoteDriver, String) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a WebDriver to run test on hubURL.
- setupRemoteDriver(String) - Method in class com.vaadin.testbench.parallel.setup.SetupDriver
-
Sets up and returns a WebDriver to run test on hubURL.
- 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
-
- showTooltip() - Method in interface com.vaadin.testbench.commands.TestBenchElementCommands
-
Shows the tool tip of the specified element.
- showTooltip() - Method in class com.vaadin.testbench.TestBenchElement
-
- state(String, String) - Method in class com.vaadin.testbench.ElementQuery
-
For advanced use.
- submit() - Method in class com.vaadin.testbench.TestBenchElement
-
- switchTo() - Method in class com.vaadin.testbench.TestBenchDriverProxy
-