Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 2.08 KB

README.md

File metadata and controls

58 lines (43 loc) · 2.08 KB

SeAuto Cucumber Sample Project

Introduction

This project is intended to be a template project for those wanting to quickly implement and use SeAuto for Cucumber.

Setup instructions

Prerequisites:

  • Download and install the Java JDK
  • Download and install Apache Maven
    • Any version on that page will work if you have a preference
  • Firefox, for the demo to run

Get Started

Run this single command to use a hosted template (a.k.a. archetype) of this project:

mvn archetype:generate -Dfilter=seauto

Select the framework you would like to use, and you are on your way! This will use one of the pre-built hosted templates to get you started with SeAuto that tailors the project to your organization's needs.

You may want to download the various Driver Binaries for your project. To do this, run this command inside of your newly created SeAuto project directory:

mvn com.partnet:seauto-driver-manager:download

To run the SeAuto Cucumber Project

To run:

mvn clean integration-test You should see a Firefox browser launch, go to Bing.com, and search for Partnet, verifying Partnet is in the search results.

After the tests run, the reports are located in target/surefire-reports in regular test format

Run with other browsers

Run the tests with the following command, as found in the Configuration section of the documentation:

mvn clean integration-test -Dtest.config.browser=<your browser, eg. IE>

To run each test with its own browser type, see Create Tests.

Documentation

Please see the main SeAuto documentation for more information.

To build the archetype:

mvn archetype:create-from-project
cd target/genrated-sources/archetype
mvn install
cd /to/new/project/dir
mvn archetype:generate -DarchetypeCatalog=local

Then follow the instructions inserting your GroupId, etc..