Will you try:
ie.select_list(:name,"inspectionStatus").clear
ie.select_list(:name,"inspectionStatus").set("Partial")


Thanks.
Wesley Chen.


On Thu, Mar 19, 2009 at 7:34 PM, Shweta <[email protected]> wrote:

>
> Hi
>
> I have a selection box in my application and its having scroll down
> option with this by default one item will be selectd in that,manually
> if i am selecting other item the default one will be deselcted and
> recent one will get selected but when i am running a script in watir
> it behaves as control i mean its selecting both the default one and
> selected one i have written code like this:
>
> ie.select_list(:name,"inspectionStatus").set("Partial")
>
> the default one will be "All" from the list box
>
> when i am running this line of code i should be able to get only
> partial status inspections/records but am getting both types of
> records.What might be the problem?
>
> Can anyone pls let me know?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to