Skip to content

Finding an element with an XPath locator is very slow #132

@PiotrNestor

Description

@PiotrNestor

@aristotelos

FlaUI.WebDriver Version: v0.3.1

We have a complex legacy Desktop application that exposes FrameworkType Win32 automation interface.

An example XPath like: //Tab[@name='customers']//Text[contains(@name,'Drag and drop field here')]
can take up to 45 seconds to locate the related element.
Note that even a full Xpath for the above element example takes 10 seconds to locate the element.

What can be done to speed up this mechanism?
Any suggestions for a locator strategy that could improve the situation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions