Chapter 1. Getting Started

In this chapter we will cover the following recipes:

  • Installing TestComplete
  • Creating your first project
  • Choosing a scripting language for the project
  • Recording your first test
  • Modifying the recorded test
  • Saving and restoring user settings
  • Creating code templates
  • Delaying script execution
  • Adding and removing project items
  • Understanding how TestComplete interacts with tested applications
  • Understanding Object Browser
  • Using Object Spy

Introduction

TestComplete is one of the most popular commercial tools for automation testing. It allows us to automate testing of wide variety different applications (such as Win32, .NET, Java, Web, Delphi, and many others) using the same testing methodologies and similar programming approaches.

TestComplete supports testing on all Windows platforms being supported by Microsoft (both 32- and 64-bit configurations) and allows using several scripting languages for creating scripts as well as nonscripting tests for users who do not have programming experience (keyword-driven testing).

Recommended system requirements for TestComplete are:

  • Processor: Intel Pentium 4 (3 GHz) or Intel Core 2 Duo (2 GHz or higher)
  • RAM: 2 GB
  • HDD: 700 MB free space
  • Monitor: 1280 x 1024 or higher resolution

You can find the full list of requirements on the SmartBear website (http://smartbear.com/products/qa-tools/automated-testing-tools/testcomplete-specifications/testcomplete-system-requirements).

In this book we use the following configuration:

  • Microsoft Windows 7 x86 (32-bits) operating system installed on a virtual PC
  • 1 GB of RAM
  • TestComplete Version 9.30 (most examples will also work in TestComplete 7.x and 8x)

Most examples in this book use standard Windows applications (Notepad, Internet Explorer, and Paint). Additionally, you will need to install free Microsoft Calculator Plus application, which can be downloaded from the Microsoft's website (http://www.microsoft.com/en-us/download/details.aspx?id=21622). Standard calculator application of the Windows Vista/7/8 will not work as its controls are recognized differently and require additional adjustment.

In this chapter, we are going to cover the basic actions one can perform with TestComplete in order to get acquainted with TestComplete IDE and its tools.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.222.185