|
大家好, 我添加一个项目名叫 空间的 。winrunner脚本回放正确,现想批量生成5个不同的项目名:项目一,二,三等。应该改哪里?
# Shell_TrayWnd
set_window ("Shell_TrayWnd", 1);
toolbar_button_press ("ToolbarWindow32_0", "中国石化投资计划管理信息系统 V1.0 (2010年6月) - 项目列表 - [项目列表]"); # Button Number 3;
# 项目列表
set_window ("项目列表", 2);
obj_mouse_click ("Internet Explorer_Server", 20, 10, LEFT);
# 创建项目
set_window ("创建项目", 2);
obj_type ("Internet Explorer_Server","空间的");
obj_mouse_click ("Internet Explorer_Server", 458, 153, LEFT);
# Internet Explorer_Server
win_mouse_click ("Internet Explorer_Server", 165, 29);
obj_mouse_click ("Internet Explorer_Server", 352, 320, LEFT);
# Shell_TrayWnd
set_window ("Shell_TrayWnd", 5);
toolbar_button_press ("ToolbarWindow32_0", "WinRunner - [Noname2*]"); # Button Number 1; |
|