Rock Sun
unread,Mar 3, 2007, 2:32:38 AM3/3/07Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to selenium-users...@googlegroups.com
I use selenium in proxy injection mode to test application has openModalDialog.
At a window when I use selectFrame , the proxy server log is below. At
the same steps, I can click a button to call showModalDialog, the click action
open the windows, but get the same result as selectFrame .
The window have frames, is this reason?
-
---------------------------------------------------------------------
警告: GET /selenium-server/driver/?cmd=selectFrame&1=mainFrame&sessionId=511550
HTTP/1.1
java.lang.RuntimeException: unexpected return ERROR: Command timed out from bool
ean command getWhetherThisFrameMatchFrameExpression
at org.openqa.selenium.server.CommandQueue.doBooleanCommand(CommandQueue
.java:344)
at org.openqa.selenium.server.CommandQueue.matchesFrameAddress(CommandQu
eue.java:351)
at org.openqa.selenium.server.FrameGroupCommandQueueSet.doCommand(FrameG
roupCommandQueueSet.java:189)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se
leniumDriverResourceHandler.java:370)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman
dRequest(SeleniumDriverResourceHandler.java:296)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen
iumDriverResourceHandler.java:129)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
GET: cmd=testComplete&sessionId=511550
Got result: OK on session 511550
2007-3-3 9:56:36 org.mortbay.http.HttpConnection exception
警告: GET /selenium-server/driver/?cmd=selectFrame&1=mainFrame&sessionId=878524
HTTP/1.1
java.lang.RuntimeException: unexpected return ERROR: Command timed out from bool
ean command getWhetherThisFrameMatchFrameExpression
at org.openqa.selenium.server.CommandQueue.doBooleanCommand(CommandQueue
.java:344)
at org.openqa.selenium.server.CommandQueue.matchesFrameAddress(CommandQu
eue.java:351)
at org.openqa.selenium.server.FrameGroupCommandQueueSet.doCommand(FrameG
roupCommandQueueSet.java:189)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se
leniumDriverResourceHandler.java:370)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman
dRequest(SeleniumDriverResourceHandler.java:296)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen
iumDriverResourceHandler.java:129)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
GET: cmd=testComplete&sessionId=878524
Got result: OK on session 878524