Squish tip of the week: Convert Symbolic Name to Real Name in 2 Clicks

Squish tip of the week: Convert Symbolic Name to Real Name in 2 Clicks

Squish uses the concept of the Object Map, with Symbolic Names and Real Names available for use in scripts.

At times an object real name may be needed at the script level instead of the symbolic name.

Quickly convert your symbolic name to a real name by right clicking the symbolic name in the script and selecting “Convert to Real Name”

click to zoom

Example

openMenu(waitForObject(":Address Book_Activity"));
openMenu(waitForObject("{text='Address Book' type='Activity' 
                         visible='true'}"));