Forum Discussion

fattahsafa's avatar
fattahsafa
Occasional Contributor
9 years ago

TestComplete can't recognize ComponentOne Controls

Hi,

Ourr tested app contains ComponentOne TrueDBGrid, however it's class is a derived class with name "sthTrueDBGrid". TestComplete can't recognize this grid. The same problem also exists in a tollbar. I tried the demo for C1 controls on TC tutorial but didn't work. I also tried to add the derived class name to ComponentOne in Object Mapping group in Project Properties but such category doesn't exist.

 

Thanks,

Abed.

7 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Fattah_safa,

     

    According to the Supported ComponentOne Controls ( http://smartbear.com/viewarticle/72593/ ) article, TestComplete officially supports only ComponentOne Menus and Toolbars for .NET Suite. To test you grid control, you need to create your own script that will work with native methods and properties of the control. This approach is listed in the What If My Control Is Not Supported? section of the Supported Controls ( https://support.smartbear.com/viewarticle/68065 ) article. Also, there is a sample in our How To portal that should help you understand this approach better: https://support.smartbear.com/viewarticle/8973/

    • fattahsafa's avatar
      fattahsafa
      Occasional Contributor

      Hi Tanya,

       

      Thanks for your reply. Actually I had a look at the examples in https://support.smartbear.com/viewarticle/75394/ (ComponentOne True DBGrid Pro) section, and tried to port the example to be working agaisnt my application but didn't work. The example uses properties and fearures that don't appear in the our TrueDB grid control in TC. Although both grids, in the example and that in our application, are TrueDB grid.

      Another thing, I'm also dealing with C1 toolbar in my tested app, but none all ot it's controls are recognized. For example, none of its buttons are identified as objects that can be mapped, only as items. 

       

       

      Best Regards,

      Abed.