I’m working on a somewhat artificial example for UiPath to get my feet wet:
The objective is to open Windows notepad, open the file open dialog, move to a directory crowded with hundreds of files and select a file which is not visible without scrolling. The name of the file is known.
The basic question is: Does a list element has to visible to be addressable with a mouse click?
I know there are several workarounds to achieve the goal like using the provided textfield to enter the file name, but that’s not the point. I’m more interested in the general pattern for dealing with lists which have to be scrolled through to find elements in a dynamic contents.
Thanks for the reply. I know that there are several ways to achieve the same goal but I took this only as an example where everyone can reproduce the task since everyone should have notepad installed. It is an example for the general problem where you have lists longer than the screen and want to select non-visible items. I was looking for best practices for that problem when there’s no workaround or shortcut.
I’m not working on automating websites but desktop applications.
From what I tried and by what suggestions I got, I come to the conclusion that there’s no good best practice on how to access non-visible data in desktop apps. I guess I have to iterate through such lists e.g. by clicking into the list and use the cursor keys to scroll through the content until the items I look for become visible.