|
测试脚本录制完以后,我换了台机器使用该脚本。
脚本如下:
GUI_unload_all();
GUI_load("E:\\Program Files\\Mercury Interactive\\WinRunner\\dat\\Administration\\Administration.gui")
# BroadNAS: Administration - Basic
set_window("BroadNAS: Administration - Basic",6);
运行后提示:
The file "E:\\Program Files\\Mercury Interactive\\WinRunner\\dat\\Administration\\Administration.gui" can't be loaded. The window "BroadNAS: Administration - Basic" already exits in the GUI map.
点击“确定”后,测试往下继续,又报错:
WinRunner cannot find the window
"BroadNAS:...on-Basic".
我在录制的时候用的GUI map file per test
哪位知道原因的,望不吝赐教。 |
|