Skip to content

katalon-studio-samples/katalon-canvas-sample

Repository files navigation

Introduction

This project demonstrates how katalon studio helps users to automate Canvas applications. Canvas is something a bit tricky to automate so this project contains some of the test cases for Canvas.

Canvas

A canvas is a rectangular area on an HTML page, and it is specified with the element in HTML 5.

All the objects inside the canvas can not be accessible via DOM(Xpath/CSS/Property) because of the limited access to DOM users have to find the coordinates for the objects before performing the actions.

image

Requirements

Use case

We have two different application which we have used for our sample project

Test Steps

  • We are performing calculations (1+8=9) on the calculator.

  • Open the Web application with Canvas.

  • Capture the Canvas Object.

  • Find the Coordinates for the Targeted Object inside the Canvas.

  • Perform the action.

How to automate

  • Canvas application is completely working on coordinates.

  • User have to find the coordinates for the object

  • Write a test script by using object coordinates.

  • Run the test script on the browser.

  • Verify the test result.

Repository for the Sample Project: https://github.com/katalon-studio-samples/katalon-canvas-sample.git

Thanks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages