Hiya
Quick question
I have a Ranorex.Table object, and I want to find all Row's where Selected = True
Because I want to set Selected = False on all these Row's to have none selected
How can I do that ?
Regards
Find all Selected Rows in Ranorex.Table
Re: Find all Selected Rows in Ranorex.Table
perhaps something like:
Find(Of Ranorex.Row)("descendant::row[@State contains(@State,'Selected')]") ??
Find(Of Ranorex.Row)("descendant::row[@State contains(@State,'Selected')]") ??
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Find all Selected Rows in Ranorex.Table
You can try to use the 'Selected' property in your RxPath expression like that:
"... table/row[@selected='True']"
But please check it with the RanoreXPath editor in Ranorex Spy tool to see the result bevor using it directly in code.
regards,
Christoph
Ranorex Support Team
"... table/row[@selected='True']"
But please check it with the RanoreXPath editor in Ranorex Spy tool to see the result bevor using it directly in code.
regards,
Christoph
Ranorex Support Team
Re: Find all Selected Rows in Ranorex.Table
works great, thanks