Adding a Location Suffix to the Tag of a Declaration

This functionality is supported only if you are using the Classic Agent.

You can, however, create declarations for each discrete object. To do this, make as many copies of the original recorded declaration as there are discrete objects. Then add a location suffix to the tag in each declaration, which is the location of the object within the graphical area.

Silk Test Classic provides two ways to specify the location suffix of contained graphical objects, depending on the size and spacing of the control.

Controls that are sized and spaced evenly in a grid

If a group of graphical controls are equal in size and evenly spaced in a grid, you can specify the location of each control as column y of the total number of columns and row x of the total number of rows. This syntax is both cross-platform and resolution independent.

Controls that are sized and spaced irregularly in a grid

If the graphical controls in a group are not the same size or are not evenly spaced in a grid, you need to specify in the declaration the location suffix of each control as an exact x,y point. This x,y point typically corresponds to the center of the object. This syntax is not necessarily cross-platform or resolution independent.

You specify a location in its declaration as an x,y coordinate using the following syntax:
(x, y)

You append this location to the tag with the forward slash (/) character.