sastowe
13 years agoSuper Contributor
intermittent error when clicking directly
I have a WinXP VM that I do most of my test development on. I then test them on the machines that they will be run on during our regression cycles. They work like magic on my dev vm. Then when I put them up to the test machines, I get intermittent "There was an attmept to perform an action at poin(x,y) which is invisible or out of the window bounds. This happens in different places in the script. I am not clicking on coordinates but in the center of the desired object. The object is present and visible. One example line of code it is barfing on is
another one is
In both cases, the form ha sbeen up and present with no change in button or menu state. One test run and the script executes it just fine. Then boom, it errors.
Any ideas why it would do this?
S
frmMe.Panel("xtpBarTop").Panel("Menu Bar").MenuItem("Workspace").Click
another one is
Sys.Process("MyApp").VBObject("frmMainForm").Window("MDIClient", "", 1).VBObject("frmSWorkArea").Panel("xtpBarTop").ToolBar("Standard").Button("Refresh").CLick
In both cases, the form ha sbeen up and present with no change in button or menu state. One test run and the script executes it just fine. Then boom, it errors.
Any ideas why it would do this?
S