0 Shares 1854 Views

Step-by-Step Record and Playback

Jul 14, 2013
1854 Views

This post contains a step-by-step example of how to record a simple test and playback with TestComplete 9.2.

Recording

We will use Windows Calculator as an example here to record mouse clicks and keystrokes.If you are a beginner with TestComplete, it is the easiest way for you to start with creating a base script by recording a script.

Steps To record the script:

Step 1: Start TestComplete and create a new project by selecting File > New> New Project, Accept all defaults for the new project, We will use VBScript as language here.

Step 2: Click the Record button on the toolbar to start recording all the actions

Step 3: Launch Windows Calculator

Step 4: Perform some calculation, for example lets add two numbers and get the result and close windows calculator.

Step 5: Click the Stop button on TestComplete’s recording toolbar

The recorded Script will be something like below

 

Keyword Test

Keyword Test

Script Test

Script Test

 

Playback

Recording was easy, isn’t it.. Playback is even easier.

To playback the recorded script, you need to Select Unit recorded (unit1) and click the Run Script button in the Project Explorer.
RunTest

After the script runs, the test results display:

Log

 

 

You may be interested

UFT Patch Updates – UFT 14.03
Unified Functional Testing
656 views1
Unified Functional Testing
656 views1

UFT Patch Updates – UFT 14.03

Saket - Mar 11, 2018

Post the launch of UFT 14.0, there are three patch updates has been released including a number of features and enhancement. Recently Micro Focus unveiled third patch…

Setting up Web Service Automation Project
Katalon Studio
982 views
Katalon Studio
982 views

Setting up Web Service Automation Project

Saket - Oct 24, 2017

Web services are specific services that can be published and called over the Internet by client applications. Katalon Studio supports functional testing of web services. This topic…

Setting up Mobile Automation Project in MacOS
Katalon Studio
899 views1
Katalon Studio
899 views1

Setting up Mobile Automation Project in MacOS

Saket - Oct 09, 2017

Using Katalon Studio, mobile tester can design automation test for both Android and iOS to run on physical devices, cloud services and emulators. This tutorial explains how…

Leave a Comment

Your email address will not be published.

Most from this category

Join The Growing Group of 15000+ Test Automation Engineers

Signup for our newsletter and get access to free downloads, as well as tips, tricks and techniques and various test automation resources.
Name
Email Address
Secure and Spam free...