首页 > 解决方案 > 如何使用机器人框架通过 Autoit lib 启动外部应用程序

问题描述

已为桌面应用程序设置 Robotframework

  1. 它适用于计算器和 Notepad++ 来启动应用程序
  2. 试图启动外部应用程序,但它会在该应用程序自动关闭后启动,然后再启动应用程序

代码:

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++

标签: python-2.7robotframeworkautoitsikuli

解决方案


推荐阅读