04-03-2017, 04:09 PM
Hey guys, I am having some trouble finding an answer for this in the forums. Please correct me if there is already an answer.
I am trying to run a loop to download pdf's from a website by selecting each item in a dropdown combobox one at a time and hitting the "View Bill" button to download the pdf before selecting the next combobox item.
Below is the loop I have created but it throws a syntax error when the variable is set as the combobox item to choose as shown below.
I am trying to set the variable as the item's index number so starting at index 1 and stopping at index 55(0 is covered in a previous script)
It works fine when putting the actual index number in instead of the "i" variable but it would be a pain writing out 55 of the same script.
I am trying to run a loop to download pdf's from a website by selecting each item in a dropdown combobox one at a time and hitting the "View Bill" button to download the pdf before selecting the next combobox item.
Below is the loop I have created but it throws a syntax error when the variable is set as the combobox item to choose as shown below.
I am trying to set the variable as the item's index number so starting at index 1 and stopping at index 55(0 is covered in a previous script)
It works fine when putting the actual index number in instead of the "i" variable but it would be a pain writing out 55 of the same script.