TestComplete : Basics

6
588

This is the first part of the TestComplete Tutorial Series. In this part we will be discussing the basics of the TestComplete Tools, which are must to know before we start using the tool.

TestComplete is an automated testing environment for a wide range of application types and technologies, including (but not limited to) Windows, .NET, WPF, Visual C++, Visual Basic, Delphi, C++Builder, Java and Web applications and services.

TestComplete is oriented equally to functional and unit testing. It provides superior support for daily regression testing and supports many other kinds of testing: data-driven testing, object-driven testing, and others.

Different types of testing can be done by using TestComplete, like unit testing, functional and GUI testing, regression testing, distributed testing etc.. A Test Can be created by recording the steps in keyword view or into scripts by coding there in units. These tests can be recorded or created from scratch in editors.

Test Complete Supports Scripting in different languages one can choose from –

  • VBScript
  • JScript
  • DelphiScript
  • C++Script
  •  C#Script

[you will find most of examples here in vbscript.]

A test automation project in TestComplete contains Project Suite, Projects and Project Items. A Project suite is getting created by default when you create a new project. it contains one more projects.

A project contains the tests, baseline data for checkpoints, information about tested applications and other items needed to perform testing. The project also defines the execution sequence of multiple tests and contains a cumulative log of all test runs since the start of the project.

Project items are project elements that perform or assist in performing various testing operations.

TestComplete IDE : TestComplete’s user interface is organized into a number of panels. There are three main panels – Project Explorer, Object Browser and Workspace. The Project Explorer panel displays the contents of projects and the project suite. It also provides links to the test log nodes. The Object Browser  panel holds one major TestComplete function that does not belong to a specific project: it shows the list of all processes and windows that exist on the machine. The Workspace panel is your working desktop: it displays the project’s and project items’ editors, where you create and modify tests and view test results.

Other panels at TestComplete IDE are Test Visualizer, Watch List, Locals, Breakpoints, Code Explorer etc.

TestComplete uses a tree-like model for test objects. The root node of the tree is Sys. Processes objects correspond to applications running in the operating system. It uses two ways to address processes, windows and controls in keyword tests and scripts.

1. using the default object names given by TestComplete itself

2. mapping application objects to custom names

TestComplete uses two license types: Node-Locked and Floating User.

Node-Locked License: The Node-Locked license is bound to one computer. You can run only one TestComplete instance at a time on this computer.

Floating User License: The Floating User license lets you run several TestComplete copies on multiple computers in the local network. The number of copies that can work concurrently is determined by the license key.

6 COMMENTS

    • Hi Ali, we dont encourage and refrain discussing unauthorized means of using the tool. Please contact smartbear for the license or get a trial version from there.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.