Need help in web automation - have to type data from each row to fields in web having different element id for same fields

url: Automation Anywhere Labs - Supply Chain Management
In this page we need to enter the data from the spreadsheet to each fields in the site like Ship date, Order value etc. I created code but it is updating only the first set of fields and it is not entering the value in next set of same fields… like wise dat from each row should be entered in the all the fields and then Submit the form.
Please help me to solve as i am new to the uipath

1 Like

Hi there @Hema_V,
I hope you are well!

Looking at the website, I can see the IDs increment by 1 each time, so it should be very doable.

Ultimately, as you loop through your DataTable, you will want to set the Selectors as such:
<html app='chrome.exe' title='*Automation Anywhere Labs - Supply Chain Management*' /> <webctrl tag='INPUT' id='PONumber{{intIndex}}' />

Where intIndex is the CurrentRow + 1, as the Row Index will be 0-based.
The above is for the PONumber, but it should work for all, if you edit the Id value.

Please let me know if you have any further questions.
Thanks once again for your support,

Thank you i will try this

1 Like

Hi JDavey,
Not sure what is wrong, its not working. attached SS here

for IntIndex, i set the Default value as 0 and tried validating it, but this error is showing