python-2.7 - 如何使用机器人框架通过 Autoit lib 启动外部应用程序
问题描述
已为桌面应用程序设置 Robotframework
- 它适用于计算器和 Notepad++ 来启动应用程序
- 试图启动外部应用程序,但它会在该应用程序自动关闭后启动,然后再启动应用程序
代码:
hereLibrary
AutoItLibrary
*** Test Cases ***
Test1
[Tags] test1
Run C:\\Program Files (x86)\\Intel\\Platform Flash
Tool\\platformflashtool.exe
Wait For Active Window Intel® Platform Flash Tool 5.8.10.0
Calc_TC
[Tags] Notepad
Run C:\\Program Files (x86)\\Notepad++\\notepad++.exe
Wait For Active Window new 1 - Notepad++
解决方案
推荐阅读
- java - 连接池缺少连接
- google-apps-script - 合并来自 Google 表单提交的响应数据,其中受访者具有相同的姓名
- r - 如何更改从 R Markdown 生成的单词中的默认页面背景颜色?
- javascript - 为什么我在分析转换属性的过程中得到了意外的错误值 translate(Nan, 450)?
- delphi - 从 Windows 服务应用程序发送带有 delphi indy 的电子邮件
- django - 为什么 DjangoRF 序列化器 is_valid 为假?
- python - python函数的输出未排序
- excel - Excel:从条件中获取行
- typo3 - TYPO3 Extbase 双向 1:n 关系 - 返回 null
- javascript - 从按钮单击事件中调用 Codebehind 中的 Javascript 函数