Hi Željko,

You are right. when the page is loaded, the select is there and the value in
it is "none" and by default it gets set to "Operational Control" in a span
of 2 secs.

So I think I have to make the control wait for the time till the value gets
changed to "Operational Control" and then set it to "Audits".

Sudeep.

On Mon, Dec 6, 2010 at 7:22 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Mon, Dec 6, 2010 at 2:42 PM, Sudeep <sudeeppattn...@gmail.com> wrote:
> > browser.select_list(:name,"ModuleID").set("Audits")
> > <option value="13">&nbsp;&nbsp;&nbsp;Audits
>
> Maybe one of these would work:
>
>
> browser.select_list(:name,"ModuleID").set("   Audits")
> browser.select_list(:name,"ModuleID").set(/Audits/)
>
> Does this flash the select list?
>
> browser.select_list(:name,"ModuleID").flash
>
> Is the select list on the page? Maybe it appears later, or it is hidden.
>
> Željko
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> 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.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to