I have a 'Ranorex.TrTag' element whose descendents are multiple Span Tags. All these span tags uses class attriutes. Is there any way to findout descendents of type span having some particular class value.
Ex Above mentioned TrTag has span multiple span tags some having class='normal' and some having class='special'. How to find descendents whose class is 'special'.
Thanks,
find descendents
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: find descendents
Hi,
You can use the following code:
Markus
Ranorex Support Team
You can use the following code:
IList<SpanTag> list = YourTrTag.Find<SpanTag>(".//span[@class='special']");Kind Regards,
Markus
Ranorex Support Team