Dynamically inquire all controls on form
Posted: Fri Mar 11, 2011 6:15 pm
Hi,
Please tell, does Ranorex framework provides way to dynamically inquire and get all child controls from certain form (in order to find certain control on form)?
Actually I need to scan whole tree of controls in Eclipse main form in order to find controls with certain labels. Using XPath for finding controls in Eclipse is not stable as all controls are identified only by dynamic numeric IDs that change depending on set of sub-windows that are currently active.
I have noticed that it is possible to inquire all child controls of some item in repository using Children property of adapter while I have not found a way how to inquire all child controls of some controls-folder (repository folder) that corresponds to form or to some container control.
Please tell is it possible to instantiate adapter for form using XPath expression?
Please point me to manual about framework where it is possible to read about instantiating adapters for any control that is recognized by Spy.
Thanks.
Regards.
Andrii Kalytiiuk
Please tell, does Ranorex framework provides way to dynamically inquire and get all child controls from certain form (in order to find certain control on form)?
Actually I need to scan whole tree of controls in Eclipse main form in order to find controls with certain labels. Using XPath for finding controls in Eclipse is not stable as all controls are identified only by dynamic numeric IDs that change depending on set of sub-windows that are currently active.
I have noticed that it is possible to inquire all child controls of some item in repository using Children property of adapter while I have not found a way how to inquire all child controls of some controls-folder (repository folder) that corresponds to form or to some container control.
Please tell is it possible to instantiate adapter for form using XPath expression?
Please point me to manual about framework where it is possible to read about instantiating adapters for any control that is recognized by Spy.
Thanks.
Regards.
Andrii Kalytiiuk