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

Elements not visible to tests in Safari

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Niko
Top achievements
Rank 1
Niko asked on 17 Apr 2012, 02:34 AM
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?

1 Answer, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 19 Apr 2012, 06:21 PM
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
Tags
General Discussions
Asked by
Niko
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Share this question
or