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.lijit.com/search/seatanaka?q=wahine,
where the post "Ei Nei...we go Ft. Collins!" appears in the list.

This is the html for the search box that needs to be populated:

<div id="pvssearchbox">
          <form id="pvssearchbox_form" action="/search/seatanaka">
          <div class="floatcontainer" style="margin-top: 4px; height:
25px;">
        <input style="width: 275px; float:left; border-color:#999;"
name="q" type="text" /><input type="submit" class="form-submit
right_button noMask" value="Search" />
      </div>

Thanks!
Shawn




On Jan 20, 6:24 pm, wesley chen <cjq....@gmail.com> wrote:
> 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 <stan...@lijit.com> wrote:
> > <div id="pvssearchbox">
> >          <form id="pvssearchbox_form" action="/search/seatanaka">
> >          <div class="floatcontainer" style="margin-top: 4px; height:
> > 25px;">
> >        <input style="width: 275px; float:left; border-color:#999;"
> > name="q" type="text" /><input type="submit" class="form-submit
> > right_button noMask" value="Search" />
> >      </div>- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
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