OK, I had mistakenly used '8080' as the port in the open call :-( Fixed that and re-ran the script (on linux box running fedora-3) and get the following error in the browser (AUT iframe)
Not Found `/AUT/000000A/http/www.google.com/' not found. WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at localhost:7896 and from the script ERROR `/AUT/000000A/http/www.google.com/' not found. It seems that it doesn't use the same url parsing as the selenium_server.py server. I'm running the test from ~/selenium/code/ ruby directory The command is displayed in the browser as: open(http://localhost:7896/AUT/000000A/http/www.google.com/) NOTE: the TestRunner tests all succeed, as does the google-test- xmlrpc.rb test On or about Wed, 14 Sep 2005 16:44:01 -0400 Warren Pollans <[EMAIL PROTECTED]> allegedly wrote: > I'm trying to run the following ruby script, patterned after the > selenium_example.rb in the ruby directory - I'm using the latest > from svn on an ibook (OSX.3.9) - all TestRunner tests succeed. > > help please > > +++++++++++++++++++++++++++++++++++++++++++++++ > require 'selenium' > > selenium = Selenium::WebrickCommandProcessor.new.proxy > > browser = Selenium::UnixSpecifiedPathBrowserLauncher.new('open -a > /Users/warren/Applications/Firefox.app') > > browser.launch("http://localhost:7896/selenium-driver/ > SeleneseRunner.html") > > # Send some commands to the browser > puts > selenium.open > ('http://localhost:8080/AUT/000000A/http/www.google.com/') puts > selenium.type('q', 'Selenium ThoughtWorks') puts selenium.verify_value > ('q', 'Selenium ThoughtWorks') puts selenium.click_and_wait('btnG') > > puts selenium.test_complete() > > browser.close > ++++++++++++++++++++++++++++++++++++++++++++++++ > > When the script is run, the SeleneseRunner.html comes up displays > the first step, > open(http://localhost:8080/AUT/000000A/http/www.google.com/), and > seems to hang - it doesn't show the google page in the AUT iframe. > > > I am able to run the equivalent of this test that uses > selenium_server.py - patterned after google-test-xmlrpc-.rb with no > problem > > _______________________________________________ > Selenium-users mailing list > Selenium-users@lists.public.thoughtworks.org > http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users _______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users