#3 Plan your first test | Ranorex
HomeUser GuideRanorex Studio Fundamentals#3 Plan your first test

Plan your first test

Required time: 3 minutes

Before we start building our test, we need to think about what we’re actually going to do. This helps prevent errors and tedious restructuring of tests.

Planning

To plan the test we’re going to create in this guide, we’ll ask ourselves the following questions. These also apply when you create more complex tests.

  • What do we want to test? 
  • How can we test it?

What do we want to test? 

In this guide, we’ll test the Ranorex Studio Demo Application, a simple program to support you in learning how to work with Ranorex Studio.

Demo Application download

The demo application can be downloaded here ⇢ Ranorex Demo Application. Extract the application into any folder of your choice. For the purpose of this guide, we’ll assume that it’s saved to the /Downloads/ folder of your system.

Demo application startpage

Demo application startpage

In particular, we’ll be testing whether the text entered in Enter your name is displayed in the welcome message on the right after clicking Submit.

Test definition in Ranorex demo application

How can we test it?

To test the behavior described above, our test will need to include the following actions:

  1. Start the application
  2. Click in the text box
  3. Enter “Harry” in the text box
  4. Click Submit
  5. Verify that the text is displayed in the welcome message
  6. Close the application

The test is successful if the submitted name appears in the welcome message.