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 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

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

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

View solution in original post

1 REPLY 1
Marsha_R
Community Hero

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

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

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: