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" <[email protected]>
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: [email protected] [mailto:[email protected]]
> On Behalf Of Ramu Pillai
> Sent: Friday, July 02, 2010 1:12 PM
> To: [email protected]
> 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 <[email protected]> wrote:
>
> Hi Željko,
> Thanks a lot for your prompt reply.
>
> Â
>
> Mouth
>
> On Mon, Jun 14, 2010 at 9:22 AM, Željko Filipin
>
> <[email protected]> wrote:
> On Mon, Jun 14, 2010 at 3:17 PM, Ramu Pillai <[email protected]> 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: [email protected]
> To unsubscribe: [email protected]
> <mailto:watir-general%[email protected]>
>
> --
> 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: [email protected]
> To unsubscribe: [email protected]
--
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: [email protected]
To unsubscribe: [email protected]