Skip to content

UI Automation does not return ListView's sub itemsΒ #9216

@rchauhan18

Description

@rchauhan18

Description

Scenario

We have two applications, one is a WPF application which returns the item/subitem value at the current coordinates. Second is a Win32 or MFC application which contains a items(AAA) and sub-items (BBBBB, CCCCCCC).
image

Issue

On Executing the AutomationElement.FromPoint method, and passing the coordinates of a subitem in a ListView
The function returns the first item instead of the subitem.

Reproduction Steps

N/A

Expected behavior

On providing the coordinates od subitem, returning subitem value

Actual behavior

On providing the coordinates of subitem, returning header item value

Regression?

No

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions