I’m attempting to select dynamic items from a drop down menu bar. Since I’m not working directly with the actual drop down text values, I’m extracting the children dynamic ‘value’ properties and placing those in a collection.I got a couple issues:
How to add these to the collection properly - apparently the items are failing to loop within the collection. I’m only able to retrieve a single item
How to read through the collection to be able to select the items based off the value attribute.
Please advise. I’d really appreciate it. Thank you!
Here you can use two click activities one is click that drop down and second click activity click what value you want.If you want dynamic values please change the selectors in second click activity there you can pass variable.
I’m already able to retrieve the children ‘value’ using the get attribute. I was also able to add these items to the collection. What I’m struggling at this point is how to be able to select the drop down items using the stored values.
For each item in List (collection)
‘how to select the item?’
Getting this error: ‘Cannot select item. It was not found among existing items.’
i got it working. I ended up not adding the retrieve items from a collection, but instead select the items directly using the attribute ‘aaname’. Worked like a charm!