timed out while waiting for window(Save)

Help
2009-02-06
2012-12-04
  • Good evening,

    I am testing the marathon version 1.2.1.1, has created a test script in which access and store information in a database. But when you run the script stops at a point where there is a right click on the option aplication, generating the following error:

    net.sourceforge.marathon.recorder.WindowNotFoundException: timed out while waiting for window(Save) to open
    open windows:[]
        at net.sourceforge.marathon.recorder.WindowEventList.waitForWindow(WindowEventList.java:93)
        at net.sourceforge.marathon.recorder.WindowEventList.waitForWindowToOpen(WindowEventList.java:67)
        at net.sourceforge.marathon.recorder.WindowMonitor.waitForWindowToOpen(WindowMonitor.java:147)
        at net.sourceforge.marathon.player.Marathon.window(Marathon.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.python.core.PyReflectedFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at org.python.core.PyInstance.invoke(Unknown Source)
        at marathon.playback$py.window$7(/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/playback.py:41)
        at marathon.playback$py.call_function(/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/playback.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.pycode._pyx23.test$1(/usr/bin/scadanac/jconfig/TestCases/guardarLocal.py:19)
        at org.python.pycode._pyx23.call_function(/usr/bin/scadanac/jconfig/TestCases/guardarLocal.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.python.core.PyReflectedFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject._callextra(Unknown Source)
        at marathon.results$py.callprotected$3(/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/results.py:14)
        at marathon.results$py.call_function(/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/results.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyInstance.invoke(Unknown Source)
        at marathon.playback$py.execTest$3(/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/playback.py:25)
        at marathon.playback$py.call_function(/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/playback.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at net.sourceforge.marathon.runtime.python.PythonScript$FixtureRunner.run(PythonScript.java:97)
        at net.sourceforge.marathon.runtime.python.PythonPlayer.run(PythonPlayer.java:83)
        at java.lang.Thread.run(Thread.java:619)
    Exception in thread "Python Playback Thread" Traceback (innermost last):
      File "/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/playback.py", line 25, in execTest
      File "/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/results.py", line 14, in callprotected
      File "/usr/bin/scadanac/jconfig/TestCases/guardarLocal.py", line 19, in test
      File "/home/gestion/Desktop/marathon-1.2.1.1/marathon.jar/libpy/marathon/playback.py", line 41, in window
    open windows:[]
        at net.sourceforge.marathon.recorder.WindowEventList.waitForWindow(WindowEventList.java:93)
        at net.sourceforge.marathon.recorder.WindowEventList.waitForWindowToOpen(WindowEventList.java:67)
        at net.sourceforge.marathon.recorder.WindowMonitor.waitForWindowToOpen(WindowMonitor.java:147)
        at net.sourceforge.marathon.player.Marathon.window(Marathon.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)

    net.sourceforge.marathon.recorder.WindowNotFoundException: net.sourceforge.marathon.recorder.WindowNotFoundException: timed out while waiting for window(Save) to open
    open windows:[]

    What happens? I appreciate your answers

     
    • This forum will not be used for support requests and will be deleted soon. A google group for Marathon related discussions and support is created. Please subscribe to marathon-testing group and post your message there. 

      To subscribe visit: http://groups.google.com/group/marathon-testing 

      Thanks and Regards