Tutorialspoint

4th Of July Sale Flat 10% off, Use Code: FREEDOM10

Karate framework - UI & API Automation

person icon Lucky Trainings

4

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 Jun, 2024

language icon Language - English

person icon Lucky Trainings

category icon Automation Testing,API Testing,postman Tool,REST API,Software Testing,

Lectures -61

Resources -3

Duration -6.5 hours

4

price-loader

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 end-points 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

  • Examples on Scenario Outline: data to post request using scenario outline examples

  • Reading data from csv file and using it in post request

  • JIRA Trail account creation
    Overview of JIRA user API, capturing JIRA account ID, generating 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

      Overview on reports generated by karate framework with example

      • JIRA POST with basic auth and accessing data from csv file

      • Overview of karate-config file
        • create karate-config file and add some data into it

        • use variables defined in config file inside the scenario

        • update runner class to recognise karate config file 

        • Reading data from karate config file and using it scenario
          • update runner class with environment specific variables

          • Integration of cucumber reporting 

          • Parallel execution 

          • Execute karate scripts from the command line
            • Jenkins Integration: Execute karate scripts from Jenkins CI/CD

            • Jenkins Integration: Execute karate scripts from Jenkins CI/CD
              • Validate responses using match each

              • overview on auth authentication

                • How to resolve initialization error in karate framework after configuration 

              • How to Handle SSL Handshake error


Karate UI Automation: This course is designed for Beginners who wants to get some knowledge on the UI automation using Karate framework 

We Covered this course with bunch of examples on individual concepts. 

Topics we cover as part of this training program: 


  • Overview on 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) web-page as an image using the Chrome Java API

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

#API Automation Testing

#APIAutomationTesting

#karate

#EndtoEndAPIAutomationwithKarateFramework.

#APIAutomationMadeSimple.

#End to End API Automation with Karate Framework.

#API Automation Made Simple.

Goals

API Automation using Karate framework

UI Automation using 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