9 Answers, 1 is accepted
We already support it today right out of the box. Are you having any problems running your tests with Safari 5.0? Are you looking for any special testing features while using the Safari browser?
Kind regards,
Cody
the Telerik team
Our automation for Safari relies on Silverlight. Do you have Microsoft Silverlight installed? Also make sure the popup blocker is disabled. We launch two windows to run Safari tests.
Sincerely yours,
Cody
the Telerik team
I'm having the same problem as Jyoti. I do have Silverlight installed and pop-ups are enabled. I do see two sessions of Safari open and my app opens but it just sits there. My tests were originally written and tested with IE and all is fine. I've also run the tests successfully on Firefox. Please let us know if there's other things we can try.
Thanks,
Joe
Please also adjust the browser settings as documented here. Along with Silverlight installed these are the important requirements to execute the tests in Safari.
Best wishes,
Konstantin Petkov
the Telerik team
#if TestLocalApplication
string startUri = "~/testapp.aspx";
if (!string.IsNullOrEmpty(bookmark))
{
startUri += bookmark;
}
#else
string startUri = "http://testapp";
if (!string.IsNullOrEmpty(bookmark))
{
startUri += "/" + bookmark;
}
#endif
ActiveBrowser.NavigateTo(startUri); (this is where I'm getting the below error)
----------------------------------------------------------------------------------------
System.ArgumentOutOfRangeException was unhandled by user code
Message=Length cannot be less than zero.
Parameter name: length
Source=mscorlib
ParamName=length
StackTrace:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at System.String.Substring(Int32 startIndex, Int32 length)
at ArtOfTest.WebAii.Core.Browser.UpdateDomTree(String domString)
at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
at AutomatedUITests.DaVinciBaseTest.StartTestApp(Boolean clearSettingsAndDisplays, String bookmark) in F:\src\TestApp\Source\TestApp\UnitTests\UIAcceptanceTests\UIAcceptanceTests\TestAppBaseTest.cs:line 464
at AutomatedUITests.TestAppBaseTest.StartTestApp(Boolean clearSettingsAndDisplays) in F:\src\TestApp\Source\TestApp\UnitTests\UIAcceptanceTests\UIAcceptanceTests\TestAppBaseTest.cs:line 432
at AutomatedUITests.WebAiiTests.MyTestInitialize() in F:\src\TestApp\Source\TestApp\UnitTests\UIAcceptanceTests\UIAcceptanceTests\WebAiiTests.cs:line 62
InnerException:
That looks like a bug in our Safari extension. We are completely rewriting the extension for our Q3 release to have more robust Safari support.
Please excuse us for the temporary inconvenience and let us know if you have further feedback.
All the best,
Cooksey
the Telerik team
Thanks for working on this for Q3.
I have another question, what are your plans on supporting Google Chrome?
Thanks,
Joe
Chrome Support has top priority in our list. It is just the amount of work needed to be able to introduce the Chrome automation that delayed that so far. We are looking into including this in our next major release (Q3) too.
Best wishes,
Konstantin Petkov
the Telerik team