[wtr-general] Re: Recognizing the Search Text Box

2009-01-21 Thread wesley chen
You're welcome. Thanks. Wesley Chen. On Thu, Jan 22, 2009 at 3:34 PM, ST wrote: > > This code worked! Thanks so much for your help and quick replies, > Wesley! > > On Jan 21, 6:30 pm, wesley chen wrote: > > Try code below: > > require 'watir' > > $ie=Watir::IE.start("http://www.lijit.com/user

[wtr-general] Re: Recognizing the Search Text Box

2009-01-21 Thread ST
This code worked! Thanks so much for your help and quick replies, Wesley! On Jan 21, 6:30 pm, wesley chen wrote: > Try code below: > require 'watir' > $ie=Watir::IE.start("http://www.lijit.com/users/seatanaka";) > $ie.form(:id,/pvssearchbox_form/).text_field(:name,'q').set("wahine") > $ie.button

[wtr-general] Re: Recognizing the Search Text Box

2009-01-21 Thread wesley chen
Try code below: require 'watir' $ie=Watir::IE.start("http://www.lijit.com/users/seatanaka";) $ie.form(:id,/pvssearchbox_form/).text_field(:name,'q').set("wahine") $ie.button(:value,/Search/).click Thanks. Wesley Chen. On Thu, Jan 22, 2009 at 5:20 AM, ST wrote: > http://www.lijit.com/users/se

[wtr-general] Re: Recognizing the Search Text Box

2009-01-21 Thread ST
Thank you for the reply. Here is more information to provide context around what I'm trying to do. The site I'm trying to hit is: http://www.lijit.com/users/seatanaka In the search text box, I would like to enter the term "wahine", click the Search button, then arrive at this page http://www.li

[wtr-general] Re: Recognizing the Search Text Box

2009-01-20 Thread wesley chen
Please try the code below. require 'watir' $ie=Watir::IE.attach(:title,//) $ie.text_field(:name,'q').flash $ie.text_field(:name,'q').set("Google search") $ie.button(:value,/Search/).click Thanks. Wesley Chen. On Wed, Jan 21, 2009 at 7:47 AM, ST wrote: > > > > name