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] Text recognition in table
Hi Els, Probably something like the following is working: + Procedure call: qfs.web.table.getRowCount Variable for return value: nrRows Local variable: enabled Variable definitions: id: home-message-list + Loop: Number of iterations: $(nrRows) Iteration counter: $(cRow) + Try + Check Text QF-Test component ID: home-message-list&2&$(cRow) Text: .*28/06/2015_08:00.* As regex: True Throw exception on failure: enabled + Break + Catch + Else + Procedure call: qfs.run-log.logError Variable definitions: message: The Text "28/06/2015_08:00" was not found in table 'home-message-list'. Greetings, Yann Am 30.06.2015 um 11:58 schrieb Els Helsen:
Hello, I’m stuck on the following case. We have a webpage with a table that we would like to test. The html structure is the following: As you can see there is a table on the page in the html structure. When I record this component however, QFS is not recording a table. I get the following structure: What i would like to do is check if somewhere in the node home-message-list (which is a table) is a node with the text ‘zo 28/06/2015 08:00’ . I thought is should be possible by using indexes and a regular expression : home-messages-list%.*28/06/2015_08:00 I have recorded some other tables, just with plain text, and there it is working well. There I can work with the above regular expression and it finds the node with that text. Can someone give me some advice, can this be done just with a component, or do I need to make a script that can check if a text is present somewhere in a subnode of a table? Thanks in advance, Els _______________________________________________ qftest-list mailing list qftest-list@?.de http://www.qfs.de/mailman/listinfo/qftest-list
-- Yann Felix Spöri (Extern) E: yann.spoeri.ext@?.de T: +49 8171 38648-0 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