This is a migrated thread and some comments may be shown as answers.

Enable to connect to Silverlight

3 Answers 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michel
Top achievements
Rank 1
Michel asked on 20 Jan 2011, 11:03 PM
Hi,

I use "Telerik WebUI Test Studio Developer Edition" and I try to record a sample click event on a Silverlight page but I receive this message :

"Enable to connect to Silverlight application"  (See picture on attach....)

My Silverlight page is on a Sharepoint 2007 server and it is secured by Sharepoint so I have to write credentials in a popup windows before accessing the silverlight page. I record steps for the logon part, the username/password are fillin and submit by the steps.  But after that, the page open, but I receive this error message.....

How can I resolve this issue ?

Thank you
Michel

3 Answers, 1 is accepted

Sort by
0
Michel
Top achievements
Rank 1
answered on 21 Jan 2011, 05:53 PM
*** Update ***

I found a word document in another question on this forums. One point of the document "Silverlight Connection Draft" tell us:

4)     Check the headers your server is sending for the Silverlight Page by:

- Install/Run Fiddler and load your Silverlight page. 
- Click the response for the .xap file.
- Click Inspectors -> Headers.

There should be an entry: Content-Type:  application/x-silverlight-app

I look with Fiddler and I have this:  Content-Type: application/x-silverlight

I do not have the "-app" at the end like the documentation tell.... where is my mistake ?

Thanks

Michel
0
Michel
Top achievements
Rank 1
answered on 21 Jan 2011, 07:50 PM
Ok,

I do not have the answer but I found that if I go to any other pages after the first page is loaded, the recorder seems to work correctly.... really do not understand.... but it work....

Thanks
0
Cody
Telerik team
answered on 21 Jan 2011, 08:16 PM
Hello Michel,

Please check out this KB article.


Kind regards,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
Michel
Top achievements
Rank 1
Answers by
Michel
Top achievements
Rank 1
Cody
Telerik team
Share this question
or