Using Item Identifiers in Visual Tests

In a visual test, you can only specify an item identifier as an index, which means inside brackets, and not as a simple number.


For example, to return the text of the cell in the second row and in the second column of a DomTable for the GetCellText method, add the following step to the visual test:
Return cell text from row '[2]', column '[2]' and assign the return value to st_LastReturnValue
In the parameters section of the properties of this step, set the row parameter to [2], and set the col parameter also to [2].
Note: Setting these parameters to 2 instead of [2] will lead to an error, as the brackets are required for item identifiers in visual tests.