Page 1 of 1

Cannot search control with class name

Posted: Wed Jul 19, 2006 3:52 pm
by hsc
I would like to find a control in a dialog with class name, but the form class doesn´t have a function for this.

FindClassName implemented for V0.9.2

Posted: Wed Jul 19, 2006 9:57 pm
by webops
OK, you are right, I added this function to the Form class (Form.FindClassName).
You can use it in the next Version 0.9.2

But some suggestions:
  • If a control has a control name, search the control by control name.
    If a control hasn't a control name, but has a control Id,
    than search the control by control Id.
    If you have problems with the first two, you can search the control by class name, but use this possibility only if you have no other one.
Jenö Herget
Ranorex