In the Squish for Web edition, why do my object names look different?

Last edited on

Squish for Web uses two distinct naming schemes

One naming scheme is hierarchical names, for example:


The other scheme is based on multi-property names, for example:

{"id": "input_person_last_name", "name": "person_last_name", "tagName": "INPUT", "type": "text"}

Only some known HTML types will generate multi-property ("real") names: form elements, links, clickable images, and similar. Everything else gets a hierarchical name based on its DOM path.

You can change a DOM name to a multi-property name if you want, but you must do this by hand. If you do this you must use the tagName property, or else the object map lookup won't work.