The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter
To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.
Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog
[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)"?
Hello Alexander, there are 2 problems: 1) getChildrenByTagName returns just the direct children, but below the TABLE there is TBODY,TR,TD 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 : node.getText() Best regards, Thomas On 2/8/16, 3:05 PM, Straub, Alexander wrote:
Hi, 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: <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] </code> The variable „title“ has: array(de.qfs.apps.qftest.client.web.dom.Node) My question is, how can I read the input? Thanks Alexander _______________________________________________ qftest-list mailing list qftest-list@?.de https://www.qfs.de/mailman/listinfo/qftest-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