Posted: Thu Mar 08, 2007 4:11 pm Post subject: Is there a way to recognize Custom Controls ?
Does Ranorex provide an interface to implement a proxy kind of mechanism to recognise Custom Objects for MFC and .NET Based Applications?
After getting the control (Form.FindControlById()), is it possible to cast it to the particular custom type (adding a reference to the compiled class type for the custom control) so that we can get all the public properties and methods of the custom control?
It will be a great help if you can suggest directions for recognizing custom controls.
We implemented a proxy mechanism to set and get the properties of .NET controls, we use it in RanorexSpyPro.
This approach doesn't work with MFC applications, the testcode runs in an other process space and the properties and methods of the C++ classes cannot be riched, we communicate with windows messages.
The Ranorex element approach supports a general way to access every kind of control and control elements. It should also work with custom controls.
Please try RanorexSpy with your application.
The Ranorex element approach works with both MFC and .NET controls.
It supports a general way to access every kind of control, it should also work with custom controls.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum