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 15 Samples folder.
Note: | Some file managers can display the Shared Documents and Public Documents folders as the Documents folder. |
Visual Studio
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.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.
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.
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.
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
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.
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.
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.
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.
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: