Ask a Question

How to select 1st value from the dropdown by default

Gogineni12
New Contributor

How to select 1st value from the dropdown by default

Hi Team,

I have a scenario where I need to choose 1st value from the dropdown by default.

Keyboard actions[Down] + [Enter] also tried but still no luck.

Dropdown seems different compare to general dropdowns..please find the attachment for reference. 

If anyone facing the same kind of issue, please do post the solution

 

 

1 REPLY 1
Marsha_R
Community Hero

Re: How to select 1st value from the dropdown by default

Look in Object Spy (you may have to drill down in some fields) and find how you can address the drop down object directly.  It may be an index 0 or index 1 of some higher level object.  That way you can just name it instead of trying to use Keys to get to it.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: