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

Reply via email to