【发布时间】:2016-03-05 07:35:56
【问题描述】:
我很难从另一台机器上读取文本文件。我已经尝试像 \10.212.9.20\Eggplant\Test\propertyfile.txt 那样映射文件。但它不起作用。这是我的代码:
set the itemDelimiter to "="
repeat with theParams = each line of file "\\10.212.9.20\Eggplant\Test\propertyfile.txt"
insert item 2 of theParams after myList
end repeat
put item 6 of myList into ServerURL
put item 10 of myList into Username
put item 9 of myList into Password
感谢您的帮助。
【问题讨论】:
标签: testing automated-tests eggplant