Table of Contents
Enroll in Selenium Training

Katalon Studio supports two methods to validate: firstly, a method which is using built-in keywords to verify the states of particular test objects. Secondly, which uses checkpoints to check a specific data set against a previously captured data set. Subsequently, in this tutorial of Common validation statements, we will explain how to make use of these methods when designing your automation test. Additionally, we will cover the below topic in this article:-

  • Validation with Captured Objects
  • And, Validation with Checkpoint

Validation with Captured Objects

All Katalon Studio built-in keywords that we use for validating will have a prefix “Verify…”. For example, to check whether a specific control present on the page, Katalon uses Verify Element Present ( keyword.

On the test case editor, you can add a validation keyword to validate a captured object. Follow these steps to add a validation point to your Katalon Test case:

  1. Firstly, from the Manual view, add a new keyword for your test case.

Recent keywords allow users to quickly add any of the last 10 recently used keywords in the Item list.

Common validation statements with Katalon Studio

  1. Secondly, when we add the new keyword, scroll down to see all available Verify keywords. Subsequently, you can select a suitable one. In this case, if you add the Verify Element Present ( keyword which validates a specific object displayed on the browser, you need to specify the object to be used with this keyword.

Verify Element Present on Create Test Case

  1. Thirdly, all captured objects in Object Repository display in the Test Object Input dialog. Consequently, select your object then click OK.

Test Object Input Dialog

  1. Fourthly, your validation point with Verify Element Present keyword will look similar to the following example:

Verify Element Present on Create Test Case 2

  1. Fifthly, add the Close Browser ( keyword. Additionally, save your test case.

Closer Browser on Create Test Case_common validation statements

  1. Sixthly, click on Run in the main toolbar to execute the test case.

Run to execute the test case on Create Test Case_common validation statements

Conclusively, the Katalon Studio should be able to execute all the steps of the sample test case.

Validation with Checkpoint

If you want to verify whether a data set is still the same, you can use checkpoints to address this.

First, you need to create a checkpoint instance. Refer to Manage Checkpoint ( for more details.

Katalon Studio supports a broad range of data source for checkpoints such as Excel, CSV, Database, and checkpoint description.

Then, you can use the Verify Checkpoint ( keyword to validate the state of the data. This keyword will verify if checked data of a checkpoint matches its source data. Description of the keyword’s parameters, returns, and uses is as follows:


  • checkpoint – Checkpoint (required): specifies the input checkpoint. ** logChangedValues – boolean (required): specifies whether changed values between checkpoint data and the source will log.*
  • flowControl – FailureHandling (optional): specifies failure handling schema to determine whether the execution should be allowed to continue or stop. You can find more details in Failure handling (


  • true: if checked data of checkpoint matches its source data.
  • false: if checked data of checkpoint does not match its source data.


The following example provides a manual specification and script to verify the checkpoint:

Manual specification:

automation test Katalon Studio_common validation statements


import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint

'Use WebUI keyword'

WebUI.verifyCheckpoint(findCheckpoint('Checkpoints/chk_DataSnapshot'), false)

'Use Mobile keyword'

Mobile.verifyCheckpoint(findCheckpoint('Checkpoints/chk_DataSnapshot'), false)

'Use Web Service keyword'

WS.verifyCheckpoint(findCheckpoint('Checkpoints/chk_DataSnapshot'), false)

Conclusively, that's all about common validation statements in Katalon Studio.

How to create a custom keyword
How to create a custom keyword
Previous Article
Configuring Katalon Studio for the Web automation test project
Configuring Katalon Studio for the Web automation test project
Next Article

Similar Articles