Index

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

A

apply(Statement, Description) - Method in class com.vaadin.testbench.RetryRule
 

C

com.vaadin.testbench - package com.vaadin.testbench
 
com.vaadin.testbench.parallel - package com.vaadin.testbench.parallel
 
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.

D

driver - Variable in class com.vaadin.testbench.TestBenchTestCase
 

E

equals(Object) - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
 
executeScript(String, Object...) - Method in class com.vaadin.testbench.TestBenchTestCase
Executes the given JavaScript in the context of the currently selected frame or window.

F

failed(Throwable, Description) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
 
findElement(By) - Method in class com.vaadin.testbench.TestBenchTestCase
 
findElements(By) - Method in class com.vaadin.testbench.TestBenchTestCase
 
finished() - Method in class com.vaadin.testbench.parallel.ParallelScheduler
 
finished(Description) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
 

G

getCapabilities() - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
 
getCommandExecutor() - Method in class com.vaadin.testbench.TestBenchTestCase
 
getContext() - Method in class com.vaadin.testbench.TestBenchTestCase
 
getDefaultCapabilities() - Static method in class com.vaadin.testbench.parallel.ParallelTest
 
getDesiredCapabilities() - Method in class com.vaadin.testbench.parallel.ParallelTest
Gets the DesiredCapabilities (usually browser name and version)
getDriver() - Method in class com.vaadin.testbench.TestBenchTestCase
Returns the WebDriver instance previously specified by TestBenchTestCase.setDriver(org.openqa.selenium.WebDriver), or (if the previously provided WebDriver instance was not already a TestBenchDriverProxy instance) a TestBenchDriverProxy that wraps that driver.
getErrorScreenshotFile(Description) - Method in class com.vaadin.testbench.ScreenshotOnFailureRule
 
getHubHostname() - Method in class com.vaadin.testbench.parallel.ParallelTest
Returns the hostname of the hub where test is to be run on.
getHubURL() - Method in class com.vaadin.testbench.parallel.ParallelTest
Returns the complete URL of the hub where the tests will be run on.
getMaxAttempts() - Method in class com.vaadin.testbench.RetryRule
Gets the maximum number of times to run the test.
getName() - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
 
getRunLocallyBrowser() - Method in class com.vaadin.testbench.parallel.ParallelTest
 
getRunLocallyBrowserVersion() - Method in class com.vaadin.testbench.parallel.ParallelTest
 
getRunOnHub(Class<?>) - Method in class com.vaadin.testbench.parallel.ParallelTest
 

I

invokeExplosively(Object, Object...) - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
 

M

maxAttempts - Variable in class com.vaadin.testbench.TestBenchTestCase
Specifies retry count, which is used to run same test several times.

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 ParallelTest if 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
 

R

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.

S

schedule(Runnable) - Method in class com.vaadin.testbench.parallel.ParallelScheduler
 
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.
setDesiredCapabilities(DesiredCapabilities) - Method in class com.vaadin.testbench.parallel.ParallelTest
Sets the requested DesiredCapabilities (usually browser name and version)
setDriver(WebDriver) - Method in class com.vaadin.testbench.TestBenchTestCase
Sets the active WebDriver that is used by this this case
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.
setTestNameSuffix(String) - Method in class com.vaadin.testbench.parallel.ParallelRunner.TBMethod
 
setup() - Method in class com.vaadin.testbench.parallel.ParallelTest
Sets the driver for this test instance.

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 TestBenchCommands for the default WebDriver instance.
TestBenchTestCase - Class in com.vaadin.testbench
A superclass with some helpers to aid TestBench developers.
TestBenchTestCase() - Constructor for class com.vaadin.testbench.TestBenchTestCase
 

W

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.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(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.
A C D E F G I M P R S T W 
All Classes and Interfaces|All Packages