thanks for your help guys but i kinda cheated in the end... I kinda
wrote some javascript to disable the popup that appears when clicking
on one of the button...
i wrote:
@browser.execute_script('window.alert = function () {};')

this then turns off the alert boxes for the window...
it works for me and now i can run my scripts on all environments that
are available to me...

Thanks for all the help guys,

Usman Hussain

On Oct 12, 1:06 pm, ayan <ayan.ni...@gmail.com> wrote:
> You can try using Apple Script.
>
> On Mon, Oct 11, 2010 at 2:01 PM, Željko Filipin <
>
>
>
> zeljko.fili...@wa-research.ch> wrote:
> > On Thu, Oct 7, 2010 at 6:35 PM, Eric Mathiesen <mathiese...@gmail.com>
> > wrote:
> > > DONT BUY A MAC.
>
> > As far as I know, a lot of Watir developers use a Mac. (But it looks like
> > nobody has to send keystrokes.)
>
> > Željko
>
> > --
> >  Before posting, please readhttp://watir.com/support. In short: search
> > before you ask, be nice.
>
> > watir-general@googlegroups.com
> >http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@goog 
> > legroups.com>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to