Your First Test With TestLeft - Java Tutorial

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

About

This tutorial will help you get started with creating TestLeft tests with Java. We will describe TestLeft components and tell you how they interact with each other. You will learn how to –

  • Configure a Java project to support TestLeft tests.

  • Explore the object hierarchy in a tested application.

  • Access windows and controls in a tested application from a test code and simulate user actions over the controls.

  • Run tests and view test results.

Technologies Used

In this tutorial, we will use –

  • The JetBrains IntelliJ IDEA IDE running under the Windows operating system. You can use any other Java IDE of your choice (for example, Eclipse or NetBeans).

    In general, to create TestLeft tests, you can use any Java IDE running under any operating system. However, you can perform the following actions only on Windows operating systems –

    • Run created TestLeft tests.

    • Use TestLeft UI Spy to explore the object hierarchy of your tested applications.

  • A Maven project. To learn more about Maven, see https://maven.apache.org/.

  • The JUnit test framework to run the TestLeft test that we will create. To learn about JUnit, see http://junit.org/.

  • The standard Windows Notepad application as a tested application.

Test Steps


Start

See Also

Introducing TestLeft

Highlight search results