Ask a Question

How best to automate charts/graphs that use Chart.js

SOLVED
jmoe
Occasional Contributor

How best to automate charts/graphs that use Chart.js

Since these are rendered as canvas objects (using Electron and Javascript), TC does not recognize anything but the top level image.  We need to validate the data.  Perhaps through Chrome Console, but if possible, prefer directly via our application (otherwise we're not really testing the UI).  Also, OCR is not an option for us.  Thanks.

1 REPLY 1
Marsha_R
Community Hero

Have you been through this setup? It sounds like it would help you drill down farther with Electron objects.

https://support.smartbear.com/testcomplete/docs/app-testing/web/electron/about.html


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: