Can not get SilverlightApp

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

    Posted 28 Apr 2011 Link to this post

    Hi,

    I'm using Telerik.WebAii.Framework.2010.3.1607.msi

    Using FF3.0.6

    My SL Objects will be loaded after user was logged in successfully.

    My code:
    Init()
    Utilities.GlobalObject.SETTINGS.EnableSilverlight = true;
                Utilities.GlobalObject.SETTINGS.SilverlightConnectTimeout = 60000;
                Utilities.GlobalObject.SETTINGS.ExecuteCommandTimeout = 60000;


                Utilities.GlobalObject.MANAGER = new Manager(Utilities.GlobalObject.SETTINGS);
                Utilities.GlobalObject.MANAGER.Start();
                Utilities.GlobalObject.MANAGER.LaunchNewBrowser();
                Utilities.GlobalObject.MANAGER.ActiveBrowser.Window.Maximize();
                Utilities.GlobalObject.MANAGER.ActiveBrowser.NavigateTo(Utilities.GlobalRunning.SERVER_URL);
                Utilities.GlobalObject.MANAGER.ActiveBrowser.WaitUntilReady();
    -------------
    Login()
                FATInput.Tradition.TypeTextFieldBYID("Login1_UserName", Utilities.GlobalRunning.SERVER_USER);
                FATInput.Tradition.TypePasswordBYID("Login1_Password", Utilities.GlobalRunning.SERVER_PASSWORD);
                FATInput.Tradition.ClickButtonBYID("Login1_LoginButton");
                Utilities.GlobalObject.MANAGER.ActiveBrowser.WaitUntilReady();
                System.Threading.Thread.Sleep(Utilities.GlobalConfig.INT_WAIT_TIMEOUT_MILISECOND);


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

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

    ---------- Detail 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 FATWelcomePage.WelcomePage.loginSuccess() in D:\\FAT_WebAii\\FATWelcomePage\\WelcomePage.cs:line 39\r\n   at FATWelcomePage.FAT.run(String strSelectedAction) in D:\\FAT_WebAii\\FATWelcomePage\\FAT.cs:line 19\r\n   at FATTestRunner.TestRunner.run(TestSuite tsItem) in D:\\FAT_WebAii\\FATTestRunner\\TestRunner.cs:line 84"

    ----------

    Please help me if there is any way/solutions to fix this issue. It works fine in IE8,9 (32bit).

    Seems that the proxy was set on and then the web AUT can not be loaded.
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 28 Apr 2011 Link to this post

    Hello San,

    Is this the same application for which we filed PITS 5080?

    Best wishes,
    Cody
    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. San
    San avatar
    24 posts
    Member since:
    Apr 2011

    Posted 28 Apr 2011 Link to this post

    Yes, it seems that one.

    Thanks for your replying, I will take a look on this ticket.
Back to Top