0 Shares 605 Views

Step-by-Step Record and Playback

Jul 14, 2013
605 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 Mobile Automation Project in Windows
Katalon Studio
77 views
Katalon Studio
77 views

Setting up Mobile Automation Project in Windows

Saket - Sep 20, 2017

This tutorial explains how to setup a mobile automation project and test a mobile app using Katalon Studio on Windows. This tutorial assumes that you are familiar…

Katalon Studio GUI Overview
Katalon Studio
147 views2
Katalon Studio
147 views2

Katalon Studio GUI Overview

Saket - Sep 14, 2017

GUI Overview After installing and setting up Katalon Studio for your automated test, you must understand the GUI. In this post we will walk you through the…

LeanFT Tutorial #4: Application Model Overview
LeanFT
125 views1
LeanFT
125 views1

LeanFT Tutorial #4: Application Model Overview

Saket - Sep 10, 2017

In this post we are going to focus on Application Model in LeanFT. Refer our earlier posts on LeanFT Getting Ready with LeanFT Browser Extensions and Settings…

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