The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[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
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.