Dear all,
How to select the first item in Select Item? because the item is random in drop-down menu, I want to choose the first item in the drop-down menu. I use Select Item activities do it, there isn’t fix string, so I want to choose the first item, thanks a lot!
How to select the first item in SelectItem?
Hi @wang_amanda
Please give a try,
- Use find children activity and indicate the drop down, store the output in a variable fndChildrens (use ctr+k to create a variable in outputs panel).
- use get attribute activity and in activities drop-down select “aaname” and in properties Uielement give fndChildrens(0) and store the output in a variable name (getattrOutput)
- Use select item activity, indicate the dropdown and pass the getattrOutput in drop-down.
Thanks
Bravo! thanks
@wang_amanda glad that helped, please mark the solution and close the thread so it may be useful to others in the future.
Thanks
@prasath_S I am a junior , How to close the thread?
Hi,
You can mark solution for the post by @prasath_S it will automatically close after some period. Thanks.
Thanks @kirankumar.mahanthi1
@wang_amanda yes if you mark the solution it will close automatically after 3 days
Hello Guys Can you please let me know how to mark solution in UI path forum? Thanks Ankur
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.