robotframework-whitelibrary
robotframework-whitelibrary copied to clipboard
Scrollbars can't be found using WhiteLibrary
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.