|
4#
楼主 |
发表于 2006-8-18 15:45:08
|
只看该作者
load("chkui",1,1);
load_os_api();
time_out=getvar("timeout");
###Use the list of checks below to define the UI checks you want the test to perform.
###Define a check as "TRUE" if you want it to be included.
lbl_chk=FALSE; #checks capital letter of labels on controls.
ok_can_chk=FALSE; #checks existence of OK/Cancel buttons.
sys_chk=TRUE; #checks existence of system menu.
text_chk=TRUE; #checks if all text of controls is visible.
overlap_chk=FALSE; #checks that controls do not overlap.
align_chk=FALSE; #checks alignment of controls.
configure_chkui(lbl_chk,ok_can_chk,sys_chk,text_chk,overlap_chk,align_chk);
win_open("Microsoft Internet Explorer",time_out);
check_ui("Microsoft Internet Explorer");
就这是这个文件,但是按钮移动了之后就找不到GUI对像了。 |
|