KBI 311996 Enhancement: Record and Replay Web Session Script for Web Pages Created in Canvas

Version

Argent Advanced Technology 5.1A-2207-A and later

Date

Monday, 20 June 2022

Summary

Many creative web pages are implemented using HTML Canvas

Canvas is a HTML element used to draw graphics on a web page. The content and mouse/keyboard events are handled with custom JavaScript

It is a black box from view of Argent Sentinel

In order to precisely re-playing user interaction, the coordinates of mouse events must be recorded along with the mouse event, such as left mouse click, right mouse click, double click, etc

Argent AT 5.1A-2207-A has been enhanced to do that

During recording, when Option ‘Emulate Mouse Press and Release’ is used, addition information of mouse coordinates is allowed to enter

The coordinates are relative to the ‘click-on’ location

It can be one of center, top/left, top/right, bottom/left and bottom/right

When X number is positive, it is to the right of click-on location; When X number is negative, it is to the left of click-on location

Similarly, when Y number is positive, it is down from click-on location; When Y number is negative, it is up from click-on location

Also, new keyword ‘RawClickEx’ and ‘RawDoubleClickEx’ are added for the new feature.

Technical Background

N/A

Resolution

Upgrade to Argent AT 5.1A-2207-A or later.