RE: [Webunitproj-users] please help -- webunit suddenly stopped working
Brought to you by:
dgan
From: Brian K. <bt...@ne...> - 2002-11-27 23:38:43
|
Good news... we found the culprit... it turns out that one of our team members checked in some updates to a page that causes the browser to post to the server right in the middle of entering fields. Consequently our tests continued to fill in the remaining input fields - this broke the contract between the cache and the actual browser content. So all we had to do to fix our tests was to retrieve the current state before filling in the remaining input fields. Sorry for the emergency email... thanks. =20 Brian =20 -----Original Message----- From: Brian Knorr=20 Sent: Wednesday, November 27, 2002 4:57 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] please help -- webunit suddenly stopped working =20 We have been running webunit for a while now without any issues... all of sudden today we started getting a ton of errors. All our tests now throw at least one of the following two errors (it's actually very random in which one gets thrown)... any help is greatly appreciated... thanks. =20 ERROR 1) =20 Error invoking method:setText er:java.rmi.RemoteException: Error invoking method:java.rmi.RemoteException: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setTextjava.lang.reflect.I nvocationTargetException at java/lang/reflect/Method.invoke (Method.java) at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 RootCause:com.ms.com.ComFailException: (0x80004005) Unspecified error =20 at mshtml/IHTMLDocument2.getParentWindow (IHTMLDocument2.java) =20 <<no stack trace available>> =20 =20 ERROR 2) =20 Error invoking method:setText er:java.rmi.RemoteException: Error invoking method:java.rmi.RemoteException: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setTextjava.lang.reflect.I nvocationTargetException at java/lang/reflect/Method.invoke (Method.java) at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 RootCause:java.lang.RuntimeException: Tag out of range:20 max:0 at com/zeborg/webunit/ie/ExplorerNativeWebClient.getNativeObject (ExplorerNativeWebClient.java:668) at com/zeborg/webunit/ie/ExplorerNativeWebClient.getElementForTag (ExplorerNativeWebClient.java:633) at com/zeborg/webunit/ie/ExplorerNativeWebClient.setText (ExplorerNativeWebClient.java:568) at java/lang/reflect/Method.invoke (Method.java) at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 <<no stack trace available>> =20 =20 =20 |