• androidfilebrowser > C:\IIM\imacrosexe
  • C:\IIM\imacrosexe

    免费下载 下载该文档 文档格式:PPT   更新时间:2010-06-02   下载次数:0   点击次数:1
    文档基本属性
    文档语言:
    文档格式:ppt
    文档作者:
    关键词:
    主题:
    备注:
    点击这里显示更多文档属性
    iOpus Software GmbH P.O. Box 1343 Walldorf, 69184, Germany
    Automated Web Testing

    Command-Line &
    Scripting Interface
    Command Line Interface
    Typical uses:
    Use macro with batch file
    Integrate with Windows task scheduler
    Integrate with thousands of other software packages
    Commands:
    Start the macro: -macro
    Send values to macro: -var_myvar
    Repeat macro: -loop
    Keep IM Browser open: -noexit
    Run in background: -tray / -silent
    Example: –macro test –var_myvar Hello[SP]World
    Command Line Interface (cont'd)
    Take values from the command line:
    CMDLINE !VAR1 http://www.iOpus.com/iim
    Check on the return value:
    The Internet Macros executable "imacros.exe" set the predefined batch file variable "%ERRORLEVEL%".
    The value is either 1 if the macro was completed successfully or negative if an error was encountered.
    Example Batch File
    "C:\IIM\imacros.exe" -macro Demo-FillForm -loop 3
    if %errorlevel% == 1 goto ok
    if NOT %errorlevel% == 1 goto error
    :ok
    echo Macro completed succesfully!
    goto end
    :error
    echo Error encountered during replay.
    echo Errorcode=%errorlevel%
    :end
    The batch variable %errorlevel% is set by "imacros.exe" upon exit
    Demo Project
    Set up a test macro that runs once a day and saves the CNN.com home page to a file:
    The task scheduler can be accessed via the Windows Control Panel
    Scripting Interface
    Why use the Scripting Interface
    Works with any Windows Scripting or programming language

    下一页

  • 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
  • 免费下载 PPT格式下载
  • 您可能感兴趣的
  • browser  qqbrowser  touchnetbrowser  greenbrowser  dolphinbrowsercn  torbrowser  browser.apk  avantbrowser  mybrowsercash  puffinwebbrowser