TestProject Forum
Powered by leading experts in the test automation community

How to draw canvas using Smart Test Recorder

Hi All,

Do we have any option to draw canvas using Smart Test Recorder. Tried to do using Move mouse to element with offset, it did not work.

Please direct me with the right options.

Thanks,
Santosh

Hello @Viswateja.Yakkala thanks for reaching out.
“Draw On Canvas” addon has just released and now available on the Addons page:

you can use it by hovering a Canvas element, double shift to capture it, and look for the “Draw On Canvas” action:

these are the inputs you can set:

XStart - Offset from the element’s in-view center point. A negative value will move the point left from its center. A positive value will move the point right from its center.

YStart - Offset from the element’s in-view center point. A negative value will move the point above its center. A positive value will move the point below its center.

xOffset - horizontal offset. A negative value will draw the line in to the left, while a positive will draw it to the right.

yOffset - vertical offset. A negative value will draw the line in an upward direction, while a positive will draw it in a downward direction.