Web Orders Data-Driven Testing Sample

Applies to TestLeft 15.40, last modified on March 17, 2022

Description

The Web Orders Data-Driven Testing sample is a Java project that includes a Cucumber feature story written with Gherkin. It uses TestLeft to implement test steps for the feature’s test scenario.

It works with the Web Orders application located on our website:

http://secure.smartbearsoftware.com/samples/testcomplete11/WebOrders/login.aspx

The test adds several orders and verifies that they are displayed correctly in the order list. The order data is stored in the Examples section of the scenario.

The project uses Maven to specify the libraries the project uses. To run the test, the project uses the JUnit testing framework.

Note: If you are new to TestLeft, we recommend that you first follow our Getting Started tutorial to learn how to work with the product. We also recommend that you follow the BDD tutorials to learn how TestLeft integrates with various BDD testing frameworks.

Requirements

  • Java

  • Maven

  • JUnit

  • Cucumber

  • TestLeft 15.40

  • Your computer must have access to the sample web application located on our website (see above).

Location and Running

You can find the sample project here:

<Users>\Public\Documents\TestLeft 15 Samples\WebOrdersDataDrivenTesting

Note: Some file managers can display the Shared Documents and Public Documents folders as the Documents folder.

Build your project and run the AddOrderTest test.

See Also

TestLeft Samples
Tutorials

Highlight search results