About ranorex pro

Class library usage, coding and language questions.
arishahsan
Posts: 26
Joined: Thu Jan 18, 2007 12:04 pm

About ranorex pro

Post by arishahsan » Mon Mar 12, 2007 2:31 pm

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.

admin
Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by admin » Mon Mar 12, 2007 11:09 pm

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

arishahsan
Posts: 26
Joined: Thu Jan 18, 2007 12:04 pm

could u guide me how can I use RanorexSpy

Post by arishahsan » Thu Mar 15, 2007 4:09 pm

could u guide me how can I use RanorexSpy for custom control

admin
Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by admin » Fri Mar 16, 2007 7:45 pm

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