NO you can't use Watir for automating other Windows apps, you would
use Ruby itself.

If you want to automate Windows apps through their GUI API try using
Ruby with AutoIt.  Watir makes use of some of AutoIt's capabilities,
but
there is much more htat AutoIt can do. Suggest downloading the full
AutoIt installer and brush up on its documentation.
       http://www.autoitscript.com/autoit3/index.shtml
FYI: Current version of AutoIt includes additional fixes and functions
that are not available in the version of the AutoIt library that's
included in Watir1.6.5

If you want to automate a windows application you can also use Ruby
to require/include a Dynamic Link Library (dll)
and access the API's of the library.

Joe

On Jul 2, 12:20 pm, "Jason Trebilcock" <jason.trebilc...@gmail.com>
wrote:
> Watir for non-web applications? No.
>
> Ruby for non-web applications? Possibly.
>
> Couple of resources to consider:
>
> "Scripted GUI Testing with Ruby" by Ian Dees
>
> "Everyday Scripting with Ruby" by Brian Marick
>
> It all depends on what you're trying to do.
>
> (Not sure how this relates to dialog boxes unless they're contained within a
> Windows app. Methinx a separate thread would've been more meaningful for
> this question.)
>
> From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com]
> On Behalf Of Ramu Pillai
> Sent: Friday, July 02, 2010 1:12 PM
> To: watir-general@googlegroups.com
> Subject: Re: [wtr-general] Dialog boxes..
>
> Hi,
> Can Watir be used for automating windows applications???
> Everyone obviously knows it could be used for automating web browser related
> activities.
>
> Thanks,
> Musheka
>
> On Mon, Jun 14, 2010 at 10:56 AM, Ramu Pillai <mush...@gmail.com> wrote:
>
> Hi Željko,
> Thanks a lot for your prompt reply.
>
> Â
>
> Mouth
>
> On Mon, Jun 14, 2010 at 9:22 AM, Željko Filipin
>
> <zeljko.fili...@wa-research.ch> wrote:
> On Mon, Jun 14, 2010 at 3:17 PM, Ramu Pillai <mush...@gmail.com> wrote:
> > I need to work with dialog boxes in watir.
>
> Did you read this?
>
> http://wiki.openqa.org/display/WTR/Pop+Ups
>
> Željko
> --
> watir.com <http://watir.com/>  - community manager
> watirpodcast.com <http://watirpodcast.com/>  - host
> testingpodcast.com <http://testingpodcast.com/>  - audio podcasts on
> software testing. all of them
> vidipodkast.com <http://vidipodkast.com/>  - priÄŤamo o hardveru, softveru i
> ÄŤasopisu Vidi
>
> --
> Before posting, please readhttp://watir.com/support. In short: search
> before you ask, be nice.
> Â
> You received this message because you are subscribed 
> tohttp://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: watir-general+unsubscr...@googlegroups.com
> <mailto:watir-general%2bunsubscr...@googlegroups.com>
>
> --
> Before posting, please readhttp://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed 
> tohttp://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: watir-general+unsubscr...@googlegroups.com

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to