Hi Jari,

Ive tried all the solutions (alert, promt confirm) that you stated may
work but none of them do.
I think the reason for me using AutoIT when i was on a windows box was
because it was a windows js pop up dialog box.

and i think i was trying to use applescript to replicate the same
thing on MAC. i still cant get the pop up boxes to click on the OK
button. the examples i gave in the original post are still there so i
think im gonna have to do a bit more research on how to get this
working on firefox on a MAC...

Thanks for your help though. if you know anything like this on the MAC
that would be great help.
i think its back to square one for me :(

kind regards,
usman hussain

On Oct 6, 3:07 pm, Jari Bakken <[email protected]> wrote:
> On Wed, Oct 6, 2010 at 4:03 PM, Ozzi <[email protected]> wrote:
> > ahhh cool... it works. changed it now with the new API...
>
> > is the link you provided always going to be location of where the api
> > will get updated?
>
> No, I've just used it to sketch out what a simpler Table API would
> look like. Up to date docs for the current master can always be found
> here:
>
> http://rdoc.info/github/jarib/watir-webdriver/master/frames
>
>
>
> > kind regards,
> > Usman Hussain
>
> > On Oct 6, 2:53 pm, Jari Bakken <[email protected]> wrote:
> >> Browser#cell has been removed, as part of cleaning up the table API.
> >> Instead you can use:
>
> >> browser.td(:id => "...")
> >> browser.th(:id => "...")
>
> >> #cell and #cells are only available on TableRow, and #row and #rows
> >> only available on Table and TableSection (tbody, tfoot, thead). You
> >> can see the complete revised API here:
>
> >>http://gist.github.com/565553
>
> >> On Wed, Oct 6, 2010 at 2:23 PM, Ozzi <[email protected]> wrote:
> >> > hey Jari,
>
> >> > thank you for the quick update...
>
> >> > I just tried to run my test again and the teps prior to getting to the
> >> > pop up are now failing. im getting a error saying:
> >> >  undefined method `cell' for #<Watir::Browser:0x3fd3050>
> >> > (NoMethodError)
>
> >> > this was working before i did a gem update.
>
> >> > the line of code that is failing is:
> >> > @browser.cell(:id => '04939849-aa75-408d-9b1f-c380e7df48ed', :class =>
> >> > 'mgnlNavigation1Cell mgnlNavigationText').click
>
> >> > since i did an update this is now failing would you know why?
>
> >> > kind regards,
> >> > usman hussain
>
> >> > On Oct 6, 12:37 pm, Jari Bakken <[email protected]> wrote:
> >> >> On Wed, Oct 6, 2010 at 1:11 PM, Ozzi <[email protected]> wrote:
> >> >> > ahhh cool. brilliant... if you can let me know once this is done that
> >> >> > would be brilliant...
>
> >> >> Done, just released 0.1.0.
>
> >> > --
> >> > Before posting, please readhttp://watir.com/support. In short: search 
> >> > before you ask, be nice.
>
> >> > [email protected]
> >> >http://groups.google.com/group/watir-general
> >> > [email protected]
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search 
> > before you ask, be nice.
>
> > [email protected]
> >http://groups.google.com/group/watir-general
> > [email protected]

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

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to