
I have a list of URLs in an excel worksheet that I want to go to each like and have PAD click on a few buttons and then move to the next link and repeat.
I am able to connect to the excel and import the list or URLs as a data table. I am stuck on trying to build a loop to iterate through the list of URLs. I tried to create a simple variable (%URLItem%) and then increment it for each loop. I am unable to pass that variable into go to web page action to then look up that particaulr item from the array. Any ideas on what I am doing wrong?
You cannot have 2 brackets on a list variable. You can only have one. You only need 2 on a datatable.
%List[ListIndex]% or %DataTable[RowIndex][ColumnIndex(or Title)]%
So, if all your URLs are in a List, then:
Loop 0 to %URL_List.Count - 1%
'do something with %URL_List[LoopIndex]%
End (Loop)