Facing Issues while Executing our Silverlight Tests in Safari 5.1.2

12 posts, 1 answers
  1. Nitin
    Nitin avatar
    29 posts
    Member since:
    Oct 2010

    Posted 20 Jan 2012 Link to this post

    Hi Support 

    I am Facing issues while Executing our Silverlight Tests in Safari 

    It Launches the Browser and Navigate to our Silverlight Application, but it Fails, when I debug this I am getting Timeout Exceptions...

    Please find the snapshot.

    Thanks 
    Nitin
  2. Nitin
    Nitin avatar
    29 posts
    Member since:
    Oct 2010

    Posted 20 Jan 2012 Link to this post

    Also Telerik Testing Framework is Incompatible with FireFox 9.0.1
    Please let me know when Tool Supports Firefox 9+
  3. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 20 Jan 2012 Link to this post

    Hello Nitin,

    We already added support for Firefox 9.0.1 with our latest internal build 2011.2.1305. You can download it from your Telerik account here: Public URL

    As for the second problem, it looks like a timing issue. Try to increase the Silverlight Connect Timeout by using the following line:
    Manager.Settings.Web.SilverlightConnectTimeout = 50000;

    Also, we had this bug before: PITS. That bug is already fixed, so there is a chance by upgrading your current version to our latest internal build to resolve both issues. 

    Let me know if you're still having trouble getting this to work.

    Regards,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. Nitin
    Nitin avatar
    29 posts
    Member since:
    Oct 2010

    Posted 22 Jan 2012 Link to this post

    Hi Plamen

    Thanks for Reply, In Release Notes it is not mentioned for Support of Firefox 9+

    http://www.telerik.com/VersionNotes.aspx?nb=1&id=1774

    Please Update
    Thanks

  5. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 23 Jan 2012 Link to this post

    Hello Nitin,

    It seems that we forgot to include this in the Telerik Testing Framework release notes. Thank you for noticing this omission, we will update it as soon as possible.

    Here's a link to Test Studio(1305) release notes:
    http://www.telerik.com/versionnotes.aspx?nb=1&id=1774 .

    Kind regards,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Nitin
    Nitin avatar
    29 posts
    Member since:
    Oct 2010

    Posted 24 Jan 2012 Link to this post

    Thanks Plamen

    I have updated the Framework and Resolved my Firefox Problem(Able to Execute Tests in FireFox 9+) but still facing the same issue with Safari 5.1.2

    Please help and let me know if more information is Required,

    Note: I am using Silverlight Application and Using Safari latest version 5.1.2

    Thanks
    Nitin
  7. Nitin
    Nitin avatar
    29 posts
    Member since:
    Oct 2010

    Posted 25 Jan 2012 Link to this post

    Hi Plamen

    Here are the Logs
    InnerException:
    System.TimeoutException: Timeout trying to connect to Silverlight App.
       at ArtOfTest.WebAii.Silverlight.SilverlightApp.WaitUntilExtensionCreated(String extensionCall)
       at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect(Int32 timeout)
       at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect()
       at ArtOfTest.WebAii.Silverlight.SilverlightAppsList.get_Item(Int32 index)
  8. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 25 Jan 2012 Link to this post

    Hello Nitin,

    We've managed to reproduce the problem with Safari. To overcome this, you need to clear the browser cache. Here are the steps. 

        1. Launch Safari and click the Settings button in the upper-right corner of the browser window(see screenshots).
        2. Select Reset Safari… from the drop-down menu.
        3. Click Reset button.


    Regards,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. Nitin
    Nitin avatar
    29 posts
    Member since:
    Oct 2010

    Posted 27 Jan 2012 Link to this post

    Hi Plamen 

    I Tried this trick, but it doesn't helps

    I am Using Safari on Windows 7

    Please see the Snapshot of System Requirements of Silverlight.

    My Site is Launching Succesfully in Windows 7 and Safari 5.1.2 and I am able to Work Manually with Silverlight Application 

    Please let me know whether Telerik Test Studio Works with Windows 7/Safari 5.1.2 on Silverlight as I am Facing the Same issue 

    Thanks 
    Nitin

  10. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 27 Jan 2012 Link to this post

    Hello Nitin,

    Which version of Silverlight you are currently using? Does a basic test against a public site, like this Telerik demo site, pass in Safari? If it's something specific to your app and it is publicly accessible, consider sending us the tests files so we can see the issue first hand.

    Also, If you haven't done so already, please add the following line:
    Settings.Current.Web.EnableSilverlight = true;
    This should be the very first line of code in your test method.

    One more thing I'd like to mention(one of our lead engineers just reminded me) is that it's kind of pointless testing a Silverlight app in multiple browsers. The same Silverlight engine (the same DLL's) are exercised no matter what browser you test in. If the app loads in the different browsers, that's all that matters for cross browser testing.

    Regards,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  11. Nitin
    Nitin avatar
    29 posts
    Member since:
    Oct 2010

    Posted 31 Jan 2012 Link to this post

    I am Using Silverlight 5
    5.0.61118.0
  12. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 01 Feb 2012 Link to this post

    Hello Nitin,

    I can confirm that Test Studio is fully compatible with Windows 7 and Safari 5.1.2. We need to be able to reproduce this problem by accessing your Silverlight application directly. Is there a publicly accessible web server we can connect to to see this problem first hand?

    Also we are finding there are many Silverlight applications that are not compatible with Safari and the Silverlight 5 run-time engine. By downgrading to the Silverlight 4 run-time engine (which you can get here using the Silverlight 4 Runtime link) most of them work just fine in Safari (except the SL 5 specific applications of course). I do not know what your Silverlight application requires.

    Lastly, I think Plamen already explained this to you, there's really no point in testing Silverlight applications in multiple browsers. Due to how Silverlight is designed to operate it is guaranteed to work the same in all browsers (assuming it works at all). Silverlight applications use the Silverlight .NET libraries installed on the machine. The same physical library files are exercised by all browsers because Silverlight is an executable object placed inside an HTML page.

    Greetings,
    Cody
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top