Hello All,
I have a loop that goes through different product numbers on Amazon's search and clicks on the first result of each one. Once it does this, I would like it to extract some data from the page and put it into a spreadsheet. I also want there to be a blank row if there is no search result for that product number.
I am having trouble writing data to the spreadsheet inside my loop. I am not able to get anything to write.
Is Amazon's website too inconsistent to write the same information from different products or am I doing something wrong?
My loop looks like this...
1. Launch Amazon.com in Chrome
2. Launch Excel spreadsheet with product numbers down the A column
3. Launch blank Excel (Instance 2)
4. Read Excel instance 1 for all Row A
5. For Each Loop: CurrentItem in ExcelData
6. Trim Text (to encrypt CurrentItem)
7. Populat text field on web page (Search bar with CurrentItem)
8. Press search button on page
9. Press first URL result
10. Extract data from web page (Into Variable) (I tried to specify it correctly but I believe that it may not be picking up the right info)
11. Write to Excel worksheet from DataFromWebPage to Excel Instance 2
12. Navigate back to Amazon.com
13. End For Each Loop
14. Done
Thanks for any help!!