Community Challenge

Share your Katalon Use Cases & Win up to $125! 🎁 Join in now

Create and Execute Test Cases in Katalon Studio

Course Level

Beginner

Duration

24m

Total Chapters

4

Free

About Course

A codeless testing tool is the easiest way for new automation testers to start learning and experimenting with test automation or a powerful productivity boost for those with more experience.

In these 4 chapters, we will cover the topics of:

  • How to create test cases using Record & Playback
  • How to create test cases in Manual mode
  • How to create Test in Script mode
  • How to create and run Test Suites in Katalon Studio

Chapter Overview

How to create test cases using Record & Playback

00:10-00:48

Hi, this is the Katalon team, and welcome to a tutorial. In this video, we'll show you how to create and execute test cases in Katalon using Record and Playback mode. Let's get started!

First, to create a test project, go to 'File' > 'New' > 'Project' and this new project box will appear. Give your project a name then you can either choose a specific type of test you want to create here or you can just choose generic if you want to run more than one type of test. Next, select a sample project to run your tests on or you can start with a blank project. Here allows you to integrate code stored in some outside platform like Github or Bitbucket.

00:49-01:12

Now give your project a description if you wish click 'OK' and then you have a new test project. Here before you create any test script you also have the option to integrate with Katalon TestOps, a centralized location for all of your test results and advanced reports. In this chapter, we're not going to focus on Katalon TestOps for now but watch out for a future tutorial.

01:13-02:00

Moving on, this is what your screen will look like. On the left panel, there are many tabs to explore which we'll now go over really quick.

- The 'Test cases' tab is where you store all of your automation test cases.

- 'Object repository' is where you saw all of the web locators that the keyword is going to interact with.

- The 'Test suites' tab is where you can run multiple test cases at the same time.

- 'Data files' is where you store the actual database files that you use for your tests.

- 'Checkpoint is where you store snapshot of test data taking at a specific time to compare test data in various testing points.

- 'Keyword' is where you obtain the capability of Katalon Studio.

- Finally, 'Test Listeners', this is where you add customized test step of choice.

- And 'Reports' is where all of your test reports are stored.

02:01-02:36

Now to create a test case, go to the top panel, click on 'Record web' button and this box will appear. Now input the URL of the web you want to test. Then click on the browser logo, then this tab will pop up and your test is being recorded. Here, you can see a red border surrounding every object in the tab, and everything you do, every object you click on will be recorded here. Also in this panel, you can see the object you're interacting with and change their name or their properties as your choice.

02:37-03:20

Now let me create a simple login test for you to see. Now you have your test script. Let's save it, click the 'Save script' to save all these locators. Give it a name and you have your first test case. With this login test case you can run in most browsers such as Chrome, Firefox, Internet Explorer you name it.

03:21-03:51

However, here I want to show you another way to create a new advanced test case incorporating the login test case you just used for this chapter. I'm going to create a booking appointment test case for you to see. First, go to the 'Test case', 'New' and give it a name. Then I'm going to drag this login test case into this 'Book appointment' tab on the right. Click the 'Record' button on top. Click 'Yes' and your new test case is in progress.

03:52-04:33

First, click 'Play' button to playback ALL of the steps in your old login test case. Now, all you gotta do is normally go through the actions that you want to test. To finish creating this test case you will want to create a verification point to verify that you have successfully navigated to the final page that you want or in this tutorial is the appointment confirmation page.

04:34-05:11

So, what you want to do is click on the object that you want to verify, or in this situation the 'Appointment Confirmation' object. Go to the panel on the right and give it a verification keyword that we have on this dropdown. Here I'm going to choose the simplest way to verify my object which is the 'Verified element present'. Set a timeout or a time that the test is going to wait for the object who appears to verify it. Here is 30 second and click 'Save script'. Choose to override the test case.

05:12-05:35

And here you have another test case for yourself as Katalon supports most major Browsers. I'm going to run this test on Firefox instead of Chrome for you to see. And that's the end of this chapter.

SS
V
VM
SR
TT
RT
NN
KK
JR
Y
M
KK
AB
DP
A
KP
LK
PP
L
SM
TT
NJ
KM
SK

Very easy to follow, thank you!

VR
HT
RR
M
SK
BB
MH
VV
LM
PP
N
K
KL
CD
SS
G
AB
GS
C
A
AK
T

Very good

KK
JC
DD
DD
K
JJ
PM
SD
VL
P

Background noise is disturbing

UD
VS
BN
SV
SJ
MP
SB
KT
A
PM
IS

amazing

SM
SG
AM
KA

amazing

AM
SM
NK
JP
BV
VB
K
S
LS
AK

This was good as of now .

R
HM
VT
AS
SL
PM
PM
JJ
NV
GG

3

NT

great

SA
RP
SA
DM
RR
BP
AG
CL
RP
S
AP
JD
M
VM
KG
LE
RH
OA
IT
S
M
A
RR
AL
S
PR
KS
TG
GF
Y
EK
DG
XS
NK

5

MC
S
NC
AK
LT
AS
BS
WR
J

ENJOYED ALOT

A
TT
I
TT
S

Creating dynamic test suite video is too fast, more detailed version would be better.

ML
B

This was a good review of the prior courses

YD
LC
J
W
GN
SB
BG
A
Katalon Studio Free
Katalon Studio Enterprise

Katalon Studio Free

Basic test automation for individuals and small teams.
Easily create and execute automated tests for web, mobile, desktop, and API.
Advanced features for debugging, data-driven testing, and reporting.
AI-powered test authoring and test data.

30-DAY PREMIUM TRIAL

Katalon Studio Enterprise

All-in-one test automation IDE for professional teams.
Easily create and execute automated tests for web, mobile, desktop, and API.
Simple for beginners, and powerful for pros. Create tests with no-code, full-code, or AI.
Advanced features for debugging, data-driven testing, execution, and reporting.
Easily import selenium projects.
Free

Materials include

  • 30 minutes on-demand video

  • Full lifetime access

Share