List Icon
Archive de la liste de diffusion

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]

[QF-Test] Text recognition in table

  • Subject: [QF-Test] Text recognition in table
  • From: Els Helsen <Els.Helsen@?.be>
  • Date: Tue, 30 Jun 2015 09:58:10 +0000



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,



PNG image

PNG image

PNG image