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
- androidfilebrowser > C:\IIM\imacrosexe
-
C:\IIM\imacrosexe
下载该文档 文档格式:PPT 更新时间:2010-06-02 下载次数:0 点击次数:1文档基本属性 文档语言: 文档格式: ppt 文档作者: 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: 分类: 创建时间: 上次保存者: admin3 修订次数: 49 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 10 段落数: 116 字节数: 395963 备注: 10 演示格式: On-screen Show 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
- PPT格式下载
- 更多文档...
-
上一篇:Web-browser-based
下一篇:bederson@csumdedu
点击查看更多关于androidfilebrowser的相关文档
- 您可能感兴趣的
- browser qqbrowser touchnetbrowser greenbrowser dolphinbrowsercn torbrowser browser.apk avantbrowser mybrowsercash puffinwebbrowser
- 大家在找
-
- · 刮削辊光机床
- · 温州龙湾区府
- · 调频收发器
- · stm32频率计
- · 2011唱响中国36首歌曲
- · 大庆采油四厂新成立矿
- · 夏利n5刹车
- · 小型玉米单粒播种机
- · 水力学教材免费下载
- · 三星手机gts5360
- · 2012全国高校招生计划
- · 注册表编辑器怎么打开
- · autocad2010怎么样
- · cad2004三维视频教程
- · 水库调度值班职业资格鉴定
- · 双卡双待智能手机大全
- · mplsvpn实例
- · 卡特385挖掘机视频
- · 收音机的原理
- · 环境污染与保护论文
- · 汽车配件大全
- · 雕塑与建筑ppt
- · 滨州北海新区
- · 88点阵led模块
- · 微生物生理学试题
- · 工厂设备回收
- · 美女图片百度空间
- · 建筑法规试卷与答案
- · 建筑物防雷设施的规定
- · 曾仕强六十四卦详解
- 赞助商链接