may be you can use Enter key instead of clicking button
Watir.autoit.Send('{ENTER}')
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to
_
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com]
On Behalf Of Smruti Ranjan Kar
Sent: Tuesday, August 04, 2009 8:48 PM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: clicking ok on popups
If I'm getting you, is this the requirement ?
- You click
If I'm getting you, is this the requirement ?
- You click 'Proceed', Popup A appears
- Click 'OK', Popup B appears
- Click 'OK', New browser opens with a popup
- Click 'OK'
- Click 'Save'
- Click 'OK' on the confirmation
And what are the type of pop-ups at different steps ? i.e: modal, JS, new