Squish/Finding List Items that End in a Given String

From Qt Wiki
< Squish
Revision as of 14:59, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this page in: Español

Finding list items that ends in a given string

As Squish uses the full item text for identifying items in a list view, this could cause problems when
the beginning of the item text is different based on e.g. which machine you are running the test case.

One solution to this could be to look for items ending with a given string, to avoid including
the changing string prefix. This can be done with the utility function below, which clicks an item
that ends in a given string in a given column:

Selecting an item that ends in the string “value1” in a specific list view is then done by doing:

There is only one article in "Tools -> Squish -> Finding_list_items_that_ends_in_a_given_string":

T

Categories: