I’ve an Excel file with 5 columns with about 300 rows. One of the column’s name is ‘Order Lines’. This entries in this column consists of digits like 5664, 8410, 8774 etc.
I need to take these values from the cell and click same ‘Order Lines’ entry on the UI of an web application.
To do this, I read the row.item of OrderLines and click on the UI. Pass it as variable.
The issue is with selectors in the aaname tag. I tried using these in aaname:
‘“+OrderLines.toString()+”’
‘“+OrderLines.toString”’
“”" +OrderLines + “”"
“”“OrderLines”“”
‘“OrderLines”’
None worked. Can you please tell me what’s wrong here ?
You have to use dynamic variable for aaname attribute. Please refer the below documentation from uipath on how to use variable to create dynamic selectors. I hope it might helpful to guide you on this requirement. Thanks.
Let me understand how you have written the logic first,
So you have a excel with 300 records with 5 columns. So you must have read the excel as datatable. Then iterating through the datatable and get one orderline value stored in a string variable. Same variable you must be passing to selectors and click dynamically on UI.
If above is the logic then please check following,
Just check if string variable is properly populated with the extracted value
Check the selectors which you are using for UI Interaction. Make sure, your selector is working for multiple hardcoded value first.