WPF Combobox

2 posts, 0 answers
  1. Maria Isabel
    Maria Isabel avatar
    5 posts
    Member since:
    Nov 2011

    Posted 05 Dec 2011 Link to this post


    I am trying to automate tests to my WPF App.

    I have one comboBox. I record the test without a problem but when I played back it, it gave this error:

    ArtOfTest.Common.Design.Exceptions.ElementFindException: Unable to locate element. Details: Attempting to find [Wpf] element using 
    Find logic 
     (Wpf): [name 'Exact' Shdw] AND [XamlTag 'Exact' systemdropshadowchrome][XamlPath 'Exact' /border[0]/contentpresenter[0]/textblock[0]]

    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)

    Can you help me?

    Thank you.

    Best regards,
  2. Stoich
    Stoich avatar
    1 posts

    Posted 06 Dec 2011 Link to this post

    Hi Maria,
    check out this article:

    I can see from the Find Logic generated by Test Studio that this specific element (and possible your entire app) is not well suited for UI automation. Check out this article:

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top