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
Partner Zones AWS Cloud
by AWS Developer Relations
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
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. Creating Test Cases Using Manual Mode With Katalon Studio

Creating Test Cases Using Manual Mode With Katalon Studio

This tutorial will show you how to create automation test cases in manual mode of Katalon Studio, using keyword-driven testing.

Oliver Howard user avatar by
Oliver Howard
·
Sep. 29, 17 · Tutorial
Like (8)
Save
Tweet
Share
6.46K Views

Join the DZone community and get the full member experience.

Join For Free

Katalon Studio supports keywords-driven testing, where test cases consist of keywords that represent actions of users on the AUT (Applications Under Test). This allows users with less experience in programming to easily generate automation tests. The below tutorial will give you step-by-step instructions in order to create an automation test case in manual mode.

To create a test case using script mode, see this article.

Given a sample test case with the following steps:

  • Open the browser
  • Navigate to a website
  • Click on a certain control
  • Validate if the control exists on the page
  • Close the browser

Follow these steps to automate the above test scenario in Manual view:

Select File > New > Test Case from the main menu to create a test case. Provide the name for the new test case, then click OK.

Katalon Studio new test case dialog

Once a new test case is created, it is opened in Manual view. This view allows users to define steps for the test case easily with little programming skills required.

Katalon Studio Manual Mode

Select Add > Web UI Keyword from the command toolbar.

Web UI Keyword Katalon Studio

Select the Open Browser keyword. This keyword opens a browser and navigates to the specified URL if provided (the detail of a selected keyword is shown in the popup screen as shown below)

Open Browser Keyword Katalon Studio

Add the Navigate To Url keyword. This keyword navigates to a specified URL. Double click on the Input cell to provide additional data (parameters) for the keyword.

Provide additional data

The Input dialog is displayed as below. Each row represents one parameter.

Input dialog Katalon Studio

Where:

Field Description
No The parameter order for the selected keyword.
Param Name The name of the parameter.
Param Type The data type of the parameter (e.g. String,Variable or Test Data Value…)
Value Type The type of input value (e.g. String, Variable or Test Data Value…)
Value The input value for this parameter.
Input value varies depending on the specified Value Type. Refer to Value Types in Katalon for more details.

For now, enter the URL of Katalon demo AUT (http://demoaut.katalon.com) into the Value column then click OK.

Add the Click keyword. This keyword represents a click action on a given object. You need to associate this keyword to an object. Double click on the Object cell to open the Test Object Input dialog.

click keyword Katalon Studio

All captured objects in Object Repository are displayed in the Test Object Input dialog (Refer to Spy Object for details regarding how to capture objects). Select your object then click OK.

Test Object Input Dialog

Add the Verify Element Present keyword. This keyword validates if a certain object is displayed on the executing browser. Similar to the previous step, you need to associate this keyword with an object.

Verify element present

Add the Close Browser keyword and save your test case.

Close Browser Keyword Katalon Studio

Click on Run in the main toolbar to execute the test case.

Execute test Katalon Studio

Katalon Studio should be able to execute all of the steps specified in the test case. Test execution results are shown in Log Viewer as below:

Log view dialog Katalon Studio

For more tutorials, please visit the Katalon Studio Resources Center!

Test data Katalon Studio Test case Object (computer science)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How Chat GPT-3 Changed the Life of Young DevOps Engineers
  • Container Security: Don't Let Your Guard Down
  • Use AWS Controllers for Kubernetes To Deploy a Serverless Data Processing Solution With SQS, Lambda, and DynamoDB
  • 4 Best dApp Frameworks for First-Time Ethereum Developers

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: