代码如下:
Public Function LoginFlight (C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app)
do
If Dialog("Login").Exist(2) = False Then
SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"
Else
Dialog("Login").WinEdit("Agent Name:").Set "admin"
Dialog("Login").WinEdit("Password:").Set "mercury"
Dialog("Login").WinButton("OK").Click
Exit do
End If
Loop While True
End Function
第一行代码就出错,说缺少“)”。不明白是怎么回事呢