DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. Creating Test Cases Using the Web Recorder Utility With Katalon Studio

Creating Test Cases Using the Web Recorder Utility With Katalon Studio

In this tutorial, learn how to use Katalon Studio's recorder utility to capture all of the user’s actions in the app you are testing.

Oliver Howard user avatar by
Oliver Howard
·
Oct. 02, 17 · Tutorial
Like (8)
Save
Tweet
Share
5.26K Views

Join the DZone community and get the full member experience.

Join For Free

Katalon recorder is a utility to capture all of the user’s actions such as clicking and typing performed on the application under test and generate test cases automatically. This is a useful feature for quickly generating test cases, especially for users who are new to Katalon Studio.

If you are a beginner, the test cases generated by Katalon recorder can be used as a reference to understand how Katalon Studio works and what its test cases look like. If you are an experienced user, you can use this feature to quickly create test steps to verify whether they can execute correctly.

This tutorial walks you through the steps needed to use Katalon recorder. This guide assumes that you already create and configure a test project. If needed, refer to this tutorial for more details.

1. Click on the New Test Case button on the main toolbar. Provide a name for your test case and click OK. An empty test case will be created.

Katalon Studio New Test Case

Where:

Field Description
Name The name of the test case
Description Your description for the test case
Tag The tag you want to mark for the test case, which can be used for searching later.

2. Click on Record Web from the main toolbar

Katalon Studio Record Web

3. The Record dialog is shown as below:

Katalon Studio Web Recorder Dialog

Where:

Section Description
Captured Objects Display all captured objects during recording
Object Properties Display the details of the selected object from the Captured Objects section above
Recorded Actions Display all captured actions that users have conducted during recording

4. Click on Record to start recording the test case in your desired browser.

Record button

Where:

Type Description
New Browsers Launch a new browser and start recording actions from that browser.
Active Browsers Focus on the current active Chrome browser and start recording actions from it. You will be asked for installation of Katalon Utility:

Katalon Studio Utility

Refer to Katalon Addon for Chrome for more details.

5. Perform your test steps on the browser. All of your actions performed on the browser will be recorded by Katalon Studio. (Let’s record the test case on demoaut.katalon.com as an example. Click on the Make Appointment button, then click on the Login button.)

Execute test steps on the browser

6. You can Stop or Pause recording if needed. When you are done with recording, click OK to save recorded actions into Katalon Studio. You can edit or delete the recorded actions here if needed.

Save recoreded action to Katalon Studio

7. You will be prompted to save captured objects into Katalon Studio’s Object Repository. Click OK to continue.

Save captured object

8. Captured objects will be saved into Object Repository and captured actions will be saved into the test case as shown below.

Katalon Studio Object Repository

9. Click on Run on the main Toolbar to execute the test case’s script. You can specify the target browser to run by selecting it from the drop-down list.

Execute test case in Katalon Studio

Congratulations! You have automated your first test case using the recording feature of Katalon Studio. For advanced features such as branching, looping or validation, you can refer to following articles:

  • Common Validation
  • Control Statements
Testing Katalon Studio Test case

Published at DZone with permission of Oliver Howard. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Select ChatGPT From SQL? You Bet!
  • How to Quickly Build an Audio Editor With UI
  • Building a Scalable Search Architecture
  • The 12 Biggest Android App Development Trends in 2023

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: