Hiya
Can you explain what the LABEL parameter means for the FindChild method
What attribute is it applied to? or is it a RxPath ?
Can you give an example.
Thanks
FindChild method
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: FindChild method
Hi atom,
label is just the name of the node as you can see in the element tree view in Ranorex Spy.
It`s a convenience function to find nodes based on the element tree view.
e.g.
Regards,
Christian
Ranorex Support Team
label is just the name of the node as you can see in the element tree view in Ranorex Spy.
It`s a convenience function to find nodes based on the element tree view.
e.g.
repo.MenuBarExplorer.Self.FindChild<Ranorex.Button>("start").Click();clicks on the desktop start button.
Regards,
Christian
Ranorex Support Team
Re: FindChild method
to get this straight "label" isnt applied to any attributes, only to the tag name itself?
can label be a regular expression?
can label be a regular expression?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: FindChild method
It`s only the tag name of the node.
No, reg ex doesn`t work. You have to use the exact label string.
Regards,
Christian
Support Team
No, reg ex doesn`t work. You have to use the exact label string.
Regards,
Christian
Support Team