Forum Discussion

anumolu9999's avatar
anumolu9999
Contributor
5 years ago

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

  • 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.

  • tristaanogre's avatar
    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.

    • anumolu9999's avatar
      anumolu9999
      Contributor

      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?

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        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.