SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2

Thread: Object Mapping

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Object Mapping

    Hello All,

    I am trying to grab values inside of custom built, COM/OLE, objects. Our objects plot power spectrum coefficients in nice pretty graphs.

    We would like to validate the actual values being plotted in our automatic test. We are unable to access these values inside the object using the object browser. We are unable to use the OleObject function of TestComplete to open our custom objects ("No Such Interface Supported" error).

    I just tried object mapping. I've tried every type I could to map my class, and everytime I try I get a "The selected object does not match the criteria of the <insert group name here> group."

    We used the instructions in the manual to compile our application as an Open Application, using all debug info options that we could. Not sure what our options are at this point. Thanks!!

    -Louis Morda
    Teledyne RDI

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Posts
    928
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Object Mapping

    Hello Louis,

    [ QUOTE ]

    We are unable to use the OleObject function of TestComplete to open our custom objects ("No Such Interface Supported" error).


    [/ QUOTE ]
    This error occurs when the COM object does not support automation. That is, it does not implement the IDispatch interface, which is required to work with the COM object from script. So, you can either add automation support to the COM object or create a custom plug-in that will wrap the object and provide functions that can be used in scripts. To create custom plug-ins, you will need TestComplete SDK:

    http://www.automatedqa.com/products/...ete/tc_sdk.asp
    Regards,
    Alex - SmartBear Support

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:32 AM.

Copyright BetaSoft Inc.