cancel
Showing results for 
Search instead for 
Did you mean: 

Can we do Graphs and Scaling validation with testcomplete

SOLVED
Highlighted
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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Can we do Graphs and Scaling validation with testcomplete

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

View solution in original post

5 REPLIES 5
Highlighted
Community Hero

Re: Can we do Graphs and Scaling validation with testcomplete

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

View solution in original post

Highlighted
Contributor

Re: Can we do Graphs and Scaling validation with testcomplete

@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?

Highlighted
Community Hero

Re: Can we do Graphs and Scaling validation with testcomplete

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
Highlighted
Community Manager

Re: Can we do Graphs and Scaling validation with testcomplete

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
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Community Manager

Re: Can we do Graphs and Scaling validation with testcomplete

@anumolu9999 how did the initial suggestion work for you?


Sonya Mihaljova
Community and Education Specialist
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors