Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cognizant
IN
Last activity: 4 Jun 2018 4:51 EDT
how to select item from combobox by keyboard letter in openspan
Hi All,
In my project, I have come across a situation where I need to select item by typing keyboard letter.
We have interrogated windows application, where we have dropdowns with several values. Some of which starts with same letter.
(ex: if there 3 values in dropdown starting with letter 'P'. and the values are Pan, Pen & Pin. Now if user wants to select the 2nd value i.e., Pen by pressing P twice). Here we are able to select the desired value from dropdown using mouse, but not able to select it using keyboard. Using arrow key, we are able to select only the first value in the dropdown and if the press p, then we are able to select the first word starting with P i.e., Pan. How can I select Pen using keyboard?
Can anyone please let me know the coding steps to achieve this requirement. Thanks in Advance.