Yes, I known this but I want to get it work.

*Hi, more watir developers,*

Another questions about the email title, there are two issues below I am
very concern.

a, For the bug ticket in jira, http://jira.openqa.org/browse/WTR-193,  on
our tested system, there are lots of duplicate objects, which are equipped
with the input tag, it seemed for me now to not identify them using the
index attribute, so, i want to know when fix and release it?

b, pls see the script below,
ie=Watir::IE.attach(:title, /QTP/)
ie.text_field(:name => "test").set "abb",
it throws the exception when execute it, in the following version, whether
the object support the hash data structure for "How" or "What"
attributes or not, even if there is only one element(key-value) in hash?
such as:  h=hash.new, h={:name=>"test"}, ie.text_field(h).set "Just a test",

who can give me some tips and I have to solve it for these urgent issues, or
provide some similar ideas ?



2008/10/8 Michael Hwee <[EMAIL PROTECTED]>

>  Hi Wiston,
> The text_field element does not support multiple-attributes as of now.
> So, that is not unusual to get error with hash parameter.
>
> Michael
>
>  ------------------------------
> *From:* bugs apple <[EMAIL PROTECTED]>
> *To:* [email protected]
> *Sent:* Tuesday, October 7, 2008 5:22:11 AM
> *Subject:* [wtr-general] Re: Bug Fix For Watir 1.5.6
>
>  hi, aidy
>
> For the current version, the watir support the hash data for the multiple
> attributes,
> but, I fail to execute this statement ie.text_field(:name => "test").set
> "abb" when only specify one attribute.
> In fact, I want to the hash varible for parameter transferring after
> package it as a function and bring more convenience
> for the users, do you think?  have a similar way to solve it?
>
>
> thanks
> -Wiston
>
>
>
> 2008/10/7 aidy lewis <[EMAIL PROTECTED]>
>
>>
>> On 07/10/2008, bugs apple <[EMAIL PROTECTED]> wrote:
>>
>> > ie.text_field(:name => "test").set "abb",
>>
>> If you are just hooking onto one attribute use
>> ie.text_field(:name, "test").set "abb"
>>
>> for > 1
>> ie.text_field(:name => "test", :id => "aidy").set "abb"
>>
>> or
>>
>> ie.text_field(:name => "test", :index=> 1).set "abb"
>>
>> or something like that
>>
>> Aidy
>>
>>
>>
>> Aidy
>>
>>
>>
> >
>

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