The method "FindChildren" only searches for immediate child elements
What method can be call to find ALL child elements
(i.e. children at any depth, not just immediate)
FindChildren
Re: FindChildren
Hi,
Please post a Ranorex snapshot (NOT screenshot) of the GUI you are trying to automate and xpath of element, in which you want to find its children. Thanks.
Please post a Ranorex snapshot (NOT screenshot) of the GUI you are trying to automate and xpath of element, in which you want to find its children. Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: FindChildren
Hey,
If you want to search for all elements of a particulr type you can use the Find method like this
This code will search for all elements with td tag below the root element.
BR
Manish
If you want to search for all elements of a particulr type you can use the Find method like this
Code: Select all
IList<TdTag> tdTags = element.Find<TdTag>(".//td[@class='classname']");
BR
Manish