Hi, Zeljko,
When I install
gem install selenium-webdriver
gem install watir-webdriver --pre
I run the code below:
*require "watir-webdriver"*
*browser = Watir::Browser.new(:internet_explorer)*
*browser.goto("www.google.com")*
*browser.text_field(:name, "q").set("Hello world")*
*browser.button(:index, 1).click*

I get error message:
d:/ruby/lib/ruby/gems/1.8/gems/watir-webdriver-0.0.1.dev5/lib/watir-webdriver/base_element.rb:324:in
`assert_writable': Watir::Exception::ObjectReadOnlyException
(Watir::Exception::ObjectReadOnlyException)

When I change the *:internet_explorer* to *:chrome*, anything goes expected.


Wesley.
For life, the easier, the better.


On Thu, Mar 11, 2010 at 5:01 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Wed, Mar 10, 2010 at 11:59 AM, Mrunal <mrunal.gor...@gmail.com> wrote:
> > I want to test the web applications with google chrome.
>
> I am not sure ChromeWatir is in active development any more.
>
> Try watir-webdriver, it can drive Chrome:
>
> http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/
>
> Željko
> --
> watir.com - community manager
> pledgie.com/campaigns/2982 - donate to Watir
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To post to this group, send email to watir-general@googlegroups.com
> Before posting, please read the following guidelines:
> http://wiki.openqa.org/display/WTR/Support
> To unsubscribe from this group, send email to
> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
> 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 watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to