Connect to existing browser not working for silverlight site

4 posts, 0 answers
  1. Wen Tian
    Wen Tian avatar
    1 posts
    Member since:
    May 2010

    Posted 27 Jul 2010 Link to this post

    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.
  2. Missing user
    Missing user avatar

    Posted 27 Jul 2010 Link to this post

    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
  3. Milan
    Milan avatar
    3 posts
    Member since:
    Aug 2012

    Posted 06 Mar 2013 Link to this post

    We have version 2012.2.1317.0 installed and still getting the same error.

    Has this been fixed?
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 11 Mar 2013 Link to this post

    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
Back to Top