Hi
I want to test the web applications with google chrome.
I've installed Google Chrome browser and the gem Chromewatir 1.5.1
I tried the following small test
require "chrome_watir"
include ChromeWatir
$k = Browser.new
$k.goto("www.yahoo.com")
But when the first time test is executed i get following error.
c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/chrome_watir/
chrome_connection.rb:7:in `initialize': Bad file descriptor -
connect(2) (Errno::EBADF)
from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/
chrome_watir/chrome_connection.rb:7:in `new'
from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/
chrome_watir/chrome_connection.rb:7:in `get'
from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/
chrome_watir/container.rb:347:in `read_socket'
from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/
chrome_watir/container.rb:321:in `wait_for_page_to_load'
from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/
chrome_watir/browser.rb:16:in `goto'
In the second execution, browser get opened but the test is not coming
out from the 'read_socket' method in container.rb
Can anybody help me regarding this?
Anybody have the solution for this. Please guide.
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general