标题: HELP!!!! [打印本页] 作者: qh_tsuan 时间: 2008-4-9 15:45 标题: HELP!!!! 求救:
我的程序框架如下,编的是一个通用的测试框架:
unload();
GUI_unload_all();
#get the test dir
static test_director = getvar("searchpath");
test_director = substr(test_director,match(test_director,"<") +1,match(test_director,">") - 2);
static path_lib = "\\path.lib";
static utils_lib = "\\utils.lib";
load(test_director & path_lib);
load(test_director & utils_lib);
#global variable is defined in the path.lib
const RADIO_CONFIG_GUI = "\\waris_conv_win_radioconfiguration\\radioconfiguration.gui";
#const TABLE = "waris_conv_win_radioconfiguration_10.xls";#data base
static cps_port = "";
#select the tab WIN_TREE => LIST_TREE => SEL_PATH
# => WIN_TAB => TAB
const LIST_TREE = "SysTree";
const WIN_TREE = "TreeView";
const SEL_PATH= "Device at COM4 Port;Radio Configuration";#the path to select the window which will be tested.
const WINDOW = "RadioConfiguration";#The window include the tab
const WIN_TAB = "RadioConfigurationTab";#The fram of the tab
const TAB = "DefaultDisplay";#the table of the window