HI!
It's me again...
My problem is as follow:
I have controls all over the place and it's a tedious task going over them. Most of them don't have names, and the ID is same as handle always generated, and the class is also the same as by other controls. So. The only thing separating them from others is, position ( which is don't want to relay on, because that can change ) and the type / number / name of elements in them...
So want i want to do, is with form.Element.FindChild get the elements i'd like, and then from those elements get the control in which they are...
Apparently .Parent does not get this, it gets an element, but what i need is a Control..
So is there a solution for this then i'm missing?
Thank you very much for your time! This is really my last issue
Gergely.
Getting the control over an Element
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Hi Gergely,
Your requested feature is already implemented and comes with the next Ranorex release.
Accessing the control from an element:
I can send you a beta version if you need this feature before the release.
Regards,
Gabor
Ranorex Support Team
Your requested feature is already implemented and comes with the next Ranorex release.
Accessing the control from an element:
Code: Select all
Control parent = element.Control;
Regards,
Gabor
Ranorex Support Team
-
- Posts: 14
- Joined: Thu Aug 14, 2008 2:09 am