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]

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

  • Subject: [QF-Test] QF-Test and NSIS-Installer
  • From: Stefan.Matthaei@?.de
  • Date: Wed, 18 Jul 2012 10:48:47 +0200

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")    
    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

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.

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

Videos Downloads Documentation Buy Free Trial