Page 1 of 1

Unable to see grid in silverlight

Posted: Wed Jun 04, 2014 8:10 pm
by KurtZ
I have an object called container'SectionExpander'. Per the developer, under this container there is/are grid(s) called 'Question' which should enclose the children items. Looking at the attached snaphot, I am expecting three instances of object'Question' directly below container'SectionExpander' which would be parents to child elements indices 1-11, 12-24, and 25-34 respectively.

Any idea as to why he is seeing this grid object that wraps the children objects when he is coding it, but I am not seeing it once deployed? What other information can I provide that might help?

FYI - The host object in the snapshot has system information.

His proposed solution is to use a content control to hold the question grid and see if the spy can detect it.

Thanks

Re: Unable to see grid in silverlight

Posted: Thu Jun 05, 2014 3:53 pm
by KurtZ
I am also attaching a screen shot of Silverlight Spy showing the Grid'Question' object being referred to.
Thanks

Re: Unable to see grid in silverlight

Posted: Fri Jun 06, 2014 1:01 pm
by Support Team
Hi Kurt,

May I ask you to check with Microsoft Inspect (set to UI Automation) or Microsoft UISpy if one of these tools is able to identify the children items enclosed in the specific containers?

Since Ranorex uses the UI Automation framework to identify Silverlight elements it seems that the UI structure is not represented in the right way by using UI Automation.
The problem is that we are limited to UI Automation in case of Silverlight, so you can just try to check the UI Automation implementation of your Silverlight application.

Regards,
Markus

Re: Unable to see grid in silverlight

Posted: Fri Jun 06, 2014 3:41 pm
by KurtZ
I do not see these items using UISpy and will circle back with the developer.
Thanks