|
5#
楼主 |
发表于 2011-2-22 10:22:15
|
只看该作者
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
'Dialog("Login").Activate
'Dialog("Login").Move 459,444
'Dialog("Login").WinEdit("Agent Name:").Set "test"
'Dialog("Login").WinEdit("Agent Name:").Type micTab
'Dialog("Login").WinEdit("Password:").SetSecure "mercury"
With Dialog("Login")
.Activate
.Move 459,444
.WinEdit("Agent Name").Set "test"
.WinEdit("Agent Name:").Type micTab
.WinEdit("Password:").SetSecure "mercury"
End with
改成用with语句,怎么运行时会报错 |
|