systemutil.Run"E:\hp--UFT\samples\flight\app\flight4a.exe"
Set FlightLogin=Description.Create
Set AgentName=Description.Create
Set Password=Description.Create
Set OKButton=Description.Create
FlightLogin("text").value="Login"
AgentName("attached text").value="Agent Name:"
Password("attached text").value="Password:"
OKButton("text").value="OK"
dialog(FlightLogin).winedit(AgentName).Set "mercury"
dialog(FlightLogin).winedit(Password).Set "mercury"
dialog(FlightLogin).winbutton(OKButton).Click
大家给看看 为什么会报错,是哪里的问题
报错信息:
[ WinEdit ] Cannot find the "[ WinEdit ]" object's parent "[ Dialog ]" (class Dialog). Verify that parent properties match an object currently displayed in your application. Failed 2017/4/29 - 22:16:23