Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 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 2012

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

Re: [QF-Test] QF-Test and NSIS-Installer

  • Subject: Re: [QF-Test] QF-Test and NSIS-Installer
  • From: "Karlheinz Kellerer\, QFS Support" <support@?.de>
  • Date: Fri, 20 Jul 2012 11:06:34 +0200

Hi Stefan,

you can try the standard lib procedure


to log all child windows. In the output you can also see the text
contained in the found child windows.

Possibly that helps to differentiate the windows.
If not feel free to provide the log directly to our support and we'll
take a look.

Best regards, 

Stefan.Matthaei@?.de writes:

> Hi everyone,
> i am trying to use QF-Test for the automated installation. i am using nsis installer.
> because the recording does not work with the nsis windows i am fetching the windows with the autowin-class.
> i have to know what windo is opened, because the click depends on the window.
> unfortunatly all windows have the same title, so i have tried the call autowin.getText. but this method also gives back only
> the title.
> is there a other possibilty to fetch the text of the window to determine which window is opened?
> check out my jython skript:
> def getWindow(name):
>     window = autowin.findWindow(name, regexp=True)    
>     return window
> if autowin.waitForWindow(5000,"Installer Language",True):
>     window = getWindow("Installer Language")    
>     window.setForeground()
>     strg = autowin.getWindowText(window) // only returns Installer Language, even a commentar in the getWindowsText method
> says sth. else ("does not only work for titles")
>     rc.logMessage("string is " + strg)
>     autowin.keybd_event(autowin.VK_RETURN, 0)
> best regards
> Stefan Matthaei
> Vertraulichkeit
> Die uebermittelten Informationen sind ausschliesslich fuer den oben genannten Adressaten bestimmt. Jede Verwendung,
> Veroeffentlichung, Vervielfaeltigung ist untersagt. Falls diese Mitteilung bei Ihnen irrtuemlich eingegangen ist, geben Sie
> uns bitte sofort Bescheid.
> Confidentiality
> The information contained in these documents is intended for the exclusive use of the addressee designated above. Each
> disclosure, reproduction, distribution is strictly prohibited. If you have received this transmission in error please
> contact us immediately.
> Hydrometer Electronic GmbH
> Donaustrasse 120
> 90451 Nuernberg
> Sitz der GmbH: Nuernberg, Registergericht: Amtsgericht Nuernberg HRB 21644, Geschaeftsfuehrer: Betriebswirt (VWA) Klaus
> Pelikan, Dipl.-Ing. (FH) Marc Sebald
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-list

Get the most out of QF-Test - through training directly from the authors
* via webinar       http://www.qfs.de/en/info/OnlineTraining_QF-Test.pdf
* here at QFS             http://www.qfs.de/en/info/Training_QF-Test.pdf
Karlheinz Kellerer, QFS Support                    Tel: +49 8171 3864820
Quality First Software GmbH                        Tel: +49 8171 38648-0
Tulpenstr. 41                                      Fax: +49 8171 3864816
DE-82538 Geretsried                                    http://www.qfs.de
GF: Gregor Schmid, Karlheinz Kellerer                 HRB München 140833

Videos Downloads Documentation Buy Free Trial