'The execution timeout has expired' within 1 second during a .WaitProperty("Exists",true,5000). How?
My script runs fine on my development PC, but when I schedule it using TestExecute on a different PC, it seems to fail randomly.
Most recently, it has failed within 1 second of the test item.
Looking at the log, the test item started at 11:01:54 and Ended at 11:01:55, suggesting that it failed within one second.
When I look at the call stack it tells me line # 3 which is:
Aliases.browser.BrowserWindow.FrameTab.tabpage.ShellDocObjectView.browser.JavaPluginControlWindow.frame1.panel1.RootPane.null_layeredPane.null_contentPane.DockableHolderPanel.MainDockingContainer.DefaultDockingManager_DockedHiddenSlidingContainer.DockedHiddenContainer.ContainerContainer.DockedFrameContainer.Panel.ContainerContainer.ContainerContainer2.Workspace.ContainerContainer.FrameContainer.tssoc1500m000.RootPane.null_layeredPane.null_contentPane.Workbook_Frame_1.RootPane.null_layeredPane.null_contentPane.DefaultERPForm.Panel.Panel.ToolBar.ToolbarButton.WaitProperty("Exists",true,5000)){
If I am telling it to look for this object for 5 seconds, how is it failing after only 1 second???
Thanks!
- James
jmcwhinney wrote:Is it possible that ................that there is a timeout passed via the command line??
Or maybe it could be something that is getting passed from QAComplete... hmmm...
That seems to have been the issue.... I had the default timeout of 30 set in QAcomplete where I was calling the test..
Cheers,
- James