How Squish looks up Real Names from Symbolic Names

Last edited on

Real Names

function main()
{
    ...
    var n = "{type='CMainWindow' visible='1' windowTitle='xyz'}";
    var o = waitForObject(n);
    ...
}
test.js

Symbolic Names

function main()
{
    ...
    var n = ":xyz_CMainWindow";
    var o = waitForObject(n);
    ...
}
test.js

Example "<SQUISH_DIR>/objects.map" content with an entry for “:xyz_CMainWindow“:

:xyz_CMainWindow	{type='CMainWindow' visible='1' windowTitle='xyz'}

Object lookup from symbolic name to real name to GUI object

Related Information