bpettichord
2/11/2007 9:56:00 PM
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