views:

46

answers:

1

Hello,

Can anybody recommend me a tool or an approach to measure the performance of silverlight object inside of Internet Explorer object?

An approximate test scenario is

Start Timer; Open the page, Wait until the silverlight object raise an event (for ex. OnDisplayed()); Stop Timer;

OR

Start Timer; Open the page, Wait until the silverlight object will be displayed completely; Stop Timer;

Can I do this from C# program? Or it is easier to do this with some tool?

Thanks!

A: 

You can change loading page for your silverlight application and start timer when loading started. When loading finished you can stop timer and show result.
Here is code for changing loading page.

Samvel Siradeghyan
Is it possible to connect to Silverlight object and create the event handler for it?
Luberg
As I know you can access html elements from silverlight. In that case you can keep time of start loading. Than when your event fires you can take time and compare it with time for loading. Hope this will help you.
Samvel Siradeghyan
And may be http://www.eqatec.com will help you aswell
Samvel Siradeghyan
I have no access to the code, We have a tool to test, there is an internet explorer object inside of the tool, which contains a silverlight object :) I'm not sure if it is possible to modify the code on the fly. May be it is possible to connect to the silverlight object and then create an event handler for the event I need?
Luberg