robotframework-whitelibrary icon indicating copy to clipboard operation
robotframework-whitelibrary copied to clipboard

Scrollbars can't be found using WhiteLibrary

Open mytzenka opened this issue 5 years ago • 1 comments

Describe the bug Scrollbars can't be found using WhiteLibrary so I can't use keyword set scroll position.

To Reproduce While I found this issue in our enterprise application, I used Notepad++ for this bug report because you should be able to reproduce it with that. Open a file in Notepad++ so that you have a scrollbar and run the following script.

Test
    attach application by name  notepad++
    ${windows}  get application windows
    attach window  ${windows}[0]
    ${scrolls}  get items  NonClientVerticalScrollBar
    log list  ${scrolls}

You will see that the list ${scrolls} is empty, even though I got the AutomationID of the scrollbar directly from the Inspect.exe tool. I also tried with all other locator strategies, but all of these yield an empty list when run using Robot Framework.

mytzenka avatar Apr 26 '19 10:04 mytzenka