Hello guys, I want to select each item from this dropdown one by one and I don’t know how to approach this because I want to use this on multiple pages and the dropdown items are different on each page…
Any idea?
Thanks!
Hello guys, I want to select each item from this dropdown one by one and I don’t know how to approach this because I want to use this on multiple pages and the dropdown items are different on each page…
Any idea?
Thanks!
Hi @Ionut_Frincu ,
Try to use find children activity to get all the records from the drop down before processing then loop and choose all the drop down value one by one.
Regards,
Arivu
Hello @arivu96, thanks for your response.
I already tried, but it’s not working, do you have an idea why?
Thank you!
filter is missing
Hi @Ionut_Frincu,
You can’t directly use item.tostring in select item activity. Try to get the value using get attribute activity and pass the value in select item.
Regards,
Arivu
have alook here:
Kindly note: A dropdown can be occur in different ways
so also check for which type you got in your case
Hy @ppr, thanks for your response, but I don’t understand how can I extract the items from dropdown to put them in select activity…
do it one by one
find children - will return you a collection of selectItems
with a for each activity we can loop over the found items
the text from item we get with get Attribute activity (passing the uielement ar from loop)
Or: YourUiElementFromLoopVar.Get(“innertext”).toString
Got it, thank you very much!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.