[ptt-users] Fwd: assert image failed

Frank Cohen fcohen at pushtotest.com
Wed Nov 22 08:16:09 PST 2006


Hi YV: Thanks for evaluating TestMaker for your group. The assertion  
exception indicates the server is returning an HTTP 404 response code  
that means "file not found". Normally I would copy the URL to my  
browser and see if I can retrieve the image manually. Have you done  
that?

-Frank



On Nov 22, 2006, at 3:27 AM, Y.V. wrote:

>
>
> ---------- Forwarded message ----------
> From: users-owner at lists.pushtotest.com < users- 
> owner at lists.pushtotest.com>
> Date: Nov 21, 2006 9:58 PM
> Subject: assert image failed
> To: yan.vulich at gmail.com
>
> You are not allowed to post to this mailing list, and your message has
> been automatically rejected.  If you think that your messages are
> being rejected in error, contact the mailing list owner at
> users-owner at lists.pushtotest.com.
>
>
>
>
> ---------- Forwarded message ----------
> From: Y.V. <yan.vulich at gmail.com>
> To:  users at lists.pushtotest.com
> Date: Tue, 21 Nov 2006 21:06:11 +0200
> Subject: assert image failed
> Hi guys,
> I'm new  to TestMaker , running first test failed on the first  
> login page, as I understand the TestMaker failed to assert simple  
> background image.
> When I marked appropriate line in script as comment it run great,  
> but this error still bother me because our application has a lot of  
> images and I'm evaluating TestMaker to be a tool for automatic  
> testing.
>
> Is it known problem or may be there is some solution?
> Please help.
> Any help will be appreciated.
>
> thanks.
>   Yan
> -----------------------------------------------------
> ---------- HERE IS AN ERROR ----------
> -----------------------------------------------------
>
>
> Request step: 4, http://192.168.201.99:8080/ServiceCenter/img/ 
> loginBkg.jpg;jsessionid=283D35638C990F5D4BF6DFD52EA94E4B
> ------------------------------
> Agent stopped.
> ------------------------------
> Agent error:
> Traceback (innermost last):
>   File "<string>", line 126, in ?
>   File "<string>", line 63, in runTest
>   File "C:\autotest\TestMaker\.\lib\.\agentbase.py", line 178, in get
>   File "C:\autotest\TestMaker\.\lib\.\agentbase.py", line 214, in  
> connect
> junit.framework.AssertionFailedError: Step 4 got response 404 when  
> requesting: ' http://192.168.201.99:8080/ServiceCenter/img/ 
> loginBkg.jpg;jsessionid=283D35638C990F5D4BF6DFD52EA94E4B
>
>     at junit.framework.Assert.fail(Assert.java:51)
>     at junit.framework.Assert.assert(Assert.java:20)
>     at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown  
> Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.python.core.PyReflectedFunction.__call__ 
> (PyReflectedFunction.java)
>     at org.python.core.PyReflectedFunction.__call__ 
> (PyReflectedFunction.java )
>     at org.python.core.PyObject.__call__(PyObject.java:283)
>     at org.python.core.PyObject.invoke(PyObject.java:2055)
>     at agentbase$py.connect$6(C:\autotest\TestMaker\.\lib\. 
> \agentbase.py:214)
>     at agentbase$py.call_function(C:\autotest\TestMaker\.\lib\. 
> \agentbase.py)
>     at org.python.core.PyTableCode.call(PyTableCode.java)
>     at org.python.core.PyTableCode.call(PyTableCode.java)
>     at org.python.core.PyFunction.__call__(PyFunction.java)
>     at org.python.core.PyInstance.invoke (PyInstance.java)
>     at agentbase$py.get$4(C:\autotest\TestMaker\.\lib\. 
> \agentbase.py:178)
>     at agentbase$py.call_function(C:\autotest\TestMaker\.\lib\. 
> \agentbase.py)
>     at org.python.core.PyTableCode.call(PyTableCode.java )
>     at org.python.core.PyTableCode.call(PyTableCode.java)
>     at org.python.core.PyTableCode.call(PyTableCode.java)
>     at org.python.core.PyFunction.__call__(PyFunction.java)
>     at org.python.core.PyInstance.invoke (PyInstance.java)
>     at org.python.pycode._pyx17.runTest$4(<string>:63)
>     at org.python.pycode._pyx17.call_function(<string>)
>     at org.python.core.PyTableCode.call(PyTableCode.java)
>     at org.python.core.PyTableCode.call (PyTableCode.java)
>     at org.python.core.PyFunction.__call__(PyFunction.java)
>     at org.python.core.PyInstance.invoke(PyInstance.java)\
>     at org.python.pycode._pyx17.f$0(<string>:126)
>     at org.python.pycode._pyx17.call_function (<string>)
>     at org.python.core.PyTableCode.call(PyTableCode.java)
>     at org.python.core.PyCode.call(PyCode.java)
>     at org.python.core.Py.runCode(Py.java)
>     at org.python.core.Py.exec(Py.java)
>     at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
>     at com.pushtotest.testmaker.gui.AgentRunner.run(Unknown Source)
> junit.framework.AssertionFailedError:  
> junit.framework.AssertionFailedError: Step 4 got response 404 when  
> requesting: ' http://192.168.201.99:8080/ServiceCenter/img/ 
> loginBkg.jpg;jsessionid=283D35638C990F5D4BF6DFD52EA94E4B
>
>
>
>
>
>
> -- 
> Я  Yןaאnי   н
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users



More information about the Users mailing list