Tutorialspoint

MEGA SKILL MARATHON | FLAT 10% OFF | Use: MEGA10

Karate framework - UI & API Automation

person icon Lucky Trainings

4.7

Karate framework - UI & API Automation

Karate DSL API Automation , REST API Testing with Karate Framework,End to End API Automation with Karate Framework

updated on icon Updated on Apr, 2026

language icon Language - English

person icon Lucky Trainings

category icon Programming,Software Testing,

Lectures -61

Resources -3

Duration -6.5 hours

Lifetime Access

4.7

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

API Automation Made Simple using Karate Framework

Karate Framework for Beginners:
  • API Automation with Karate Framework
  • API Automation using Karate Framework
Karate Framework
Karate is an open-source general-purpose test-automation framework that can script calls to HTTP endpoints and assert that the JSON or XML responses are as expected. Karate is implemented in Java, but test scripts are written in Gherkin since Karate was originally an extension of the Cucumber framework.
Karate is built on top of Cucumber, another BDD testing framework, and shares some of the same concepts. One of these is the use of a Gherkin file, which describes the tested feature. However, unlike Cucumber, tests aren't written in Java and are fully described in the Gherkin file.
From this course, you will learn the following concepts:
  • Karate configuration
  • Overview of API with examples
  • Overview on JSON with examples
  • Live example of API calls
  • Karate Framework
  • GET/POST Request
  • Data-Driven with Scenario Outline
  • Creating Parallel runner
  • Assertions
  • Using match
  • JSON Array matching
  • Schema validation
  • Fussy matcher: #string, #number
  • Calling another feature
  • Tags and Run with tags
  • Karate runner configuration and karate options
  • Report Generation
  • Cucumber Report Generation
  • Karate Report Generation
Scenario & Data Handling
  • Examples on Scenario Outline: data to post request using scenario outline examples
  • Reading data from csv file and using it in post request
JIRA Integration
  • JIRA Trail account creation
  • Overview of JIRA user API, capturing JIRA account ID, generating an access token, & converting curl command into a postman
  • Basic Auth on JIRA for retrieving user information using GET
  • Example of POST using JIRA Basic Auth
  • JIRA POST with basic auth and accessing data from a CSV file
Configuration & Environment Setup
  • Overview of karate-config file
  • Create a karate-config file and add some data into it
  • Use variables defined in the config file inside the scenario
  • Update runner class to recognise karate config file
  • Reading data from the karate config file and using it in the scenario
  • Update runner class with environment-specific variables
Reporting & Execution
  • Integration of cucumber reporting
  • Parallel execution
  • Execute karate scripts from the command line
Jenkins Integration
  • Execute karate scripts from Jenkins CI/CD
  • Execute karate scripts from Jenkins CI/CD
Validation & Troubleshooting
  • Validate responses by matching each
  • Overview of authentication
  • How to resolve initialization error in the Karate Framework after configuration
  • How to Handle SSL Handshake Error
Karate UI Automation
This course is designed for Beginners who want to get some knowledge on UI automation using the Karate framework.
Topics covered:
  • Overview of Karate UI Automation & Its features
  • Karate UI Configuration & Creating a project in Eclipse Editor
  • Program to launch a browser
  • Karate Locators with Multiple Examples
  • Browser Actions: back, forward, refresh, reload, Max, Min & FullScreen
  • How to get the title and URL of the web page
  • How to Get Dimensions & Position
  • How to Capture Screenshot for Entire Page, to Object, on Failure
  • Karate framework HOOKS
  • Handling drop-downs
  • Highlight, Focus, Submit, and clear commands with examples
  • Handling Alerts
  • Handling Frames
  • ReRun a Failed Scenario
  • Upload a File, ScrollDown to an Object
  • Handling Multiple Windows, Get Text, Attribute & Value
Karate Framework is:
  • Simple, clean syntax that is well-suited for people new to programming or test-automation
  • Option to use wildcard and “friendly” locators without needing to inspect the HTML-page source, CSS, or internal XPath structure
  • Cross-Browser support includes Microsoft Edge on Windows and Safari on Mac
  • Convert HTML to PDF and capture the entire (scrollable) webpage as an image using the Chrome Java API

Conclusion:

At the end of this training, you will be in a position to work on your project using this framework. This course is designed for beginners who wants to start their career in api automation testing.
See you in the session. Thank you, guys.

Goals

  • API Automation using Karate framework.

  • UI Automation using the Karate framework.

  • How to Automate any website.

  • Handle various UI operations.

  • Rerun failed scenarios and capture screenshot.

Prerequisites

  • Basic idea on Manual Testing.

  • Basic idea on API testing.

Karate framework - UI & API Automation

Curriculum

Check out the detailed breakdown of what’s inside the course

UI Automation

23 Lectures
  • play icon Overview on Karate UI Automation & Its features 02:28 02:28
  • play icon Karate UI Configuration & Creating a project in Eclipse Editor 07:45 07:45
  • play icon Program to launch a browser 15:58 15:58
  • play icon Course Material 00:28 00:28
  • play icon Karate Locators with Examples Part 1 16:06 16:06
  • play icon Karate Locators with Examples Part 2 13:32 13:32
  • play icon Karate Locators with Examples Part 3 10:18 10:18
  • play icon Karate Locators with Examples Part 4 09:49 09:49
  • play icon Karate Locators with Examples Part 5 04:13 04:13
  • play icon Karate UI Browser Actions - back, forward, refresh, reload, Max, Min & FullScreen 10:13 10:13
  • play icon How to get Title & URL of the web page 04:41 04:41
  • play icon How to Get Dimensions & Position 05:14 05:14
  • play icon Hooks in Karate Framework 07:28 07:28
  • play icon How to Capture Screenshot for Entire Page, to Object, on Failure 11:44 11:44
  • play icon How to Handle Keyboard , Highlight, Focus, Submit vs Click , Clear 15:45 15:45
  • play icon Handling Dropdown Part 1 11:19 11:19
  • play icon Handling Dropdown Part 2 11:15 11:15
  • play icon Handle Alerts 09:04 09:04
  • play icon Handling Frames 06:33 06:33
  • play icon Handling Multiple Windows, Get Text, Attribute & Value 16:18 16:18
  • play icon How to Upload a File, ScrollDown to an Object 11:36 11:36
  • play icon ReRun a Failed Scenario 03:18 03:18
  • play icon Karate Runner configuration , Karate Options 03:37 03:37

API Automation

38 Lectures
Tutorialspoint

Instructor Details

Lucky Trainings

Lucky Trainings

I am Surendra Jaganadam having 13 years of experience in software testing and 9+ years of experience as a trainer in handling online, offline and corporate training's.

We designed this course which covers different Automation, Mobile Automation & API Automation Testing tools Selenium, Appium, Protractor, Karate Framework, XCUITest within a single package from basics which will be helpful for all learners to start implementing these tools on their projects.  You can reach me anytime if you have any queries

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515