Applies to TestLeft 4.30, last modified on November 21, 2019

TestLeft includes sample test projects for Visual Studio and Java. They demonstrate how to create and run automated tests with TestLeftand how to create behavior-driven development (BDD) tests by using TestLeft and various BDD frameworks.

The samples are located in the <Users>\Public\Documents\TestLeft 4 Samples folder.

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

Visual Studio

Web Orders Basic

Demonstrate how to simulate user actions over a tested web application. To locate the needed objects in the tested application, the sample uses the Find method.

Web Orders Application Model

Demonstrates how to simulate user actions over a tested web application. To locate the tested objects in the application, the test maps the application’s object hierarchy to an object model.

SpecFlow

Demonstrates how to create a BDD test by using TestLeft and the SpecFlow framework. The test verifies that the Undo command called by using hotkeys works correctly in the Notepad application.

Web Orders SpecFlow

Demonstrates how to create a BDD test by using TestLeft and the SpecFlow framework. The test verifies that orders are added correctly in the Web Orders application on our website.

Web Orders Excel

Demonstrates how to create a data-driven test with TestLeft. The test reads the order data from an Excel file and adds the appropriate orders in the Web Orders application.

Java

Cucumber

Demonstrates how to create a BDD tests by using TestLeft and the Cucumber framework. The test verifies that the Undo command called by using hotkeys works correctly in the Notepad application.

Web Orders Cucumber

Demonstrates how to create a BDD test by using TestLeft and the Cucumber framework. The test verifies that orders are added correctly in the Web Orders application on our website.

JBehave

Demonstrates how to create a BDD tests by using TestLeft and the JBehave framework. The test verifies that the Undo command called by using hotkeys works correctly in the Notepad application.

Web Orders Data-Driven Testing

Demonstrates how to create a data-driven test by using TestLeft and the Cucumber framework. The test adds several orders in the Web Orders application. The order data is stored in the feature’s scenario description written with Gherkin.

Web Orders Applitools

Demonstrates how to create a visual test by using TestLeft, Cucumber and Applitools. The test checks that orders are added correctly in the Web Orders application. To verify the application UI, the test uses the Applitools image recognition engine.

Web Orders Sikuli

Demonstrates how to create a visual test by using TestLeft, Cucumber and Sikuli. The test checks that orders are added correctly in the Web Orders application. To simulate user actions on the Login button of the Web Orders application, the test uses the Sikuli image recognition engine.

Related Topics of Interest

Follow these tutorials to learn how to create a basic test with TestLeft:

See Also

Introducing TestLeft
Tutorials

Highlight search results