It sounds like you’re trying to run the activity multiple times for values of aaname from 1…n. To do this, put your activity in a While loop with an index starting at 1. Pass that index into the activity as a parameter. If you know what n is, have the loop run n times. If not, you can use Element Exists to determine if you should stop iteration.
if that value increments and we also try to access them one after the another then use a FOR EACH or WHILE activity and inside that use this activity with selector having variable
and atlast inside the FOR EACH or WHILE use a assign activity mention like this counter = counter + 1
so that we will be able to access the aaname element one by one
Use UiExplorer to inspect the first element. There is likely an idx value you can use. The first element will either be idx 1 or 2, depending on how the data is structured.
If there is not an idx value, see if there is a row and column value, and use those. That will get you the element at the top of your data. You will not need to iterate if you only need the top-most item.
Then did we try with anchor base
like use ANCHOR BASE activity and use FIND ELEMENT or FIND IMAGE activity where choose that Submission ID text as element or image
and in the right side of anchor base we can use normal CLICK activity where we can now mention aaname as * but ensure that id attribute is included and not changed