List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 


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

Re: [QF-Test] Automated configuration of QF-Test 4.1.1


  • Subject: Re: [QF-Test] Automated configuration of QF-Test 4.1.1
  • From: Michael Höber, QFS Support <support@?.de>
  • Date: Wed, 4 Jan 2017 15:05:16 +0100

Hello,

 

QF-Test's configuration utility qfconfig.exe (can be found in the \bin directory) stores the following values in the registry:

- the Java program for QF-Test

- the amount of memory

- language

QF-Test itself (qftest.exe and qftestc.exe) reads these values during startup.

 

All those values are user dependent because of Windows Registry Virtualization, thus the "VirtualStore" paths.

For example: If user "a" setups the configuration, it has not impact for user "b". Also if user "c" setups the configuration with elevated privileges (aka "Run as Administrator"), it has not impact for other users if these other users have setup their own configurations.

 

That's why we usually do not recommend to manipulate the registry.

Actually we also do not recommend to use qfconfig.exe on multi user environments (e.g. a machine which is used by user "a" for test development during day and used by user "b" for automatic nightly tests).

Instead we recommend to define all necessary configurations via command line parameters. For example:

qftest.exe -java "C:\Program Files\Java\...\javaw.exe" -J-Xmx1024m …

This command tells QF-Test to use a certain Java and to use 1024m memory.

More information can be found here:

https://archive.qfs.de/qftest/manual/en/tech_execution.html

 

If you define all those parameters at the command line, it is not necessary to configure anything with qfconfig.exe or to manipulate the registry.

 

Best regards,

     Michael

 

--

_______________________________________________________________  

   

Get the most out of QF-Test - Support directly from the authors  

* Training & consulting: www.qfs.de/en/qftest/training.html  

* Phone & email support: www.qfs.de/en/qftest/support.html  

_______________________________________________________________  

   

Michael Höber  

Development & Support  

   

E: support@?.de  

T: +49 8171 38648-20     

F: +49 8171 38648-16  

   

Quality First Software GmbH | www.qfs.de  

Tulpenstr. 41 | 82538 Geretsried | Germany  

GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer

HRB München 140833  

 

From: qftest-list-bounces@?.de [mailto:qftest-list-bounces@?.de] On Behalf Of Michael Wildenauer
Sent: Tuesday, January 3, 2017 9:19 AM
To: qftest-list@?.de
Subject: [QF-Test] Automated configuration of QF-Test 4.1.1

 

We want to realize an automated installation and configuration of QF-Test 4.1.1.

We found registry keys (REG_DWORT) containing the value for Java Memory usage:

        HKEY_CLASSES_ROOT\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\QFS\qftest\QF-Test

        HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\QFS\qftest\QF-Test

QF-Test creates (and overwrites?) these entries on the first run. How can we configure the java memory automatically to 1024MB during the installation process? Is there any way to overwrite the default value?


Best regards / Cordialement / Mit freundlichen Grüßen

Dipl.-Inform. Michael Wildenauer
Software Development JAVA, ISTQB Certified Tester



C&A Services GmbH & Co. OHG | Wanheimer Str. 70 | 40468 Düsseldorf | Germany
T +49 211 98722164 | Michael.Wildenauer@?.com

Visit us on www.c-a.com or www.facebook.com/ca

Please consider the environmental impact of needlessly printing this e-mail.
   

C&A Services GmbH & Co. OHG | Wanheimer Straße 70 | D-40468 Düsseldorf | Sitz: Düsseldorf | Registergericht: Düsseldorf HRA 12655 | Telefon: +49 (211) 9872-01
Persönlich haftende Gesellschafter: C & A Retail GmbH | Sitz: Zug/Schweiz | UID: CHE-116.290.471
Geschäftsführer: Christoph Hammer, Robert H. A. M. Smeele, Petrus J. Zegger
FRM PARTICIPATIONS S.A. | Sitz: Luxemburg/Luxemburg | Handels- und Firmenregister Luxemburg: B 58158
Verwaltungsratsmitglieder: Rafael G. E. Bogaerts, John Drury, Dimitri Maréchal, Johny Seré, Robert H. A. M. Smeele, Matthias Van der Looven
Bankkonto: Commerzbank AG | IBAN: DE84 3004 0000 0132 4300 00 | SWIFT/BIC: COBADEFFXXX