Click a SPAN element inside Div Tag

I am not finding a way to click a SPAN html element present in DIV tag. Attached image shows more about it. I am trying to use Click Activity. I need to click the right solid triangle against each row to expand the elements under it.

Any suggestions please?

Hi @harikp

you can try clicking on the name of each entry and try if you are able to expand the list corresponding to it.

Cheers

Hi Venkat,

Individual rows are just text elements and they do not expand on click. Wondering how they can be mapped.

Thank you,
Hari

@harikp

Please wxplore using ui explorer

Looks like each tr has two divs one of which might contain the name of the field…use that row and can use <nav up='1' /> to come one level up and then find corresponding span

Alternately can use anchor as well

Cheers

Hi Anil,

Do you have any example or link on how to do that?

Thank you,
Hari

@harikp

Eg for you

<webctrl tag='DIV' etc />
<nav up='1' />
<webctrl tag='SPAN' />

cheers

use computer vision in this case

Try using For Each UiElement.

*Add an If statement to filter if CurrentElement.Selector.Text.Trim.ToUpper.Contains the tag attribute ‘SPAN’ or 'validate is contains a small portion of the class

*In the Then path, use click and inject ‘CurrentElement’ generated by the for each. This will allow UiPath to work directly with the element without mapping the element on object repo or without adjusting descriptors