31.1 Addressing subitems of tables and lists

Subitems of tables and lists are addressed via indices. The two most important index types are the numerical index and the text index. To demonstrate this, we will now record a mouse click on a list item and take a closer look at the recorded QF-Test component ID.

You will find the recorded mouse click in the Extras section.

Recorded mouseclick
Figure 31.1:  Addressing a list item

The recorded QF-Test component ID is action_bar_root.list@Rolo. It consists of the following parts:

Note Numerical indices always start at 0.

Tables are addressed analogously to lists, but they have an additional index to address the column. VehicleTable@Modell&0 addresses in table VehicleTable the column via the text index Modell and the row via the numerical index 0. This is just an example and cannot be tried out in the Android demo because there is no table in the app.