2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2007

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

Re: [QF-Test] Printing from SUT when print-dialog is outside SUT

  • Subject: Re: [QF-Test] Printing from SUT when print-dialog is outside SUT
  • From: Laurent Dolle <ldolle@?.com>
  • Date: Wed, 6 Jun 2007 17:37:19 +0200

Hi Louise,

We faced this problem and solved it by calling the AWT Robot from a SUT script. If you only want to press a key like <Enter> or <Esc> to validate/close, this will do the trick quite easily.

Laurent Dollé
Thales Security Solutions & Services, on behalf of:
Amadeus - Global Core - Java Middleware
+33 (0)4 97 15 34 24

"Kelstrup, Louise" <louise.kelstrup@?.com>
[QF-Test] Printing from SUT when print-dialog is outside SUT

"Kelstrup, Louise" <louise.kelstrup@?.com>  

Sent by: qftest-list-bounces@?.de  
06/06/2007 17:19

Hi all
I am trying to test some Print functionality from our SUT. My problem is that clicking the Print button in the SUT, opens a standard windows print dialog (like the one that Microsoft Word opens), and QFTest does not recognize this dialog. So I have no idea how to actually get it to print and I can't close the modal Print dialog from the script either. I am not interested in testing the print dialog - only to get my print and continue the script.
Maybe some of you have already found a smart way of doing this. I was thinking something like finding a freeware capture/replay tool for Windows - record the sequence where I push the Print button on the Windows dialog and then call the simple script from my QFTest. But I would like to hear some opinions before I start searching and testing freeware tools. :-)
/Louise Kelstrup
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

qftest-list mailing list