Support for Safari 5.0

10 posts, 0 answers
  1. Jyoti
    Jyoti avatar
    2 posts
    Member since:
    Jul 2010

    Posted 04 Aug 2010 Link to this post

    What is the plan to support the latest version of Safari?

  2. Cody
    Admin
    Cody avatar
    2701 posts
    Member since:
    May 2013

    Posted 04 Aug 2010 Link to this post

    Hi Jyoti,

    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

    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. Jyoti
    Jyoti avatar
    2 posts
    Member since:
    Jul 2010

    Posted 04 Aug 2010 Link to this post

    I am able to navigate to a page on Safari 5.0 but it does not click on any controls. I initially created the program for IE and access the Html controls using their Id and it works fine. But when I switch the browser to Safari 5.0, it navigates to the correct Url page but does not do anything after that. Do I need to do anything special for Safari?

  4. Cody
    Admin
    Cody avatar
    2701 posts
    Member since:
    May 2013

    Posted 04 Aug 2010 Link to this post

    Hello Jyoti,

    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

    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. Joseph Couchara
    Joseph Couchara avatar
    3 posts
    Member since:
    Dec 2009

    Posted 19 Aug 2010 Link to this post

    Hi Cody,
    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

  6. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1853 posts
    Member since:
    Sep 2012

    Posted 19 Aug 2010 Link to this post

    Hi Joseph,

    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

    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. Joseph Couchara
    Joseph Couchara avatar
    3 posts
    Member since:
    Dec 2009

    Posted 19 Aug 2010 Link to this post

    I have done the configuring of Safari already.  One thing to note is that I do not have an "Open links from applications" section on the General preferences tab.  I have Safari 5.0.  I also wanted to show you the error I am getting in our TestAppBaseTest.cs:

    #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:

  8. Cooksey
    Admin
    Cooksey avatar
    2 posts
    Member since:
    May 2013

    Posted 24 Aug 2010 Link to this post

    Hi Joseph Couchara,

    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

    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

  9. Joseph Couchara
    Joseph Couchara avatar
    3 posts
    Member since:
    Dec 2009

    Posted 25 Aug 2010 Link to this post

    Hi Cooksey,
    Thanks for working on this for Q3. 

    I have another question, what are your plans on supporting Google Chrome?

    Thanks,
    Joe

  10. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1853 posts
    Member since:
    Sep 2012

    Posted 25 Aug 2010 Link to this post

    Hi 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

    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

Back to Top