Mailingliste - Einträge 2016
Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren
[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
|
Wir verwenden Cookies zur anonymisierten Auswertung Ihres Besuchs auf unserer Webseite durch »Matomo«. Dafür benötigen wir Ihr Einverständnis, welches für zwölf Monate gilt. Ein Widerruf bzw. Opt-out ist jederzeit auf unser Datenschutz-Seite möglich.
1. Funktionale Cookies
Wir verwenden funktionale Cookies, um die Basisfunktionalität der Webseite zu gewährleisten.
2. Performance und Statistik Cookies
Wir verwenden Matomo zur Analyse und Optimierung unserer Webseite. Cookies erlauben eine anonyme Erfassung der Informationen und helfen uns, Ihnen einen benutzerfreundlichen Besuch unserer Webseite zu bieten.
Dieses Cookie enthält eine eindeutige jedoch pseudonymisierte Matomo-interne Besucher-ID zur Erkennung wiederkehrender Besucher.
Dieses Cookie wird verwendet, um zu tracken, von welcher Website der anonymisierte Benutzer auf die Website gekommen ist.
Das Session Cookie von Matomo wird verwendet, um die Seitenanforderungen des Besuchers während der Sitzung zu verfolgen.
wird erzeugt und versucht sofort wieder zu löschen (zur Prüfung, ob der Browser des Besuchers Cookies unterstützt).
Kurzzeit-Cookies für temporäre Besuchsdatenspeicherung.
Kurzzeit-Cookies für temporäre Besuchsdatenspeicherung.