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 ?
Im using ranorex 3.3.4
windows 7 64 bit.
it is a silverlight application and a telerik grid control ?
How to identify the row having the specified text ?
-
- Posts: 10
- Joined: Mon Nov 05, 2012 10:27 am
How to identify the row having the specified text ?
You do not have the required permissions to view the files attached to this post.
- Support Team
- 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 ?
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)
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)