|
代码如下;
Const SW_MINSIZE=6
Extern.Declare miclong,"ShowWindow","user32.dll","ShowWindow",miclong,miclong
window("text:=QuickTest.*").highlight
ohwnd=Window("text:=QuickTest.*").GetROProperty("HWND")
Extern.ShowWindow ohwnd,SW_MINSIZE
wait 2
错误提示:
Cannot identify the object "[ Window ]" (of class Window). Verify that this object's properties match an object currently displayed in your application.
Line (3): "window("text:=QuickTest.*").highlight".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository. |
|