Hi Wesley,
Thanks for the reply. I tried your solution but its giving same problem
mentioned in the previous mail.
Where should i save that small test? in the installation directory or
anywhere else. I saved the test in chrome_watir folder.
Waiting for your kind reply.
Regards,
Mrunal
Wesley Chen wrote:
Try:
require "chrome_watir"
$k = ChromeWatir::Browser.new
$k.goto("www.yahoo.com <http://www.yahoo.com/>")
Wesley.
For life, the easier, the better.
On Wed, Mar 10, 2010 at 6:59 PM, Mrunal <[email protected]
<mailto:[email protected]>> wrote:
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 <http://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] <mailto:[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]
<mailto:watir-general%[email protected]>
For more options, visit this group at
http://groups.google.com/group/watir-general
--
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
--
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