I added a sleep(5) after the fire_event and Watir was able to find the new
field:
b.radio(:id, "entryModeManual").fire_event("onclick")
sleep(5)
b.text_field(:name, 'order_ref[1]').set('OE123')
Thanks for the help
On Thu, Apr 8, 2010 at 12:24 PM, Sal Jamil <[email protected]> wrote:
> Thanks. I tried that using IRB and I got "There are 0 frames" BUT Watir did
> not have a problem locating the new input field using IRB but it still
> throws the same Exception running the test from a file. I am going to google
> further on this issue. Thanks again.
>
>
> On Thu, Apr 8, 2010 at 12:12 PM, windy <[email protected]> wrote:
>
>> please open irb, try 'browser.show_frames'
>> maybe it's in a frame, so you can't get it .
>> hope it's useful.
>>
>> 在 Thu, 08 Apr 2010 11:26:55 +0800,Sal Jamil <[email protected]> 写道:
>>
>> I am sorry, it is not available on the web. I can give you the source of
>>> the
>>> page but it references a lot of libraries and server code that I am not
>>> sure
>>> it will be helpful. Thanks for your help.
>>>
>>> On Wed, Apr 7, 2010 at 11:09 PM, Rats <[email protected]> wrote:
>>>
>>> On Apr 8, 2:59 pm, Sal Jamil <[email protected]> wrote:
>>>> > I just tried that and I am getting the same error.
>>>>
>>>> Is this page published on the web? If so then please provide a URL so
>>>> we can have a look at it. It is very strange that firebug displays the
>>>> element name yet Watir cannot find it. I've never had this problem ...
>>>>
>>>> --
>>>> 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: [email protected]
>>>>
>>>> To unsubscribe, reply using "remove me" as the subject.
>>>>
>>>>
>>>
>>>
>>>
>>
>> --
>> 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: [email protected]
>>
>
>
>
> --
> Sal Jamil • ephicax
> President
> Desk (650-585-2198)[email protected]
> ------------------------------------------------------------
> This transmission may contain information that is intended to be
> confidential
> and solely for the use of ephicax, and those persons or entities to whom it
> is
> directed. It is not to be reproduced, retransmitted, or in any other manner
> distributed. If you received this message in error, please delete it from
> your system.
>
>
--
Sal Jamil • ephicax
President
Desk (650-585-2198)[email protected]
------------------------------------------------------------
This transmission may contain information that is intended to be
confidential
and solely for the use of ephicax, and those persons or entities to whom it
is
directed. It is not to be reproduced, retransmitted, or in any other manner
distributed. If you received this message in error, please delete it from
your system.
--
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: [email protected]