Bertrand
14 years agoOccasional Contributor
Getting a delphi derived component parent class
Hi ,
I'm testing an application written in Delphi .
I get the delphi component like this;
var MyComponent=MyWindow.Find('Name','VCLObject(Component)',30);
Then i try to get the derived component base class:
var type= MyComponent.ClassType();
var base=type.ClassParent();
But I have the result:type='undefined'.
(I found the ClassType() and ClassParent() methods using TestComplete Object inspector.)
Can anyone help me?
I'm testing an application written in Delphi .
I get the delphi component like this;
var MyComponent=MyWindow.Find('Name','VCLObject(Component)',30);
Then i try to get the derived component base class:
var type= MyComponent.ClassType();
var base=type.ClassParent();
But I have the result:type='undefined'.
(I found the ClassType() and ClassParent() methods using TestComplete Object inspector.)
Can anyone help me?