La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la 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. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
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.