|
static test_path=getvar("testname");
static guifile_path = test_path & "\\flight1a.gui";
static app_path = getenv("M_ROOT");
static app_name= app_path & "\\samples\\flight\\app\\flight1a.exe";
report_msg(app_name);
GUI_unload_all();
GUI_load(guifile_path);
report_msg(guifile_path);
if (invoke_application(app_name,"","",SW_SHOW)!=0)
{
report_msg("AUT is not found. exiting.");
texit;
}
wait(3);
# Login
set_window ("Login", 6);
edit_set ("Agent Name:", "tester");
password_edit_set("Password:", "kzptnyoslzjsaz");
button_press ("OK");
请问getenv("M_ROOT")返回值是什么?
学生刚刚开始学习winrunner,请各位老师多多指导!!! |
|