/vaadin-robotframework-sample

Simple example using Robot Framework with Vaadin and TestBench Hub

Primary LanguageRobotFramework

Vaadin and Robot Framework Sample

Simple example using Robot Framework with Vaadin and Vaadin TestBench Hub. The example uses SeleniumLibrary and robotframework-maven-plugin to run browser based tests.

This sample test logs in to https://demo.vaadin.com/dashboard and checks that login was succesful.

Settings

All settings are specified in the beginning of the test file There are two modes for the test:

  1. Local browser (enabled by default)
  2. TestBench Hub

Chrome driver is used in both. If TestBench Hub is used, make sure that the correct URL is given in ${HUB_URL} in Settings. By default local hub is used and

Running

To execute the test locally or using TestBench Hub run:

mvn verify