Jump to content

Extract data from Silverlight

Recommended Posts

There is a web based software that is developed in .NET and it is using silverlight.

It shows data in a grid in SilverLight. Now I need to read certain cells in this grid.

I tried to gather info using Au3Info but it just returns SilverLight as class name and I cannot get information of any items inside displayed grid.

How can we extract information from inside a SliverLight grid displayed in a browser?


Yogi Yang

Link to post
Share on other sites

Since web based automation requires interaction with the document object of the page being interfaced with and the Au3Info tool only displays those itmes in or around the rendered page that are directly visible to the rest of the operating system outside of the browser it may be simpler to take a little more round-about approach. I have not worked with SilverLight but my brief searches seem to indicate that it exposes methods and properties through the document object model of the browser so you may be able to automate your SilverLight object by getting hold of the InternetExplorer.Application object that refers to the page your SilverLight control is on then using the document object model with either GetElementById (or GetElementsByTagName then iterating over the returned collection to find the one you're after) then using the methods that the object exposes to the browser to interact with it and its data.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...