Gathering Data from a Silverlight Grid
Gathering Data from a Silverlight Grid
I'm a Ranorex noob testing out Ranorex to see if it fits our needs and I'm trying to gather all data from a Silverlight Table for verification. I need some help with the user code to do such a thing. I've attached a snapshot of the table I am trying to gather from. Any help would be appreciated.
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: Gathering Data from a Silverlight Grid
Hi djTXST,
Thank you for the attached snapshot.
Unfortunately it seems that your development department has forgotten to implement the UIAutomation for the custom controls which are stored in the DataGrid. So it is not possible to get the information out of the elements.
I’ve made a little sample. When you compare the 2 following screenshots you can see that my DataGrid contains “Text Elements” and your DataGrid contains “Unknown Elements”. My datagrid looks like the following: After the UIAutomation has been implemented correctly, you can use the Find()-Method to extract your information.
More information about the Find()-Method can be found in our User Guide by following this link
This method is also described in our API-documentation
Regards,
Markus (S)
Thank you for the attached snapshot.
Unfortunately it seems that your development department has forgotten to implement the UIAutomation for the custom controls which are stored in the DataGrid. So it is not possible to get the information out of the elements.
I’ve made a little sample. When you compare the 2 following screenshots you can see that my DataGrid contains “Text Elements” and your DataGrid contains “Unknown Elements”. My datagrid looks like the following: After the UIAutomation has been implemented correctly, you can use the Find()-Method to extract your information.
More information about the Find()-Method can be found in our User Guide by following this link
This method is also described in our API-documentation
Regards,
Markus (S)
You do not have the required permissions to view the files attached to this post.