This is a migrated thread and some comments may be shown as answers.

Facing Issues while Executing our Silverlight Tests in Safari 5.1.2

11 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nitin
Top achievements
Rank 1
Nitin asked on 20 Jan 2012, 07:44 AM
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

11 Answers, 1 is accepted

Sort by
0
Nitin
Top achievements
Rank 1
answered on 20 Jan 2012, 07:51 AM
Also Telerik Testing Framework is Incompatible with FireFox 9.0.1
Please let me know when Tool Supports Firefox 9+
0
Plamen
Telerik team
answered on 20 Jan 2012, 06:29 PM
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.
0
Nitin
Top achievements
Rank 1
answered on 22 Jan 2012, 06:41 PM
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

0
Plamen
Telerik team
answered on 23 Jan 2012, 10:19 AM
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.
0
Nitin
Top achievements
Rank 1
answered on 24 Jan 2012, 06:29 PM
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
0
Nitin
Top achievements
Rank 1
answered on 25 Jan 2012, 07:49 AM
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)
0
Plamen
Telerik team
answered on 25 Jan 2012, 06:43 PM
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.
0
Nitin
Top achievements
Rank 1
answered on 27 Jan 2012, 06:56 AM
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

0
Plamen
Telerik team
answered on 27 Jan 2012, 08:42 PM
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.
0
Nitin
Top achievements
Rank 1
answered on 31 Jan 2012, 11:45 AM
I am Using Silverlight 5
5.0.61118.0
0
Accepted
Cody
Telerik team
answered on 02 Feb 2012, 12:09 AM
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.
Tags
General Discussions
Asked by
Nitin
Top achievements
Rank 1
Answers by
Nitin
Top achievements
Rank 1
Plamen
Telerik team
Cody
Telerik team
Share this question
or