
In this video we will learn:
1. What is Katalon Studio ?
2. What can you do with it ?
3. How can it help in your Test Automation ?
References:
https://www.katalon.com/
https://www.katalon.com/features/
In this video we will learn:
1. Check system requirements
2. Download and Start Katalon Studio
At the end of this video we will look at some helpful tips
Below are the minimum software and hardware requirements for Katalon Studion:
Processor: 1 GHz, 32-bit (x86) or 64-bit (x64) processor
Memory: 1 GB RAM (32-bit) or 2 GB RAM (64-bit)
Disk Space: 1 GB available hard disk space
Java Version: JDK 7
References:
https://docs.katalon.com/display/KD/Installation+and+Setup
https://docs.katalon.com/display/KD/Release+Notes
In this video we will learn :
1. Understand Katalon Studio UI
Helpful TIPS
Main Toolbar - quick access toolbar
Test Explorer - manage and organise test
Keyword Browser - quick access keywords
Editors - for creating + managing tests
Views Toolbar - quick access views
Perspective - keyword & debug
Preferences - for default settings
Reset Perspective - go back to default gui
Useful Tips (available in the video)
Link to documentation icon
Command palette
Report Issue menu option
Skip Test options
In this video we will learn :
3 Ways to create Automation Test
1. Record & Replay
2. Manual Mode
3. Script Mode
Record & Replay
Quickly Record your tests
Manual mode
Add keywords step wise
Script mode
Script your test cases
(using java or groovy)
Script mode
Script your test cases
(using java or groovy)
Quick Tip
All the 3 modes can be used to add/edit test case and prepare final automated test.
To start you can first start with Recording your test
Then goto manual mode and update/edit as required
Script Mode may be needed for customized actions
Replay your created test
In this video we will learn:
1. How to Record first Test
2. How to add validation points
3. How to Edit/Update the test
4. Replay
Helpful TIPS
1
Record
Quickly Record your test
We will record this ...
Goto url:
http://opensource.demo.orangehrmlive.com/login
Login
Record some actions
Exit
2
Add Validations
Quickly add assertions
3
Edit \ Update
Quick edit in Manual Mode
4
Replay
in any available browser
Quick Tips
In case you need to update object identifiers
OR
missed any objects during recording
Use Object Repository
(To update object identifiers)
Use Spy Web
(to capture new objects)
In this video we will learn:
1. What is manual mode
2. How to create test in manual mode
3. How to Edit/Update the test
Helpful TIPS
_____________________________________
We will automate this test...
Goto url:
http://opensource.demo.orangehrmlive.com/login
Login
Add some checkpoints
Exit
What are we going to do...
Step 1 : Capture Objects to be used in the test
Step 2 : Create the test in manual mode
Step 3 : Run the test
_______________________________________
How to proceed on failure
Set the options from the menu:
Project - Settings - Test Case
Stop on Failure
Continue on Failure
Optional
You can also set Proceed on failure option per Step
https://docs.katalon.com/display/KD/Failure+handling
In this video we will learn:
1. What is script mode
2. How to create test in script mode
3. Run and validate
Test Case Creation modes in Katalon Studio :
1. Record & Playback
2. Manual mode
3. Script mode
Script Mode in Katalon Studio :
Create Test with Scripts
Use keywords (built-in/custom) to create scripts
Java | Groovy
We will automate this test...
1. Open Browser
2. Goto url: http://lifecharger.org/
3. Perform actions : click | text | checkpoints
4. Close Browser
How are we going to automate this...
Step 1 - Capture Objects to be used in the test
Step 2 - Create a new test case - goto script editor
Step 3 - Create test in script mode
Step 4 - Run and validate
_________________________________________
How to skip steps in test run
Add annotation not_run: to exclude the step in script mode
In manual mode
right click - disable
will do the same thing
Excluded steps will be shown in report as Not_Run
_________________________________________________
Some useful links:
Built-in Keywords
https://docs.katalon.com/display/KD/Keyword+Index
In this video we will learn:
1. What is TestSuite
2. Create & Run TestSuite
________________________
What is Test Suite...
Test Suite is a collection of Test Cases
Logical collection of Test Cases
Test Cases are grouped into categories
_______________________________________
Goto
TestSuite - Execution Information
Set timeout
Set retry count
Add mail recipients
View last run report
Create folders to categorise your test cases
Today we will learn:
1. What is Test Suite Collection
2. Why is it required
3. How to create and run TS Collection
_________________________________________________
1. What is Test Suite Collection
Collection of Test Suites
2. Why is it Required
to group Test Suites logically
to run test suites in sequence or in parallel
to run test suites on multiple browsers / env
_________________________________________________
3 How to create and run Test Suite Collection
How to do parallel testing
_________________________________________________
Helpful tips
You can add the same test suite multiple times inside a test suite collection
And make it run on different browsers/env
__________________________________________________
Katalon Studio
How to get data from excel | csv files
Today we will learn:
How to refer values from excel/csv
How to iterate all the data from test data file
Code to get data from data file (findTestData)
Code to loop data source (getRowNumbers)
Step 1 : Create your test case
Step 2 : Create data file (excel/csv) and add your data
Step 3 : Create variables and refer in Test Case
Step 4 : Add your data file in Katalon Studio
Step 5 : Add your test case in a Test Suite
Step 6 : Click on Show Data Binding and add data
Step 7 : Save and Run
for(def rowNum=1; rowNum <=findTestData("data1").getRowNumbers() ; rowNum++)
{
//WebUI.setText(findTestObject('Object Repository/Variables/Page_OrangeHRM/input_txtUsername'), Username)
WebUI.setText(findTestObject('Object Repository/Variables/Page_OrangeHRM/input_txtUsername'), findTestData("data1").getValue(1,rowNum))
//WebUI.setText(findTestObject('Object Repository/Variables/Page_OrangeHRM/input_txtPassword'), Password)
WebUI.setText(findTestObject('Object Repository/Variables/Page_OrangeHRM/input_txtPassword'), findTestData("data1").getValue(2,rowNum))
Thread.sleep(3000)
}
https://docs.katalon.com/display/KD/Manage+Test+Data
In this video we will learn:
1. Test Case Report
2. Test Suite Report
3. Test Suite Collection Report
_________________________________________
1. Test Case Report - Log Viewer
Features:
Execution Filters
Tree View
Scroll Lock
Test Case Report is not preserved
_________________________________________
2. Test Suite Report - Historical Report
Features:
created after Test Suite execution
named with timestamp - YYYYMMDD_HHmmss
provides summary + details
html report
Test Suite Report is preserved (historical report)
_________________________________________
3. Test Suite Collection Report - Historical Report
Features:
created after Test Suite Collection execution
named with timestamp - YYYYMMDD_HHmmss
provides summary + details
html report
This Report is preserved (historical report)
_________________________________________
Helpful Tips:
can rename reports to meaningful names
can view captured screenshots in reports
can open reports after execution
In this video we will learn:
1. How to configure Email Settings
2. Test Email Notification
________________________________________
1. Configure Email Settings
Project - Settings - Email
2. Test Email Notification
run a test suite and test
________________________________________
Helpful tips
Goto Project - Settings - Email
check the option send attachment
This will enable sending csv and html reports as attachment in result email
References:
Email Settings : https://docs.katalon.com/display/KD/Emails+Settings
Configure Email Settings : https://docs.katalon.com/display/KD/How+to+configure+email+settings+in+Email+Preferences
Today we will learn:
1. What is Katalon Analytics
2. Why should you use it
3. How to use Katalon Analytics
4. How to upload reports to Katalon Analytics
Katalon Analytics -
Store, view, analyse results
Step 1 : Goto https://analytics.katalon.com/ and login
Step 2 : Create a new project
Step 3 : Open Katalon Studio
Project > Settings > Integration > Katalon Analytics
Give details and connect
Select automatic upload (optional)
Step 4 : Run your TestSuite and check reports uploaded to Katalon Analytics
Step 5 : Run some more tests to validate reports are getting uploaded
Step 6 : Check manual upload
Step 7 : Analyse reports on Katalon Analytics
References:
https://analytics.katalon.com/
https://docs.katalon.com/pages/viewpage.action?pageId=5118810
In this video we will learn:
1. Why is command mode important
2. How to do Console Mode Execution
Mac | Windows
3. Advantages
__________________________________________
1. Why is Command mode Important
Importance of command line execution
- Integration with other systems
- Faster runs
- No dependency on UI
- Important for implementing at enterprise level
__________________________________________
2 How to do Console Mode Execution
Mac | Windows
Prerequisites
Java should be installed
Java Installation Guides:
https://www.youtube.com/playlist?list=PLhW3qG5bs-L_qj1L5hnHvJYeFpQ_g4UuU
References:
https://docs.katalon.com/display/KD/Console+Mode+Execution
__________________________________________
3 Advantages
- Faster runs
- Auto-schedule
- Parallel executions
- Integration with other processes
- No need to open GUI
- Configure parameters : command | properties file
__________________________________________
Helpful tips
Using properties file in console mode
Generate properties file (from command builder)
Use command:
katalon -propertiesFile="absolute path to console.properties file" -runMode=console
In this video we will learn :
1. Download & start Jenkins
2. Create a job in Jenkins
3. Add Katalon Studio Commands
4. Run & test
helpful tips
_____________________________________________
Prerequisites :Jenkins should be installed
1. Download & Start JENKINS
Step 1 : Download Jenkins
(download jenkins.war from https://jenkins.io/)
Step 2 : Start Jenkins
(command : java -jar jenkins.war)
_____________________________________________
2. Create a job in Jenkins
_____________________________________________
3. Add Katalon Studio Commands in the job
_____________________________________________
4. Run & Test
_____________________________________________
Now we can...
Run scheduled tests
Run test after git commit
Integrate testing in CI process
We will learn this in coming sessions
_____________________________________________
Helpful Tips
While generating command in Katalon Studio, uncheck “Keep Console Log after execution completed”
_____________________________________________
References:
JENKINS introduction video - https://www.youtube.com/watch?v=89yWXXIOisk
Katalon Studio Documentation - https://docs.katalon.com/pages/viewpage.action?pageId=786527
In this video we will learn :
1. How to add project to git
2. How to clone project
3. How to commit, pull, push
We will look at some Useful Tips
Tom:
Step 1: Create a remote GitHub repository
Step 2: Create a Katalon Studio project
Step 3: Clone the repository into Katalon Studio
Step 4: Commit and Push the project
Kim:
Step 1: Close the project created by Tom in Katalon Studio
Step 2: Make some changes
Step 3: Commit and push the changes
All can now pull and merge their changes
In this video we will learn :
How to enable Jenkins to run the latest updated project
(with Git)
In 5 Easy Steps
Step 1
Add Test Suite execution commands in Jenkins Job
Step 2
Install Git on your system
Step 3
Test git commands
git pull
git add
git commit
git push
Step 4
Add git commands to Jenkins Job
Step 5
Run & Validate
This course is created for complete beginners. If you do not have any programming experience and want to learn test automation, this course is for you. Very basic step by step videos to guide you from scratch.
In this session we will start from very basics of Katalon Studio.
Let's Get Started...