Skip to content

A JUnit and Selenium webdriver based framework to unit test EbaseXi webforms

Notifications You must be signed in to change notification settings

dvanhussel/ebasetestrunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ebase testrunner

This project provides a wrapper around Selenium webdriver. With the form navigator it is possible to navigate through forms or webapps created with the EbaseXi platform.

Setup

Prerequisites

Build

  • Clone or download the repository
  • Create /src/main/resources/application.properties (or copy from sample.application.properties)
  • Set correct correct path to the geckodriver binary in the properties file
  • Open the projectfolder as Workspace in ebase Designer and make sure the local testserver is running
  • Go to the Navigator folder in a terminal
  • mvn install

If all is setup correctly, the tests will pass and the EbaseTestRunner will be installed in the local Maven repository. It can now be refferenced in new Maven projects where the unit tests will be written.

If the tests don't pass, check if the demo form is running at the addres that is provided in the init() method in /src/test/java/EbaseUnitTestExampleTest.java

About

A JUnit and Selenium webdriver based framework to unit test EbaseXi webforms

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages