How to identify the row having the specified text ?

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
michael_esi
Posts: 10
Joined: Mon Nov 05, 2012 10:27 am

How to identify the row having the specified text ?

Post by michael_esi » Mon Nov 26, 2012 8:28 am

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 ?
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

Post by Support Team » Mon Nov 26, 2012 3:25 pm

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)