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

Connect to existing browser not working for silverlight site

3 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wen Tian
Top achievements
Rank 1
Wen Tian asked on 27 Jul 2010, 10:24 PM
Hi,

I am trying the newest feature in Q2 release, which is connecting to an existing browser instance. I found the record can not connect to a silverlight site. I saw the following error message:

Recorder must be attached to browser before loading a webpage with a silverlight application. Reload the page to enable recording of silverlight actions and verifications.

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 27 Jul 2010, 11:14 PM
Hi Wen,

Thanks for the post and question. This is a know issue, so you would have to click the Refresh button in IE in order for Silverlight recording to begin working for the existing brower.

Kind regards,
Nelson Sin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Milan
Top achievements
Rank 1
answered on 06 Mar 2013, 07:54 PM
We have version 2012.2.1317.0 installed and still getting the same error.

Has this been fixed?
0
Cody
Telerik team
answered on 11 Mar 2013, 05:54 PM
Hi Milan,

I am sorry but this is not something that can be "fixed". Allow me to explain. In order for us to be able to automate your Silverlight application we need to be able to inject our automation hooks into that application. This can only be done as the .XAP file is being downloaded by the browser. If your Silverlight application is already running it's too late for us to inject our hooks into it. This is why we state you must refresh the browser before recording and playback will work. Refreshing the browser will cause the browser to redownload the .XAP file which gives us the opportunity to inject our hooks.

Kind regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Wen Tian
Top achievements
Rank 1
Answers by
Missing User
Milan
Top achievements
Rank 1
Cody
Telerik team
Share this question
or