but how long did it take, and how many developers to get it working
fine in all browsers.

Paul

On Fri, Jan 30, 2009 at 12:11 PM, Lisa Crispin <lisa.cris...@gmail.com> wrote:
> Our app works fine, maybe because it's so old school, who knows! ;->
>
> On Fri, Jan 30, 2009 at 12:05 PM, Paul Rogers <paul.rog...@shaw.ca> wrote:
>>
>> im guessing many developers would hope for:
>> 1 set of html pages, works on mac or linux firefox and windows IE
>>
>> ;-)
>>
>> Its really hard to do cross browser web apps well, and there are
>> usually many more developers than testers, so dont be too disappointed
>> you havent got cross browser/platform test software just yet.
>>
>> Paul
>>
>>
>> On Fri, Jan 30, 2009 at 11:58 AM, Lisa Crispin <lisa.cris...@gmail.com>
>> wrote:
>> > My hope was: 1 set of scripts, different runtime parameters, works on
>> > mac or
>> > linux firefox and windows IE.
>> >
>> > On Fri, Jan 30, 2009 at 11:25 AM, Paul Rogers <paul.rog...@shaw.ca>
>> > wrote:
>> >>
>> >> I think applescript will do it on macs, but its another variable into
>> >> the regression mix.
>> >>
>> >> Paul
>> >>
>> >> On Fri, Jan 30, 2009 at 11:20 AM, Bret Pettichord <b...@pettichord.com>
>> >> wrote:
>> >> >
>> >> > Maybe someone else knows how to handle this on Macs. Like I've said
>> >> > before, i've never needed to work with these dialogs before for any
>> >> > of
>> >> > my clients, so i've never taken much time to research the
>> >> > possibilities.
>> >> >
>> >> > Bret
>> >> >
>> >> > Lisa Crispin wrote:
>> >> >> Thanks, Bret. I was hoping to make it work with Firefox on the mac,
>> >> >> actually. But it sounds like that's a non starter.
>> >> >>
>> >> >> I will pursue these issues more with my team!
>> >> >> thanks
>> >> >> Lisa
>> >> >>
>> >> >> On Thu, Jan 29, 2009 at 7:50 PM, Bret Pettichord
>> >> >> <b...@pettichord.com
>> >> >> <mailto:b...@pettichord.com>> wrote:
>> >> >>
>> >> >>
>> >> >>     Lisa,
>> >> >>
>> >> >>     The problem with your code is that it is specific to both
>> >> >> Windows
>> >> >> and
>> >> >>     IE. Making it work with Firefox on Windows is a medium sized
>> >> >> problem,
>> >> >>     but it still wouldn't help your developers with their macs. Off
>> >> >>     hand, I
>> >> >>     wouldn't know how to start on getting this work on other
>> >> >> platforms.
>> >> >>
>> >> >>     And yes, these kinds of dialogs are somewhat weird. Few apps use
>> >> >> them
>> >> >>     today, they are considered poor design. Nowadays developers get
>> >> >>     the same
>> >> >>     effect using "lighboxes" which end up being modal according the
>> >> >> strict
>> >> >>     definition of "modal", but the look better. And they are fairly
>> >> >>     easy to
>> >> >>     handle with Watir on both IE and Firefox (on Windows and Macs).
>> >> >>
>> >> >>     Bret
>> >> >>
>> >> >>     Lisa Crispin wrote:
>> >> >>     > To clarify - our Watir scripts handle our modal dialogs in IE
>> >> >> just
>> >> >>     > fine. For example:
>> >> >>     > def click_modal_button(ie, type='OK', sleep_time=6,
>> >> >> timeout=20)
>> >> >>     >     hwnd = ie.enabled_popup(sleep_time)
>> >> >>     >     if (hwnd)
>> >> >>     >       w = WinClicker.new
>> >> >>     >       w.clickWindowsButton_hwnd( hwnd, "#{type}")
>> >> >>     >       w=nil
>> >> >>     >     end
>> >> >>     >   end
>> >> >>     >
>> >> >>     > I'm looking for affirmation that we will never be able to get
>> >> >> these
>> >> >>     > scripts to work with modal dialogs in Firefox unless the test
>> >> >>     > automation fairy turns me into some better kind of programmer
>> >> >> and
>> >> >> I
>> >> >>     > can add this functionality to Watir myself.
>> >> >>     >
>> >> >>     > I'm puzzled though - are modal dialogs weird? Do most apps not
>> >> >> use
>> >> >>     > them? What do you use instead?
>> >> >>     > thanks
>> >> >>     > Lisa
>> >> >>     >
>> >> >>     > On Thu, Jan 29, 2009 at 4:35 PM, Paul Rogers
>> >> >>     <paul.rog...@shaw.ca <mailto:paul.rog...@shaw.ca>
>> >> >>     > <mailto:paul.rog...@shaw.ca <mailto:paul.rog...@shaw.ca>>>
>> >> >> wrote:
>> >> >>     >
>> >> >>     >
>> >> >>     >     ok, modal dialogs are a different beast entirely.
>> >> >>     >
>> >> >>     >     I dont have a need for dialog support right now, and am
>> >> >>     working on
>> >> >>     >     drag and drop support in watir.
>> >> >>     >
>> >> >>     >     If you are only require ing this on windows, you might
>> >> >> want
>> >> >>     to look
>> >> >>     >     into autoit - if you want cros platform, no idea.
>> >> >>     >
>> >> >>     >     Paul
>> >> >>     >
>> >> >>     >
>> >> >>     >
>> >> >>     >     On Thu, Jan 29, 2009 at 3:49 PM, Lisa Crispin
>> >> >>     >     <lisa.cris...@gmail.com <mailto:lisa.cris...@gmail.com>
>> >> >>     <mailto:lisa.cris...@gmail.com <mailto:lisa.cris...@gmail.com>>>
>> >> >>     wrote:
>> >> >>     >     > I guess I mean regular js pop up boxes. A modal dialog
>> >> >> window
>> >> >>     >     that pops up
>> >> >>     >     > and you have to click "ok" to keep going. They look the
>> >> >>     same in
>> >> >>     >     firefox as
>> >> >>     >     > in IE.
>> >> >>     >     > Lisa
>> >> >>     >     >
>> >> >>     >     > On Thu, Jan 29, 2009 at 3:42 PM, Paul Rogers
>> >> >>     >     <paul.rog...@shaw.ca <mailto:paul.rog...@shaw.ca>
>> >> >>     <mailto:paul.rog...@shaw.ca <mailto:paul.rog...@shaw.ca>>>
>> >> >> wrote:
>> >> >>     >     >>
>> >> >>     >     >> what do you use in Firefox for the modaldialogs?
>> >> >>     >     >>
>> >> >>     >     >> or do you mean regular js pop up boxes?
>> >> >>     >     >>
>> >> >>     >     >> Paul
>> >> >>     >     >>
>> >> >>     >     >> On Thu, Jan 29, 2009 at 3:18 PM, Lisa Crispin
>> >> >>     >     <lisa.cris...@gmail.com <mailto:lisa.cris...@gmail.com>
>> >> >>     <mailto:lisa.cris...@gmail.com <mailto:lisa.cris...@gmail.com>>>
>> >> >>     >     >> wrote:
>> >> >>     >     >> > Hi, I hope this isn't too annoying of a question. I'm
>> >> >> just
>> >> >>     >     trying to
>> >> >>     >     >> > decide
>> >> >>     >     >> > our next steps wrt Watir and our test automation. I
>> >> >> just
>> >> >>     >     thought I'd
>> >> >>     >     >> > double
>> >> >>     >     >> > check on what I think I know already.
>> >> >>     >     >> >
>> >> >>     >     >> > I spent the last several weeks getting our Watir
>> >> >> suites
>> >> >>     >     working with v.
>> >> >>     >     >> > 1.6.2 and Vista. I finally beat them into submission,
>> >> >>     and I'm
>> >> >>     >     exhausted.
>> >> >>     >     >> > (This is not a reflection on Watir, but probably on
>> >> >> the
>> >> >>     >     design of our
>> >> >>     >     >> > scripts, and definitely on my lack of expertise).
>> >> >>     >     >> >
>> >> >>     >     >> > My ultimate goal was to get these scripts working
>> >> >> with
>> >> >>     >     Firefox also, and
>> >> >>     >     >> > I
>> >> >>     >     >> > had some hope when I first read about 1.6.2 that this
>> >> >> would
>> >> >>     >     be possible.
>> >> >>     >     >> > However, I recall that Bret replied to one of my
>> >> >> emails
>> >> >>     >     relating to
>> >> >>     >     >> > dealing
>> >> >>     >     >> > with modal dialogs this way:
>> >> >>     >     >> >
>> >> >>     >     >> > I'm saying that I do not have a plan on how to
>> >> >> support
>> >> >>     modal
>> >> >>     >     dialog
>> >> >>     >     >> > testing that will work with both IE and Firefox, and
>> >> >> as
>> >> >> far
>> >> >>     >     as I know,
>> >> >>     >     >> > no one else is working on this.
>> >> >>     >     >> >
>> >> >>     >     >> > I'm wondering if this means we should abandon all
>> >> >> hope
>> >> >> of
>> >> >>     >     ever being
>> >> >>     >     >> > able to
>> >> >>     >     >> > run our scripts against Firefox (which would make
>> >> >> them
>> >> >>     a lot
>> >> >>     >     easier to
>> >> >>     >     >> > integrate with our build process, as well as easier
>> >> >> for
>> >> >> the
>> >> >>     >     developers
>> >> >>     >     >> > who
>> >> >>     >     >> > all use Macs to run them to help with their own
>> >> >> testing)?
>> >> >>     >     >> >
>> >> >>     >     >> > The developers could run the scripts on their
>> >> >> Parallels
>> >> >> or
>> >> >>     >     VMWare, but
>> >> >>     >     >> > the
>> >> >>     >     >> > scripts run very slowly there for some reason. Should
>> >> >> we
>> >> >> be
>> >> >>     >     thinking
>> >> >>     >     >> > about
>> >> >>     >     >> > migrating to a different browser driver if we want to
>> >> >> have
>> >> >>     >     scripts that
>> >> >>     >     >> > everyone can use to help with testing? We have good
>> >> >>     tools for our
>> >> >>     >     >> > automated
>> >> >>     >     >> > regression tests, and I guess we could adapt those
>> >> >> tests
>> >> >> to
>> >> >>     >     do the same
>> >> >>     >     >> > purpose of Watir, it just happened that it was the
>> >> >> Watir
>> >> >>     >     scripts that
>> >> >>     >     >> > got
>> >> >>     >     >> > all the good flexibility that make them handy for
>> >> >>     setting up test
>> >> >>     >     >> > scenarios.
>> >> >>     >     >> >
>> >> >>     >     >> > Do other people have automated scripts to help with
>> >> >>     >     exploratory testing
>> >> >>     >     >> > and
>> >> >>     >     >> > manual testing, and if so, what tools do you use for
>> >> >>     that? Or
>> >> >>     >     are other
>> >> >>     >     >> > people just luckier and don't have modal dialogs to
>> >> >>     deal with?
>> >> >>     >     >> >
>> >> >>     >     >> > Thanks,
>> >> >>     >     >> > Lisa
>> >> >>     >     >> >
>> >> >>     >     >> >
>> >> >>     >     >> >
>> >> >>     >     >> > >
>> >> >>     >     >> >
>> >> >>     >     >>
>> >> >>     >     >>
>> >> >>     >     >
>> >> >>     >     >
>> >> >>     >     >
>> >> >>     >     > --
>> >> >>     >     > Lisa Crispin
>> >> >>     >     > Co-author with Janet Gregory, _Agile Testing: A
>> >> >> Practical
>> >> >>     Guide
>> >> >>     >     for Testers
>> >> >>     >     > and Agile Teams_ (Addison-Wesley 2009)
>> >> >>     >     > http://lisacrispin.com
>> >> >>     >     >
>> >> >>     >     >
>> >> >>     >     > >
>> >> >>     >     >
>> >> >>     >
>> >> >>     >
>> >> >>     >
>> >> >>     >
>> >> >>     >
>> >> >>     > --
>> >> >>     > Lisa Crispin
>> >> >>     > Co-author with Janet Gregory, _Agile Testing: A Practical
>> >> >> Guide
>> >> >> for
>> >> >>     > Testers and Agile Teams_ (Addison-Wesley 2009)
>> >> >>     > http://lisacrispin.com
>> >> >>     >
>> >> >>     >
>> >> >>     > >
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Lisa Crispin
>> >> >> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for
>> >> >> Testers and Agile Teams_ (Addison-Wesley 2009)
>> >> >> http://lisacrispin.com
>> >> >>
>> >> >>
>> >> >> >
>> >> >
>> >> >
>> >> > >
>> >> >
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Lisa Crispin
>> > Co-author with Janet Gregory, _Agile Testing: A Practical Guide for
>> > Testers
>> > and Agile Teams_ (Addison-Wesley 2009)
>> > http://lisacrispin.com
>> >
>> >
>> > >
>> >
>>
>>
>
>
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
> and Agile Teams_ (Addison-Wesley 2009)
> http://lisacrispin.com
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to