【发布时间】:2013-12-17 07:48:24
【问题描述】:
我在尝试使用 AutoIT 下载 Excel 文件时收到“无法解析行”。请找到相同的附加屏幕截图。找到下面我用过的代码。
;Exact location of WebSite from where we would like to download the file.We are
reading url from commandline
$URL ="https://www.700creditsolution.com/dasdetail.aspx"
;Local address to which we would like to download the file
$filename = "C:\Users\Umamaheshwar\Downloads\scenario.xls"
WinActivate("[700CreditSolution]", "Export to Excel")
InetGet ($URL, $filename , 1, 0)
<span style="font-family: Times New Roman;"><span style="white-space: normal;">
</span></span>
我在 Webdriver 论坛中标记这个问题,因为使用 AutoIT 的人,但可能不是 AutoIt 论坛的成员。
请帮我解决这个问题。我们将不胜感激。
【问题讨论】:
-
为什么您的 AutoIt 代码中有 HTML (
<span>...</span>)?