Select particular line in List Box with dynamic list items


Hi All,
I have a list box in which multiple lines may exist.The lines are dynamic from one line to many.Those lines are clickable. Selecting and clicking the correct line item is my task.

  1. I will click on the first line and get full text to see if it has the data I require.
  2. How do I continue to the next line and grab the data to see if it has my desired text.If yes, I want to click on it.?



May not be correct answer, but Try “Find Children” activity and keep the Items(Ienumerable) in foreach and get your list using aaname attribute.

This link can help.