Hi Zeljko,

that command working fine. but in my watir script for cleartrip, only button
click line is not working, may i know what is the problem. I am also using
firefox 3.6.8.
require 'watir'
Watir::Browser.default = "firefox"
b = Watir::Browser.start("http://www.cleartrip.com";)
b.radio(:id, "rnd_trip").set
b.text_field(:name, "origin").set "New Delhi"
b.text_field(:name, "destination").set "Chennai"
b.text_field(:name, "origin").click
b.image(:src => /calendar_icon.gif/).click
b.link(:text, 15).click
b.image(:src => /calendar_icon.gif/, :index => 2).click
b.link(:text, 17).click
b.select_list(:name, "adults").select 2
b.button(:id, "button_flight_search").click

Regards,
Madhu

On Wed, Aug 11, 2010 at 4:37 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Wed, Aug 11, 2010 at 1:03 PM, madhu kumar <madhu....@gmail.com> wrote:
> > ruby -e 'require "watir"; puts Watir::IE::VERSION' if i run this command
> i am getting error as no such file to load.
>
> Try this:
>
> ruby -e 'require "rubygems"; require "watir"; puts Watir::IE::VERSION'
>
>
> Željko
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to