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 2007

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

[QF-Test] Resolver Hook with isInstance()

  • Subject: [QF-Test] Resolver Hook with isInstance()
  • From: "Michael Werner" <michael.werner@?.com>
  • Date: Mon, 12 Nov 2007 16:10:25 +0100



I am trying to write a Resolver Hook, in the Form



def getName(obj):


                        return return JButton.getActionCommand()


                        return “TODO: JPanel”


resolvers.addNameResolver("JButtons", getName,"javax.swing.JButton")

resolvers.addNameResolver("JPanel", getName,"javax.swing.JPanel")




But, this does not Work. The Hooks all work, if I use them alone, without the obj.isInstance() condition.


Has anyone an idea what is wrong there?







Michael Werner  




Ericsson GmbH



Gerberstr. 33

71522, Backnang, Germany,



Email  : Michael.Werner@?.com


Ericsson GmbH.
Sitz: Düsseldorf. Registergericht: Amtsgericht Düsseldorf, HRB 33012. Geschäftsführer: Dr. Stefan Kindt, Carsten Ahrens. Aufsichtsratsvorsitzender: Jef Keustermans


This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only send and receive emails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.


Videos Downloads Documentation Buy Free Trial