Ask a Question

Can we do Graphs and Scaling validation with testcomplete

SOLVED
anumolu9999
Contributor

Can we do Graphs and Scaling validation with testcomplete

Currently we had an application which is having graphs. The graphs are generated in the AUT based on the data in excel. I tried object recognition, but the whole graph is showing as an object and object type is showing as 'CANVAS'

 

Can we able to validate the graphs and scaling points created on x and y axis using testcomplete using that data? Should Intelligent Quality add on do any help for the above scenario?

 

Please see attachments

5 REPLIES 5
tristaanogre
Esteemed Contributor

The only way to checkpoint a graph is to use an Image/Region comparison or checkpoint.  It is, basically, a drawn image and does not have OleObject compatible components within it to be able to do that type of comparison.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

@tristaanogre  Thank you for your suggestion and I will surely try. And I would like to know, whether Intelligent Quality add on do any help for validation of the graphs?

I don't know.  The IQ Add on, as I understand it, is an improvement on OCR which is text recognition.  The graph is, as I understand it, an image and not necessarily text so I doubt so.  I'm not a SmartBear employee so, perhaps, someone else can give a better answer but my gut feeling is that, no, IQ won't help.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
sonya_m
SmartBear Alumni (Retired)

Thanks tristaanogre

 

@anumolu9999 regarding the IQ add on, you can find what it can be used for in this article  - https://support.smartbear.com/testcomplete/docs/general-info/testcomplete-modules.html

 

Essentially, as tristaanogre mentioned, it is used for text-based elements.


Sonya Mihaljova
Community and Education Specialist

sonya_m
SmartBear Alumni (Retired)

@anumolu9999 how did the initial suggestion work for you?


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: