Bret Pettichord wrote:
> On Feb 5, 8:56 am, Patrick Spence <patr... / pkspence.com> wrote:
>>   def test_0001_username()
>>     sleep(2)
>>     @@ie.text_field(:id,'ctl00_lgnLogin_UserName').set('TEST-5038')
>>   end
> 
> Actually, the latest version (1.5) of Watir *does* support Ajax. Thus:
> 
>    def test_0001_username()
>      Watir::wait_until {@@ie.text_field(:id,
> 'ct100_lgnLogin_UserName').exists?}
>      @@ie.text_field(:id,'ctl00_lgnLogin_UserName').set('TEST-5038')
>    end
> 
> Bret

Thanks Bret! I'll give this a go, since the waiting for a status of 
"Done" approach doesn't appear to be working.

-- 
Posted via http://www.ruby-forum.com/.