Skip to content

Get Legacy Accesible Pattern data? #232

@FrSchmied

Description

@FrSchmied

I'm using FlaUIInspectStable (v1.4.1) to get Xpaths etc to indentify locators for elements when automating applications in Windows. Sometimes there is information in the section called LegacyIAccessible Pattern that I would like to use but the existing keyword Get Property From Element does not seem to be able to access that information.

For the application I am currently working with I want to determine if an element is expanded or collapsed. In FlaUIInspect the attribute State in the LegacyIAccessible Pattern section has a value expanded or collapsed. However, the element does not have ExpandCollapsePattern support so the keyword call Get Property From Element EXPAND_COLLAPSE_STATE does not work.

Also, there is no clear way to infer if the element has expanded based on the context of other elements around it.

Is there currently a way to get values from the LegacyIAccessible Pattern section? For example State?
If not, can functionality be added to enable this?

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