Build 2011_1_609 - Failed to get handle on Chrome

2 posts, 0 answers
  1. San
    San avatar
    24 posts
    Member since:
    Apr 2011

    Posted 22 Jun 2011 Link to this post

    Hi All,

    First of all, just would like to say thanks to Telerik team on the release of Telerik_Testing_Framework_2011_1_609_FREE_EDITION.

    I've been waiting for the fix for and now this release makes me happy.

    Now, my script can handle silverlight object in IE, FF, and Safari. But Chrome doesn't work. It can not handle silverlight app and then throws exception.

    If anyone else used to experience this issue, please help me out.


    Here is my code.

    Utilities.GlobalObject.SETTINGS = new Settings(BrowserType.InternetExplorer, Utilities.GlobalFolder.REPOSITORY_WEBAii_LOG, Utilities.GlobalRunning.SERVER_URL);

    Utilities.GlobalObject.SETTINGS.EnableSilverlight = true;
                Utilities.GlobalObject.SETTINGS.SilverlightConnectTimeout = 60000;
                Utilities.GlobalObject.SETTINGS.ExecuteCommandTimeout = 60000;

                Utilities.GlobalObject.MANAGER = new Manager(Utilities.GlobalObject.SETTINGS);

    And the problem comes from this line

    Utilities.GlobalObject.SILVERLIGHTAPP = Utilities.GlobalObject.MANAGER.ActiveBrowser.SilverlightApps()[0];

    It takes so long long time, and then throw an exception 

    "System.TimeoutException: Timeout trying to connect to Silverlight App.\r\n   at ArtOfTest.WebAii.Silverlight.SilverlightApp.WaitUntilExtensionCreated(String extensionCall)\r\n   at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect(Int32 timeout)\r\n   at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect()\r\n   at ArtOfTest.WebAii.Silverlight.SilverlightAppsList.get_Item(Int32 index)\r\n   at SM2WelcomePage.WelcomePage.loginSuccess()"
  2. Cody
    Cody avatar
    3354 posts

    Posted 27 Jun 2011 Link to this post

    Hi San,

    I have replicated the problem in both Chrome and Safari (true IE is working good now). I have reactivated the bug and assigned it to the developer to have another look at this.

    Kind regards,
    the Telerik team
    Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

    Have you looked at the new Online User Guide for Telerik Test Studio?
Back to Top