Unable to see grid in silverlight

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
KurtZ
Posts: 12
Joined: Fri Jul 12, 2013 2:24 pm

Unable to see grid in silverlight

Post by KurtZ » Wed Jun 04, 2014 8:10 pm

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
Attachments
TakeASMT.rxsnp
(48.28 KiB) Downloaded 82 times

KurtZ
Posts: 12
Joined: Fri Jul 12, 2013 2:24 pm

Re: Unable to see grid in silverlight

Post by KurtZ » Thu Jun 05, 2014 3:53 pm

I am also attaching a screen shot of Silverlight Spy showing the Grid'Question' object being referred to.
Thanks
Attachments
SLSpy.png
SLSpy.png (138.84 KiB) Viewed 942 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Unable to see grid in silverlight

Post by Support Team » Fri Jun 06, 2014 1:01 pm

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
.
Image

KurtZ
Posts: 12
Joined: Fri Jul 12, 2013 2:24 pm

Re: Unable to see grid in silverlight

Post by KurtZ » Fri Jun 06, 2014 3:41 pm

I do not see these items using UISpy and will circle back with the developer.
Thanks