Firefox - silverlight application is not found

10 posts, 0 answers
  1. Flavia
    Flavia avatar
    6 posts
    Member since:
    Sep 2010

    Posted 14 Sep 2010 Link to this post

    Hi,

    i tried to automate a web page containing a Silverlight application with WebAii automation framework. If i try to load the page manually in IE8 and Firefox, all works as expected. 
    In a NUnit test, with IE8 the Silverlight application is loaded correctly and i can find all controls, but for Firefox3.6.9 the test framework does not find the SilverlightApp object. The error is: System.TimeoutException : Timeout trying to connect to Silverlight App.
    After this error, Firefox manual proxy settings are not removed (even if in [TearDown] enableSilverlightApplication is set to false). 

    Firefox is configured as in http://www.artoftest.com/support/webaii/topicsindex.aspx, Firefox section.
    Are there some more settings to be able to automate the web page in Firefox?

    Thanks,

    Flavia

  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 14 Sep 2010 Link to this post

    Hello Flavia,

    We have a known regresion in the current build regarding testing Silverlight applications under the Firefox browser. This good news should be that this should not stop your testing. By the very nature of Silverlight it doesn't matter which browser you use. The same Silverlight client runs in both browsers. The only different might be in how Silverlight gets started by the different browsers. Once started it's the literally the same code running in both browsers.

    I'll let you know when we have released a build containing a fix for this problem.

    Regards
    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. Flavia
    Flavia avatar
    6 posts
    Member since:
    Sep 2010

    Posted 15 Sep 2010 Link to this post

    Hello Cody,

    Do you happend to know when will be the WebAii Framework build ready?

    Best regards,
    Flavia
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 15 Sep 2010 Link to this post

    Hi Flavia,

    Sorry no not at this time. It is on our to do list, but isn't our highest priority right now since you should be able to do all Silverlight testing in IE. Is this a show stopper for you? If so can you please tell me how this problem blocks your testing efforts?

    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
  5. Flavia
    Flavia avatar
    6 posts
    Member since:
    Sep 2010

    Posted 16 Sep 2010 Link to this post

    Hi Cody,

    Currently it is not showstopper, but it would be great if one can execute automated tests for silverlight/ html controls on all supported browsers.

    Regards,
    Flavia
  6. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 17 Sep 2010 Link to this post

    Hi Flavia,

    Yes you are correct. I've marked this thread and will send an update when a build is ready containing the fix.

    All the best,
    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
  7. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 08 Nov 2010 Link to this post

    Hi Flavia,

    This problem is fixed in our Q3 release coming out this week.

    Greetings,
    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
  8. 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

    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.
  9. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 29 Apr 2011 Link to this post

    Hi San,

    This the same application in which we filed PITS 5080 for, right?

    Kind regards,
    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
  10. San
    San avatar
    24 posts
    Member since:
    Apr 2011

    Posted 03 May 2011 Link to this post

    Yes.
Back to Top