List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  

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

Re: [QF-Test] Using the Component Object Model Interface (COM) of Windows Applications for automation from QFS

  • Subject: Re: [QF-Test] Using the Component Object Model Interface (COM) of Windows Applications for automation from QFS
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Thu, 23 May 2013 21:53:40 +0200

Hello Christian,

yes, you can access COM servers from a QF-Test 'Server script' node. To
this end, you need a bridge from Java to COM. Probably the easiest way is
using the Groovy Scriptom module, cf.


To make it work with QF-Test, download the scriptom zip archive and copy
the scriptom-xxx.jar file into the


folder in your QF-Test installation. The corresponding scriptom-xxx.dll (32
or 64 bit) must reside somewhere on the PATH (e.g. c:\windows\system32).
Now you can for example create an instance of the "WScript.Shell" COM
object and invoke its methods in a Groovy 'Server script':

   import org.codehaus.groovy.scriptom.*

       def wshell = new ActiveXObject('WScript.Shell')
       wshell.Popup('Scriptom is groovy')

By the way, you could also do your COM automation outside QF-Test, for
example in a VB script which can be executed via

 +Execute shell command

Please refer to


for further information.

Best regards,

--On Donnerstag, Mai 23, 2013 06:05:09 +0000 "Weichenberger, Christian
(I/EE-45)" <Christian.Weichenberger@?.de> wrote:


I need to test an JAVA Application on Windows. Involved in the test is a
other Windows application. This application has a COM-Server and can be
automated via COM.

Question: Is it possible with QFS, for example from the Jython Script to
access the COM-Interface of windows applications?
If so, can someone provide an example?

Mit freundlichen Gruessen

Christian Weichenberger
Testmanagement Diagnosetools

85045 Ingolstadt
Tel. +49-841-89-54847

Sitz/Domicile: Ingolstadt
Registergericht/Court of Registry: Amtsgericht Ingolstadt
HRB Nr./Commercial Register No.: 1
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Martin
Winterkorn Vorstand/Board of Management: Rupert Stadler
(Vorsitzender/Chairman), Luca de Meo, Frank Dreves, Wolfgang Dürheimer,
Bernd Martens, Thomas Sigi, Axel Strotbek

Wichtiger Hinweis: Die vorgenannten Angaben werden jeder E-Mail
automatisch hinzugefügt und lassen keine Rückschlüsse auf den
Rechtscharakter der E-Mail zu. Important Notice: The above information is
automatically added to this e-mail. This addition does not constitute a
representation that the content of this e-mail is legally relevant and/or
is intended to be legally binding upon AUDI AG.

Get the most out of QF-Test - through training directly from the authors
* via webinar
* here at QFS   
QFS Support - Robert Lahmer
Quality First Software GmbH      
Tulpenstr. 41                         Tel: +49 8171 38648-20
DE-82538 Geretsried                   Fax: +49 8171 38648-16
GF: Gregor Schmid, Karlheinz Kellerer     HRB München 140833