【发布时间】:2014-11-25 21:35:32
【问题描述】:
有人可以帮助我使用 Robot Framework AutoITLibrary 自动化简单 Windows 应用程序的 GUI/UI 吗?我只使用 AutoIT 工具完成了它,但似乎无法使用 AutoITLibrary 让它工作。
我在下面尝试了我的语法,但没有运气。本质上,我要做的就是启动应用程序,然后转到 Next >> Next >> Finish。任何帮助将不胜感激。谢谢。
*** Settings ***
| Library | AutoItLibrary
*** Variables ***
| ${P4Vx64} | C:\\Temp\\setup.exe
| ${Title} | Sample Application
*** Test Cases ***
| Install
| | AutoItLibrary.Run | ${P4Vx64}
| | Control Click | ${Title} | &Next | Button6
| | Control Click | ${Title} | &Next | Button5
| | Control Click | ${Title} | &Finish | Button3
【问题讨论】:
-
“没有运气”是什么意思?你有错误吗?应用程序是否启动?它在做什么出乎你的意料?
标签: user-interface automated-tests ui-automation autoit