:) great.. all the best....

Regards
Pallavi.

On Mon, Aug 23, 2010 at 9:01 PM, chunchu kartheek <chunchukarth...@gmail.com
> wrote:

> Thanks alot pallavi its working now
>
> On Mon, Aug 23, 2010 at 10:45 AM, Pallavi Sharma 
> <write2pall...@gmail.com>wrote:
>
>> Hi
>>
>> I believe first you would have to get the count of check boxes in your
>> page ... e.g. " ie.checkboxes.each { |c| puts c.to_s } "
>>
>> if they are in a table you can get the rows of your table.
>>
>> and you may use regular expression in here
>>
>> ie.checkbox(:name, /checkbox_/).set
>>
>> This should be able to get you going.
>>
>>
>> Regards
>> Pallavi.
>>
>>
>>
>> On Sun, Aug 22, 2010 at 9:43 PM, goutham mandadi <
>> goutham.mand...@gmail.com> wrote:
>>
>>> Hai Pallavi ,
>>>
>>> Thanks alot for your reply it is working ,suppose if i am not having
>>> numbers how can i do that
>>>
>>> example :checkbox_one
>>>               checkbox_two
>>>               checkbox_three are the checkbox names for 3 different users
>>> the text at the end is changing so my script is not working. i need to set
>>> the checkbox that starts with checkbox_  for all the users. selecting a
>>> single checkbox is enough.
>>> Can you please help me on this.
>>>
>>> Thankyou,
>>> Kartheek
>>>
>>>
>>>
>>>
>>>
>>>   On Sun, Aug 22, 2010 at 7:09 PM, Pallavi Sharma <
>>> write2pall...@gmail.com> wrote:
>>>
>>>>  Hi
>>>>
>>>> If you wish to select multiple check boxes, may be you would require a
>>>> 'for' loop and some code like this:
>>>>
>>>> for i in (1..5)
>>>>
>>>>    str= "ie.frame(:id,'frame').checkbox(:name, checkbox_" + i.to_s
>>>>    obj=eval str
>>>>    obj.set
>>>>
>>>> end
>>>>
>>>> Regards
>>>> Pallavi.
>>>>
>>>>
>>>> On Sun, Aug 22, 2010 at 11:49 AM, chunchu kartheek <
>>>> chunchukarth...@gmail.com> wrote:
>>>>
>>>>> Hai,
>>>>>
>>>>> i am having multiple check boxes in a frame i need to select multiples
>>>>> checkboxe
>>>>>
>>>>> i am having checkbox names as checkbox_1 checkbox_2 checkbox_3 and so.
>>>>> can i use regular expression here for names of checkboxe if possible
>>>>> how to do that
>>>>>
>>>>> ie.frame(:id,"frame").checkbox(:name,"checkbox_1" ).set
>>>>>
>>>>> Can anyone please help me on this
>>>>>
>>>>> Thankyou,
>>>>> Kartheek
>>>>>
>>>>> --
>>>>> Before posting, please read http://watir.com/support. In short: search
>>>>> before you ask, be nice.
>>>>>
>>>>> You received this message because you are subscribed to
>>>>> http://groups.google.com/group/watir-general
>>>>> To post: watir-general@googlegroups.com
>>>>> To unsubscribe: 
>>>>> 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.
>>>>
>>>> You received this message because you are subscribed to
>>>> http://groups.google.com/group/watir-general
>>>> To post: watir-general@googlegroups.com
>>>> To unsubscribe: 
>>>> 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.
>>>
>>> You received this message because you are subscribed to
>>> http://groups.google.com/group/watir-general
>>> To post: watir-general@googlegroups.com
>>> To unsubscribe: 
>>> 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.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>> To unsubscribe: 
>> 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.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> 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.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to