Forum Discussion

d_jansen's avatar
d_jansen
New Contributor
13 years ago

TestComplete and VISIO

Hi there,



i'm testing an application which works alot with VISIO drawings (We're using VISIO 2010 atm)

My problem is, that i cannot create e.g. region checkpoints in VISIO.

When i'm trying to do this the whole system freezes.

Various attempts showed that after killing the testcomplete process, our application is still running without error.

5 Replies

  • One workaround you could try would be to use Viso's Save As... commands to export .png images of the drawing, and load those into a Picture object for use with the Compare method.



    I haven't ever tried using TestComplete this way, but would you benefit from mapping Visio's Size and Position window or Drawing Explorer? That could get you discrete data instead of working with image comparison.
  • d_jansen's avatar
    d_jansen
    New Contributor
    Thanks for the reply but neither one of the solution purposes are helping us.

    I need detailed information about the objects drawn in VISIO.

    I'm attaching the .dmp file for the last crash.


  • Hi Dave,


     


    I don't quite understand whether TestComplete or Visio has crashed. If it's TestComplete, please refer the crash report to the product Support team.


     


    As for testing Visio diagrams, I guess that you need to use Visio's COM object for this. This approach will provide you with a reliable way to recognize each block and the connections among blocks.


     

  • d_jansen's avatar
    d_jansen
    New Contributor
    Hey Tanya,

    it is TestCompelte that crashes, i've now send a message to the support team also including dmp files.



    We're not sure what you mean using COM objects? The developers are alreadi using those to proceed in developing our application.


  • Hi Dave,


     


    We're not sure what you mean using COM objects? The developers are alreadi using those to proceed in developing our application.


    TestComplete is unlikely to correctly recognize individual blocks in a Visio scheme, while Visio's COM object allows doing this. Refer to this MSDN article for details.