我录制了一段:
Dialog("Login").WinButton("Help").Click
Dialog("Login").Dialog("Flight Reservations").WinButton("确定").Click
Dialog("Login").WinEdit("Agent Name:").Set "mercury"
Dialog("Login").WinEdit("Password:").SetSecure "4dc662b3fe2e4e458e3408bfbd1099fb4e20f4c4"
RunAction "Action3", oneIteration
注:Action3", 脚本:
test1
dialog("Login").WinButton("Help").Click
dialog("Login").Dialog("Flight Reservations").Activate
dialog("Login").Dialog("Flight Reservations").WinButton("确定").Click
'@Description 演示创建自定义函数
Public Function test1
reporter.ReportEvent micDone,"test1","test1"
End Function
可是当我点击运行的时候就会报错怎么才能通过呢?谢谢.............在等待中 |