Elements not visible to tests in Safari

2 posts, 0 answers
  1. Niko
    Niko avatar
    1 posts
    Member since:
    Apr 2012

    Posted 16 Apr 2012 Link to this post

    Hello,

    Some elements don't seem to appear to Telerik when testing in Safari 5.1.5.

    ArtOfTest.Common.Design.Exceptions.VerificationWaitException: Element was 'not found'. Criteria: Element 'Exists'.
    Page being searched 'Frame (contentview)'.
    Unable to locate element. Details: Attempting to find [Html] element using
    Find logic
     (Html): [TagIndex 'Exact' input:0]
     
    Unable to locate element. Search failed!
     
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

    On further inspection elements containing the checkboxes aren't able to be found either.

    ArtOfTest.Common.Design.Exceptions.ElementFindException: Unable to locate element. Details: Attempting to find [Html] element using
    Find logic
     (Html): [TagIndex 'Exact' div:2]
     
    Unable to locate element. Search failed!
     
       at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

    Viewing the images at time of failure shows that when checking the 'Div' element, the checkboxes show and when checking the 'checkbox' element, they don't show. See image for clarification.

    The tests pass on Chrome, Firefox and Internet Explorer.

    What could be the problem here?
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 19 Apr 2012 Link to this post

    Hello Niko,

    It's difficult to say why the test is failing in Safari without more information. Please see here for what to provide.

    In the meantime, also review our troubleshooting guide on Unable to Locate Element errors.

    Kind regards,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top