Directory

← Back

Vaadin TestBench

An environment for automated user interface regression testing of Vaadin applications on multiple platforms and browsers

Author

Contributors

Rating

Vaadin TestBench is an environment used for automated user interface regression testing of Vaadin applications on multiple platforms and browsers.

Vaadin TestBench allows you to run tests on the UI after a build and catch problems created by changes to the business logic. This helps you catch problems that affect the UI functionality early on, before they become a real problem.

For more information see: https://vaadin.com/testbench

#Maven users To install Testbench with Maven, please add the following as your dependency. Note that the scope is important.

<dependency>
   <groupId>com.vaadin</groupId>
   <artifactId>vaadin-testbench</artifactId>
   <version>5.1.2</version>
   <scope>test</scope>
</dependency>

#Non Maven users You can download vaadin-testbench-standalone.jar from github. Standalone package includes all the dependencies to run Vaadin Testbench.

Sample code

Assert.assertEquals(expectedFirstName,
       $(TextFieldElement.class)
           .caption("First Name").first().getValue());

Assert.assertEquals(expectedLastName,
       $(TextFieldElement.class)
           .caption("Last Name").first().getValue());

Links

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Queries return all elements found in all Vaadin clients

Released
2018-05-24
Maturity
STABLE
License
CVAL 3.0

Compatibility

Framework
Vaadin 7.3+
Vaadin 7.0+ in 3.1.3
Vaadin 6.0+ in 3.1.3
Vaadin 10+ in 6.0.1
Vaadin 8.0+ in 5.2.0
Vaadin 14+ in 6.2.1
Browser
Internet Explorer
Firefox
Safari
Google Chrome
Internet Explorer
iOS Browser
Android Browser
Internet Explorer
Internet Explorer
Online