When you have questions, please ask on the group so that everybody can see
it.
Few months ago, I am the same kind of new guy as you in Watir, :), but I
still have to study a lot.
I will try my best to help you.


Thanks.
Wesley Chen.


On Thu, Mar 19, 2009 at 7:59 PM, nagmani vm <[email protected]> wrote:

> Ok thank you very much its working fine
>
> Can i have your mai id?i am new to watir if i come across any queries i can
> ask u?
>
> On Thu, Mar 19, 2009 at 5:25 PM, wesley chen <[email protected]> wrote:
>
>> Sorry, should be clearSelection
>> Thanks.
>> Wesley Chen.
>>
>>
>>
>> On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm <[email protected]> wrote:
>>
>>> This code is not working am getting error like this:
>>>  undefined method `clear' for #<Watir::SelectList:0x415b4f0>
>>> (NoMethodError)
>>>
>>>   On Thu, Mar 19, 2009 at 5:16 PM, wesley chen <[email protected]>wrote:
>>>
>>>> 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?
>>>>>
>>>>>
>>>>
>>>>
>>
>>
>
>
> --
> Thanks & Regards,
>  Nagmani V.M.
>
> >
>

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