jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

Feature Request: Grab all sub-controls in a Window #11

Closed myungs closed 13 years ago

myungs commented 13 years ago

Be able to grab all sub-controls, text_field, select_list, check_box, etc, in a given RAutomation::Window. Something akin to the #child, but allows the use of control methods, and class specific methods for (select_list, check_box).

snscaimito commented 13 years ago

We now have window.controls(locator) for that. One can say e.g. window.controls(:class => /BUTTON/i) to get a collection of all buttons on a window

myungs commented 13 years ago

Works as we wanted. Control let's us be flexible in looping through sets of elements.