Mailing list - Entries of 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] Windows printing dialog


  • Subject: Re: [qftestJUI] Windows printing dialog
  • From: Karlheinz Kellerer <Karlheinz.Kellerer@?.de>
  • Date: Fri, 05 Aug 2005 11:37:05 -0000

Hi Ilango,

<ilango.sriram@?.de> writes:

> Hi,
>
> I'm using qftestJUI 1.08.2 and have following question:
>
> I want to test if hitting the print button results in an error message from
> my app or opens the printing dialogue. When the error msg is displayed I can
> cancel the operation, fine. But if the printing dialog appears I don't know
> how to close it. Is it possible to catch this windows dialog from qftestJUI
> so that I could cancel or confirm the printing process or is there a
> functionality qftest has to control windows controls?

The printing dialog is a native Windows dialog. No events for such a
dialog are passed to the Java virtual machine, so qftestJUI is blind to it and
can't do anything with it. For the time being I think you'll have to emit this
dialog from your tests. If testing this part is crucial, something can probably
be done invoking windows messages. We will have a look into this, but I cannot
promise a solution within a short time.

Best regards,
    Karl

--
Karlheinz Kellerer                     Karlheinz.Kellerer@?.de
Quality First Software GmbH                    http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 919877
DE-82538 Geretsried                         Fax: +49 8171 919876


Videos Downloads Documentation Buy Free Trial