Page 1 of 1

How to identify the row having the specified text ?

Posted: Mon Nov 26, 2012 8:28 am
by michael_esi
Hi ,

I have a scenario , where I need to identify the row having the specified text to make a click on the particular row ?
I just know the text , I need to iterate through all the rows to find out the row and make a click ?
How do I do that ?

for example in the below snippet , I know orderid 10249 , how do i find the row containing orderID 10249, and make a click on that row ?
Capture11.PNG
Im using ranorex 3.3.4
windows 7 64 bit.
it is a silverlight application and a telerik grid control ?

Re: How to identify the row having the specified text ?

Posted: Mon Nov 26, 2012 3:25 pm
by Support Team
Hello,

The following RxPath example should demonstrate how you get a specific row:
/dom[@caption='Ranorex Test Page']//table//tr/td[@innertext='3']/../

Please modify this RxPath in Spy in order to find your specific row in your application.
Innertext would be '10249' or a repository variable instead.
In order to use this row just add this row to your repository and use it in a recording.

Could you please post a Snapshot of your whole application?
Please take a look at section Creating Ranorex Snapshot Files in our User Guide.

Regards,
Markus (T)