Page 1 of 1

About ranorex pro

Posted: Mon Mar 12, 2007 2:31 pm
by arishahsan
Will ranorex pro work if we dont have control name of a particular form?

Actually I am using Actipro dlls for gui design of our software and now the problem is that actipro doesent provide controlName to its controls.

Posted: Mon Mar 12, 2007 11:09 pm
by webops
You can find a control also by Text (form.FindChildText), ControlId (form.FindControlId) or ClassName (form.FindClassName).

We also support a general way (with the Element class) to access every kind of control and control elements.
It should also work with custom controls.
Please try RanorexSpy with your custom controls.

Jenö
Ranorex Software

could u guide me how can I use RanorexSpy

Posted: Thu Mar 15, 2007 4:09 pm
by arishahsan
could u guide me how can I use RanorexSpy for custom control

Posted: Fri Mar 16, 2007 7:45 pm
by webops
Start RanorexSpy.exe, drag the Finder Tool over the custom control, then release the mouse button.
Check the control and the element properties and use the Control and Element functions to find and automate the objects in the form. Custom controls normally contains other basic controls. Find first the custom control in the form with the Form.Find functions and then the Children of the control with the Control.Find functions, or the elements with the Element.FindChild function.

Jenö
Ranorex Team