after aaname=’ Test* ’ add idx=‘1’ and click on validate …next change to 2 validate and check if it highlights second box..if yes then select 2 and then click insert variable and insert the currentNumber Variable
Because all the textboxes have the same selector, UiPath will always type into the first one. The simplest way is to click the first textbox once, then loop HSE1 to HSE10 and type the value followed by a Tab to move to the next box. Just check for empty cells before typing and still send Tab so focus moves correctly. This approach is much more stable than anchors or dynamic selectors.
Using the Excel file and the web form you provided, I created a sample project that uses the modern Find Elements activity to get all the input elements you want to fill in.
The Find Elements activity uses this Filter to get all the input elements within the UL element: "<webctrl tag='INPUT' type='text' parentclass='form-sub-label-container' />" (other possibilities for defining the filter can also be found).
The attribute values for each INPUT element can be checked in UI Explorer, to see which are common and which differ.