followme 2008-2-14 15:23
请问为什么以下脚本无法执行??
static test_Path = getvar("test1"); # 得到测试用例的路径
static guifile_path = test_Path &" \\test1.gui";
GUI_load(guifile_path); # 加载GUI Map 文件
report_msg(test_Path); # 报告路径,调试脚本时用,正式执行可以不要
在执行到第一句时就停止了,不知道为什么?请高手指点一下阿
语法检查报错,显示“getvar()-unknown variable”
[[i] 本帖最后由 followme 于 2008-2-14 15:44 编辑 [/i]]
lantianwei 2008-2-14 17:11
在运行之前请确保TEST1存在并有值
followme 2008-2-15 11:01
[quote]原帖由 [i]lantianwei[/i] 于 2008-2-14 17:11 发表 [url=http://bbs.51testing.com/redirect.php?goto=findpost&pid=876471&ptid=105907][img]http://bbs.51testing.com/images/common/back.gif[/img][/url]
在运行之前请确保TEST1存在并有值 [/quote]
test1是指脚本的名称么??“有值”是什么意思?
lantianwei 2008-2-15 13:16
static test_Path = getvar("test1");