Forum Discussion

Wolf_Raider's avatar
Wolf_Raider
Regular Visitor
9 years ago

DevExpress, properties of TList property inaccessible

Hello.

 

First of all: we are a developer of a huge (over 3M lines of code) Delphi application, compiling it to a single exe is impossible.

We use Developer Express components and TestComplete.

 

Since we have migrated to Delphi XE7 and newest DevExpress components, our tests stopped working. Just some properties of DX controls are unavailable. Example: TcxImageComboBox.Properties.Items.Count.

 

Reason is that TcxImageComboBox.Properties.Items is TList<>, which is inside of rtl210.bpl. Non published properties of this class are unavailable in TestComplete. Ans, as I said before, compiling unit containing it with debug info is impossible.

 

I tried to write own plugin, but I just receive IDispatch when I try to send a control into it.

   TMyPluginRuntimeObject.DoSthWithControl(Control: OleVariant);

 

What can I do about it? Is there any way of geting control as a Delphi class? Or some way do get the debug info of standard Embarcadero classes?

 

P.S.

Same reason DevExpress extension supplied with TC in Object Spy is reporting:

wItemCount:

Error: Error
An error occurred.
Possible reasons:
1. The application stopped responding.
2. The application was compiled incorrectly (see the Open Applications topic in the help system).
3. An error occurred in TestComplete.

Technical information:
103 0x80020006 (Unknown name.) Count

2 Replies

  • NisHera's avatar
    NisHera
    Valued Contributor

    Me 2 had problem after upgrading to XE8 with TcxComboBox

    when try with debugInfo Agent disabled it runs without crashing

    But then can not access nessary information.

    Please enter a support case.

     

    • NisHera's avatar
      NisHera
      Valued Contributor

      We found that it was due to firemonkeys framework