Skip to content

AutoScroll to Element not working during Click event #753

@vishwanathcp

Description

@vishwanathcp

The Application we are automating is Win32 legacy application.
In one of the screen, There is Table with Custom Controls in it. Number of Rows in Table (where each row element is Custom control), varies from 10 to 100 and when rows are greater Scroll bar will be enabled.

Problem Statement: As part of scenario we have to perform Click event on given Row and if the Row to be Clicked is not in visible state (i.e, required to scroll to be bring it to visible State), Such control are not able to Click, getting exception 'An Element command could not be completed because the element is not pointer or keyboard interactable' with WinAppdriver. AutoScroll to element is not working

When observed the properties of the Custom element 'IsScrollItemPatternAvailable' is set to false. Is this the reason autoscroll is not working?If yes, is there any workaround.

Note: Using CodedUI tool, for the same application if the Row is not visible state, script by itself performs autoscroll and performs the Click operation on same controls which is not happening with WinAPPdriver.

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