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
http://tieba.baidu.com/p/4205063098
我用的用对象探测器时也是鼠标划一下可以扫出来,但一点就抓成窗口了,可是我用的是描述性编程怎么也不行?