Looping on URLs from Excel file using UiPath

时光怂恿深爱的人放手 提交于 2019-12-02 12:44:23
Abhishek Vaidya

Please elaborate what you want to do.

As per my understanding, you have a Excel file with a column containing the URLs and you want to visit each one - in this case:

  1. Take one excel application scope activity Give the path of your excel file...Create one DataTable object.
  2. Use a For Each Row activity, providing your DataTable object.
  3. Within the loop, use an Assign activity, and set url=row.Item("urlColumnname").ToString()
  4. Use an Navigate To activiy to visit each URL.

Make sure your "Navigate to" activity is surrounded with an "Open Browser" or "Attach Browser" activity.

Additional tips will be:

  • Use IE, while chrome and firefox plugins are available IE is natively supported.
  • Consider adding a "delay" activity after each "Navigate", this is specially when your network is slow or you have low latency causing the robot to go faster than the browser itself and therefore, causing problems reading your selectors.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!