使用 UiPath 从 Excel 文件循环 URL [英] Looping on URLs from Excel file using UiPath

查看:27
本文介绍了使用 UiPath 从 Excel 文件循环 URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了几种方法,但不知何故它们看起来并不干净;

I have tried several ways but somehow they dont look clean;

  1. 我有一个 Excel 格式的 URL 文件(一列 400 多个 URL)
  2. 我希望 UiPath 读取该文件并一个一个浏览这些 URL

我尝试从从 Excel 读取的变量中读取导航到",但它只是变得混乱并且不起作用.

I tried with making "Navigate to" read from a variable that reads from Excel but it just gets messy and does not work.

谁能建议一些简单的方法来做到这一点?

anyone can suggest some easy way to do it?

推荐答案

请详细说明您想做什么.

Please elaborate what you want to do.

根据我的理解,您有一个 Excel 文件,其中有一列包含 URL,并且您想访问每个文件 - 在本例中:

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. 参加一项 excel 应用范围活动 给出您的路径excel 文件...创建一个 DataTable 对象.
  2. 使用 For Each Row 活动,提供您的 DataTable 对象.
  3. 在循环中,使用 Assign 活动,并设置 url=row.Item("urlColumnname").ToString()
  4. 使用 Navigate To 活动访问每个 URL.
  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.

这篇关于使用 UiPath 从 Excel 文件循环 URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆