Forum Discussion

sastowe's avatar
sastowe
Super Contributor
13 years ago

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


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
  • Hi Stephanie,



    Without looking at your test project, application and environment, it's difficult to say what's going wrong. I'd advise to open a support ticket and send the support team the logs of failed test runs so that they can investigate the issue further.