TestProject Forum

Finding a value in a list

I have the following table on one of our screens.


I would like to search through the Document column of this table for a particular document number and validate whether it exists or not.

I looked into the ‘Check if all items in a web list element contain text’ action but I don’t understand how to set it up properly or if this is even the action I require. Additionally, when I was mousing over the table elements, I couldn’t find a way for picking that specific column,.

Any suggests would be great.

Keith Sheehan

Hello @keith.sheehan,

If this is an html table then there is an action to check whether a text exists in that table, this action returns true or false and the row number in which the text was found:

Alternately you can just check if the entire element contains that certain text: