[wtr-general] Re: Need help on this issue

2009-03-20 Thread Chuck van der Linden

Nagmani,

for the benefit of all (and yourself really)

1) please try to use a meaninful subject line when starting a new
thread.   "need help with this issue" doesn't tell anyone anything,
and can tend to lead to busy people skipping the thread, perhaps the
very people who might have the answer you are seeking"   Also when
other people are seaching for answers to their questions, if this
thread comes up they'll have no idea from the title if it might
contain the information they want.   A title like "need help dealing
with selection lists" would benefit everyone a lot more, and
potentially get you your answer faster.

2) Please don't ask unreated questions in an existing topic.  (pretty
much for all the same reasons as listed above)

3) Before asking, search.  There's a lot of accumulated knowledge here
and the answer you seek may already exist.  A little time searching
might get you an answer right away, instead of having to wait for a
response.   Also check the watir FAQ as well, which has answers to the
most frequently asked questions.   If you don't find the answer in the
FAQ, or after trying some searches for likely keywords (like "pop
ups", "pop-ups", or "popups" in this instance) then feel free to start
a new thread with please (see #1) a useful subject title.

Thanks

--Chuck

You can invoke:  user.leadto(knowledge.location)
but unfortunately: user.drink()
is a private method

On Mar 19, 5:08 am, nagmani vm  wrote:
> Ok fine thanks
>
> and i have one more query How to handle window related pop ups like Print
> window and Choose file dialogs while uploading a file
>
>
>
>
>
> On Thu, Mar 19, 2009 at 5:36 PM, wesley chen  wrote:
> > 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  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  wrote:
>
> >>> Sorry, should be clearSelection
> >>> Thanks.
> >>> Wesley Chen.
>
> >>> On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm  wrote:
>
>  This code is not working am getting error like this:
>   undefined method `clear' for #
>  (NoMethodError)
>
>    On Thu, Mar 19, 2009 at 5:16 PM, wesley chen 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  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.
>
> --
> Thanks & Regards,
>  Nagmani V.M.- 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
-~--~~~~--~~--~--~---



[wtr-general] Re: Need help on this issue

2009-03-19 Thread wesley chen
When you would like to ask a question, please search in the group at first.
In fact, there are many existing good though in the group about your
question.
When you compile the script again and again, meet different kind of problems
and then solve them, you may study more.

Thanks.
Wesley Chen.


On Thu, Mar 19, 2009 at 8:08 PM, nagmani vm  wrote:

> Ok fine thanks
>
> and i have one more query How to handle window related pop ups like Print
> window and Choose file dialogs while uploading a file
>
> On Thu, Mar 19, 2009 at 5:36 PM, wesley chen  wrote:
>
>> 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 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 wrote:
>>>
 Sorry, should be clearSelection
 Thanks.
 Wesley Chen.



 On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm wrote:

> This code is not working am getting error like this:
>  undefined method `clear' for #
> (NoMethodError)
>
>   On Thu, Mar 19, 2009 at 5:16 PM, wesley chen 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  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.
>>>
>>>
>>>
>>
>>
>
>
> --
> 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 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
-~--~~~~--~~--~--~---



[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
Ok fine thanks

and i have one more query How to handle window related pop ups like Print
window and Choose file dialogs while uploading a file

On Thu, Mar 19, 2009 at 5:36 PM, wesley chen  wrote:

> 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  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  wrote:
>>
>>> Sorry, should be clearSelection
>>> Thanks.
>>> Wesley Chen.
>>>
>>>
>>>
>>> On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm  wrote:
>>>
 This code is not working am getting error like this:
  undefined method `clear' for #
 (NoMethodError)

   On Thu, Mar 19, 2009 at 5:16 PM, wesley chen 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  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.
>>
>>
>>
>
> >
>


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



[wtr-general] Re: Need help on this issue

2009-03-19 Thread wesley chen
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  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  wrote:
>
>> Sorry, should be clearSelection
>> Thanks.
>> Wesley Chen.
>>
>>
>>
>> On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm  wrote:
>>
>>> This code is not working am getting error like this:
>>>  undefined method `clear' for #
>>> (NoMethodError)
>>>
>>>   On Thu, Mar 19, 2009 at 5:16 PM, wesley chen 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  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 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
-~--~~~~--~~--~--~---



[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
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  wrote:

> Sorry, should be clearSelection
> Thanks.
> Wesley Chen.
>
>
>
> On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm  wrote:
>
>> This code is not working am getting error like this:
>>  undefined method `clear' for #
>> (NoMethodError)
>>
>>   On Thu, Mar 19, 2009 at 5:16 PM, wesley chen  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  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 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
-~--~~~~--~~--~--~---



[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
I my application i have clear criteris button a click on this button should
rset the field values to default its happening with text fields while doing
automation but not with selection boxes

On Thu, Mar 19, 2009 at 5:22 PM, nagmani vm  wrote:

> This code is not working am getting error like this:
>  undefined method `clear' for #
> (NoMethodError)
>
>   On Thu, Mar 19, 2009 at 5:16 PM, wesley chen  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  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.
>



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



[wtr-general] Re: Need help on this issue

2009-03-19 Thread wesley chen
Sorry, should be clearSelection
Thanks.
Wesley Chen.


On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm  wrote:

> This code is not working am getting error like this:
>  undefined method `clear' for #
> (NoMethodError)
>
> On Thu, Mar 19, 2009 at 5:16 PM, wesley chen  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  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 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
-~--~~~~--~~--~--~---



[wtr-general] Re: Need help on this issue

2009-03-19 Thread nagmani vm
This code is not working am getting error like this:
 undefined method `clear' for # (NoMethodError)

On Thu, Mar 19, 2009 at 5:16 PM, wesley chen  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  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 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
-~--~~~~--~~--~--~---



[wtr-general] Re: Need help on this issue

2009-03-19 Thread wesley chen
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  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 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
-~--~~~~--~~--~--~---