Web Orders Applitools Sample

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

Description

The Web Orders Applitools sample is a Java project that includes a Cucumber feature story and 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 verifies that the added orders are successfully displayed on the order list.

To verify that adding an order updates the application UI correctly (the added order is displayed in the order list), the project uses Applitools.

The project uses Maven to specify the libraries that 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

  • An Applitools account (you will need your Applitools API key to run the test).

  • 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\WebOrdersApplitools

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

In the i_have_launched_the_Orders_Application routine, specify your Applitools API key. (You must have an Applitools account to get the key. To learn how to get the API key, see the Applitools documentation.)

Build your project and run the AddOrderTest test.

See Also

TestLeft Samples
Tutorials

Highlight search results