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 2016

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

Re: [QF-Test] reading the node name which is set by a name resolver

  • Subject: Re: [QF-Test] reading the node name which is set by a name resolver
  • From: Bernhard Schmitt <bernhard.schmitt@?.de>
  • Date: Wed, 21 Sep 2016 16:20:04 +0000

Hello Martin,


thank you fort he script. When I am using it, I get the components id instead of the name.

I tried the following:


from de.qfs.apps.qftest.extensions import ResolverRegistry

node = rc.getComponent("formWarpRequest_NS_")

l = node.getElementsByTagName("INPUT")

print len(l)

for i in l:

   print ResolverRegistry.instance().getElementName(i)



The list I have got is identical with the ids. It looks like this:


















Bernhard Schmitt

Consultant Softwaretest

E-Mail: bernhard.schmitt@?.de


imbus Rhein-Main GmbH, Kirschgartenstraße 15, 65719 Hofheim, DEUTSCHLAND

Tel. +49 6192 92192-0, Fax +49 6192 92192-50

info@xxxxxxxx http://www.imbus.de


Geschäftsführer: Frank Schmeißner, Tilo Linz, Bernd Nossem

Sitz der Gesellschaft: Hofheim

Registergericht: Frankfurt am Main, HRB 52155




-----Ursprüngliche Nachricht-----
Von: Martin Moser [mailto:martin.moser@?.de]
Gesendet: Mittwoch, 21. September 2016 17:50
An: qftest-list@?.de
Cc: Bernhard Schmitt
Betreff: Re: [QF-Test] reading the node name which is set by a name resolver


Hi Bernhard,


if you want to access the name set by resolvers of QF-Test you can use

that semi-official script (this case is a Jython SUT-script):



from de.qfs.apps.qftest.extensions import ResolverRegistry


node = rc.getComponent("<YOUR-ID>")

print ResolverRegistry.instance().getElementName(node)



Best Regards,




Am 20.09.2016 um 11:06 schrieb Bernhard Schmitt:

> Hello,


> for a web application, in a SUT script, how can I read the node name which is set by a name resolver ?


> Best Regards


> Bernhard Schmitt




> _______________________________________________

> qftest-list mailing list

> qftest-list@?.de

> http://archive.qfs.de/mailman/listinfo/qftest-list




Martin Moser


E: martin.moser@?.de

T: +49 8171 38648-14

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

Videos Downloads Documentation Buy Free Trial