|
自己写了一段,然后运行,export report.html(attachment)
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Reporter.ReportEvent micDone,"Start Login Dialog Box ...","开始运行Action1 Login DB 测试脚本."
Dialog("Login").WinEdit("Agent Name:").Set "mercury"
Reporter.ReportEvent micDone,"Action1 Input Agent Name...","Action1 Input Agent 测试中..."
Dialog("Login").WinEdit("Password:").SetSecure "493c6795b40c132a9d438086acde174d744e8020"
Reporter.ReportEvent micDone,"Action1 Input Password","Action1 Input Password"
Dialog("Login").WinButton("OK").Click
Reporter.ReportEvent micDone,"Action1 Finished.","Action1 测试结束"
Window("Flight Reservation").WinMenu("Menu").Select "File;Exit" |
|