Forum Discussion

auutumn's avatar
auutumn
New Contributor
13 years ago

How to automate the testing of changing graphs, text, etc?

Our web site has data (bar graphs, text, etc) that changes daily. I've been trying to think if there's a way I can automate the testing of these components but I'm coming up blank, what suggestions do you have?



I've attached three screenshots showing areas that I'd like to automate but were the data changes.
  • Hi,



    TC doesn't have special support for graph controls. If you need to get and validate data which is used to draw a graph, use native web properties and methods of your control as you'd do in your application to get this data. If you need to validate the graph data, you can keep expected baseline values in, for example, XLS file or a table variable and read it at run-time via DDT.