Vaadin TestBench
An environment for automated user interface regression testing of Vaadin applications on multiple platforms and browsers
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.3.1</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
- Issue Tracker
- Product Website
- Discussion Forum
- Firefox ESR
- Product Manual
- License Installation Instructions
- Tutorial
- TestBench Core API
- TestBench Element API
Compatibility
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
- Released
- 2025-02-07
- Maturity
- STABLE
- License
- Vaadin Commercial License
Compatibility
- Framework
- Vaadin 8.0+
- Vaadin 14+ in 9.0.1
- Vaadin 10+ in 6.0.1
- Vaadin 7.3+ in 4.2.2
- Vaadin 7.0+ in 3.1.3
- Vaadin 6.0+ in 3.1.3
- Browser
- Firefox
- Safari
- Google Chrome
- iOS Browser
- Android Browser
- Internet Explorer
Vaadin TestBench - Vaadin Add-on Directory
An environment for automated user interface regression testing of Vaadin applications on multiple platforms and browsersProduct Website
Discussion Forum
Firefox ESR
Product Manual
License Installation Instructions
Tutorial
TestBench Core API
TestBench Element API
Vaadin TestBench version 3.1.3
- Update to Selenium 2.40.0
- Bug fixes relating to error handling when elements are not found
- Removed a workaround no longer necessary in newer Chrome and PhantomJS versions
Vaadin TestBench version 4.2.1
The main improvement is:
- Fixed 949: Avoid an infinite loop when trying to find the innermost driver
Vaadin TestBench version 4.2.2
Queries return all elements found in all Vaadin clients
Vaadin TestBench version 6.0.1
TestBench 6.0.1 for Vaadin 10.
Check release notes in [github](https://github.com/vaadin/testbench/releases/tag/6.0.1)
Vaadin TestBench version 5.2.0
Check release notes in [github](https://github.com/vaadin/testbench/releases/tag/5.2.0)
Vaadin TestBench version 6.2.1
TestBench 6.2.1 for Vaadin 10. Check release notes in [github](https://github.com/vaadin/testbench/releases/tag/6.2.1)
Vaadin TestBench version 9.0.0