Mouse coordinate (329,170)is outside of the window
Our application is written by .net Framework 1.1 winform.
I want to click some object in the winform and insert it into excel. after I record the case,and run this command "LiveInsertWizard1.WindowsForms10Window8App72.Wind owsForms10Window8App711.WindowsForms10Window8App71 .WindowsForms10Window8App71.WindowsForms10Window8A pp71.WindowsForms10Window8App71.WindowsForms10Wind ow8App72.WindowsForms10SysTabControl32.MainReport. WindowsForms10Window8App71.Click (1, 185, 205)", it always pop up error Mouse coordinate (329,170) is outside of the window.
May you help me resolve this problem? thanks.
Re: Mouse coordinate (329,170)is outside of the window
First, your hierarchies are a nightmare...use a variable to shorten your statements so they don't scroll off the desktop
WINDOW w = Blah.Blah.blah.blah.blah.blah.MainReport.WindowsFo rms10Window8App71
Now, as far as the object is concerned, you can have SilkTest get the location first, then click on that location.
RECT r = w.GetRect()
See if that works...