Grab text from changing number of lines

Hello I am fairly new so I apologize if this is a dumb question I couldn’t find it in any other forums. How do I have each one of these lines be their own variable if it keeps changing how many lines there are. Sometimes there are 2 sometimes 5 sometimes 10 they are all in the same div though.
Screen Shot 2022-11-25 at 3.26.49 AM

HI @Carlton_Morrissey

You can try with Get Text activity for all the item in the list and store them in the different variable


You can try with screen scrapping method and split the data

How do I tell Uipath how many times to run the get text since sometime theres 3 lines and sometimes theres 6?

The second one didn’t work because it was grabbing 3 other similar elements

Thank you

Hi @Carlton_Morrissey ,

There is an Activity called Find Children which comes under Classic.

This outputs a collection of UI Elements, so try detecting the DIV, loop through the UI elements and verify if it is able to capture all the checkboxes.

Kind Regards,
Ashwin A.K

I couldn’t get either to work any other ideas?

Fond children didn’t work because it not a dropdown