Tips and tricks Best practice guides, FAQ & more
Being able to easily select an item in a predefined list is the reason why dropdown menus are used in all kinds of applications. However, automating this simple control in a virtual desktop application (Citrix, Remote Desktop, mainframe etc.) is not quite so straightforward.
It requires a three-step operation to automate the selecting of items in a dropdown in virtual desktop application: 1) Find the dropdown, 2) Open the dropdown, and 3) Find a select the right values.
The tutorial below will show different examples of how to select values in a dropdown in a virtual desktop application.
Please note that the tutorial video involves an older version of the LEAPWORK Automation Platform (formerly called LEAPTEST), but the principles shown are still valid.
In the example shown, the label used in front of the dropdown field is used to find the dropdown. This is, in most cases, a robust solution as labels are static and unique.
The video walks you through three different approaches for selecting the correct value in the dropdown menu: