I tried it with the integration tests.  Now it gets past the open command, although the tests still fail.
 
Here's where it hung on the first test:
 
Last Four Commands
 
verifyText(link, Click here for next page)
getAllLinks()
clickAndWait(link)
verifyText(link, Click here for next page)

com.thoughtworks.selenium.SeleniumCommandTimedOutException at com.thoughtworks.selenium.SingleEntryAsyncQueue.get(SingleEntryAsyncQueue.java:37) at com.thoughtworks.selenium.SeleneseQueue.doCommand (SeleneseQueue.java:32) at com.thoughtworks.selenium.embedded.jetty.SeleneseJettyResourceHandler.doCommand(SeleneseJettyResourceHandler.java:45) at com.thoughtworks.selenium.embedded.jetty.JettyCommandProcessor.doCommand ( JettyCommandProcessor.java:97) at com.thoughtworks.selenium.DefaultSelenium.clickAndWait(DefaultSelenium.java:62) at com.thoughtworks.selenium.embedded.jetty.RealDealIntegrationTest.testWithJavaScript(RealDealIntegrationTest.java :77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java :25)

08:24:07.283 EVENT  Checking Resource aliases
08:24:07.377 EVENT  Starting Jetty/4.2.9
08:24:07.377 EVENT  Started [EMAIL PROTECTED]
08:24:07.377 EVENT  Started ServletHttpContext[[localhost, locahost]:/selenium-driver]
08:24:07.596 EVENT  Started WebApplicationContext[/,C:\lib\selenium-0.5.0-java-src\java\..\_javascript_\tests\html]
08:24:07.627 EVENT  jsp: init
08:24:07.674 EVENT  Internal Error: File /WEB-INF/web.xml not found
08:24:07.736 EVENT  default: init
08:24:07.736 EVENT  invoker: init
08:24:07.783 EVENT  Started SocketListener on 127.0.0.1:8080
08:24:07.783 EVENT  Started [EMAIL PROTECTED]
08:24:47.064 EVENT  Stopping Acceptor ServerSocket[addr=localhost/127.0.0.1,port=0,localport=8080]
08:24:47.064 EVENT  Stopped SocketListener on 127.0.0.1:8080
08:24:47.064 EVENT  Stopped ServletHttpContext[[localhost, locahost]:/selenium-driver]
08:24:47.064 EVENT  invoker: destroy
08:24:47.064 EVENT  default: destroy
08:24:47.064 EVENT  Stopped WebApplicationContext[/,C:\lib\selenium-0.5.0-java-src\java\..\_javascript_\tests\html]
08:24:47.064 EVENT  Stopped [EMAIL PROTECTED]
08:24:47.080 EVENT  Starting Jetty/4.2.9
08:24:47.080 EVENT  Started [EMAIL PROTECTED]
08:24:47.080 EVENT  Started ServletHttpContext[[localhost, locahost]:/selenium-driver]
08:24:47.143 EVENT  Started WebApplicationContext[/,C:\lib\selenium-0.5.0-java-src\java\..\_javascript_\tests\html]
08:24:47.143 EVENT  jsp: init
08:24:47.143 EVENT  Internal Error: File /WEB-INF/web.xml not found
08:24:47.143 EVENT  default: init
08:24:47.143 EVENT  invoker: init
08:24:47.143 EVENT  Started SocketListener on 127.0.0.1:8080
08:24:47.143 EVENT  Started [EMAIL PROTECTED]
08:25:25.080 EVENT  Stopping Acceptor ServerSocket[addr=localhost/127.0.0.1,port=0,localport=8080]
08:25:25.080 EVENT  Stopped SocketListener on 127.0.0.1:8080
08:25:25.080 EVENT  Stopped ServletHttpContext[[localhost, locahost]:/selenium-driver]
08:25:25.080 EVENT  invoker: destroy
08:25:25.080 EVENT  default: destroy
08:25:25.080 EVENT  Stopped WebApplicationContext[/,C:\lib\selenium-0.5.0-java-src\java\..\_javascript_\tests\html]
08:25:25.096 EVENT  Stopped [EMAIL PROTECTED]


 
On 7/6/05, Mike Williams <[EMAIL PROTECTED]> wrote:
On Wed, July 6, 2005 17:05, Mike Williams said:

> Several of you have reported problems running Selenium-0.5 in driven mode
> - indeed, it appears to be generally broken.  The problem is in the core
> _javascript_ code, not in the language-specific drivers.

Anyone who's having this problem, please try the following: in
SeleneseRunner, find the line that says

   browserbot = new BrowserBot(testAppFrame);

and change it to

browserbot = createBrowserBot(testAppFrame);

Does that help?

--
cheers, Mike


_______________________________________________
Selenium-users mailing list
[email protected]
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users



--
Rex Madden
Director of Technology
Cyrus Innovation
IT Consulting and Agile Software Development
New York City, New York

http://www.cyrusinnovation.com
[EMAIL PROTECTED]
_______________________________________________
Selenium-users mailing list
[email protected]
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to