Dynamic Anchor?

Hi, I am quite new to UiPath StudioX and I cannot for the life of me figure out how I can get the anchor to change based on the click variable

Here on the website, I need the arrow to be clicked next to the number but the number will be different based on the excel file I’m using

I just need to know how I can match the value of my cell on excel to the element on the page and then click the relevant arrow

Sorry if I’m missing any info and open to any help - thanks! :slight_smile:

@jbarrett When using the Click activity, open the selector editor.
Identify the attribute that contains the number (e.g., aaname or innerText).
Replace the static value with your variable, like this:

<webctrl aaname='{{ExcelNumber}}' />

@Darshan_Sable Thank you so much! this worked perfectly :slight_smile:

1 Like