0 Shares 867 Views

Step-by-Step Record and Playback

Jul 14, 2013
867 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

Setting up Web Service Automation Project
Katalon Studio
240 views
Katalon Studio
240 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
241 views1
Katalon Studio
241 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…

UFT Jenkins Integration
Unified Functional Testing
795 views
Unified Functional Testing
795 views

UFT Jenkins Integration

Saket - Oct 03, 2017

In our earlier post, we got to know the easy integration of UFT with GIT. This post focuses on integration of UFT and Jenkins. I have also…

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...