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] Hov can i read the "array(de.qfs.apps.qftest.client.web.dom.Node)"?

  • Subject: Re: [QF-Test] Hov can i read the "array(de.qfs.apps.qftest.client.web.dom.Node)"?
  • From: "Thomas Max, QFS Support" <support@?.de>
  • Date: Fri, 12 Feb 2016 11:14:03 +0100

Hello Alexander,

there are 2 problems:

1) getChildrenByTagName returns just the direct children, but below the

so in your case is a array with length 0.

2) The <TITLE> tag is a reserved tag which is used to set the title of
the browser window. So by definition there is only one title tag allowed
at all and those tags are basically completely inaccessible inside the
dom structure. So you either need to use a different tagname or check
for the content of the span nodes.

The get the displayed value you can then use :


Best regards,

On 2/8/16, 3:05 PM, Straub, Alexander wrote:

i have an problem with read cell of tabel.

Test run for an Webapplication.

I go to an cell over this way: tableAdminResult&0&0. The cell‘s has an
„span“ element’s (it can more then one) with „title“ elemnts. This
elment must be read by the test.

I found an way the give my the input, but i can read real input in the cell.

This is the code:


idOfCell = rc.lookup("idOfCell") (tableAdminResult&0&0)

tagName = rc.lookup("searchTag") (span)

table = rc.getComponent(idOfCell)

# then get the value of the table cell

Cell = table.getChildrenByTagName(tagName)

print table

for topic in Cell:

title= topic.getElementsByTagName('title')

print title

for x in len(title):

print title [x]


The variable „title“ has: array(de.qfs.apps.qftest.client.web.dom.Node)

My question is, how can I read the input?



qftest-list mailing list

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

Thomas Max
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

Videos Downloads Documentation Buy Free Trial