This repository demonstrates how to use our Neodymium library to set up a maintainable and well structured test automation project. Furthermore we use the Wiki to show and explain how to use the features from the Neodymium library. We also give insight how we think a test automation project should be structured and what results you should get out of it.
Within this example project we demonstrate how to set up and implement a Cucumber BDD test automation project. You can find information about Cucumber within our Wiki.
This will be a short introduction how to get it running.
You will need the following technologies available to try it out:
- Git
- Maven 3+
- JDK 8
- IDE of your choice
- Web browser's of your choice and their respective WebDrivers
Posters is a web shop for demo purposes build by Xceptance. We use it throughout all our software products to demonstrate their capabilities within a simple and stable environment.
- Download latest XLT here.
- Extract the zip file in the preferred folder.
- Open a console goto [extractXltPath]/samples/app-server/bin/
- Start Posters with: ./start.sh for Linux or \start.cmd for Windows.
- Goto https://localhost:8443/posters/ to check if it is running.
Stopping Posters just press Ctrl+C and cancel the batch process with "Y".
- Stop the server.
- Delete ./samples/app-server/data
- Start the server again.
- DB will be recreated with default values.
The posters store create log files which are located in ./samples/app-server/logs folder. You can delete them while the server is stopped to free disk space.
Simply clone or fork this project from here.
- Import the project as Maven project
- Set up your WebDrivers
- Goto
posters.cucumber.tests
- Run
RunAllFeaturesTest.java
as JUnit test.
- Open a console of your choice
- Goto the project folder
- Run
mvn clean test
Please check our Wiki to get all info you need.
If you like our ideas and you would like to start a test automation project using the Neodymium library. We prepared a template that can be used as "Hello World" tutorial and is a good starting point for your own project.
Check out Neodymium Template.
MIT