In addition to recording tests, you can create and edit tests manually. When you add a new test command, you specify the alias of the object the command will use. An alias is an object name in the Name Mapping repository. You can specify the needed alias in the following ways:
In keyword tests
When you add or edit an operation that calls methods or properties, or simulates user actions on windows, controls and other objects, you specify the object with which the operation will work. In the Select Object dialog, enter the needed alias manually or select if from the Aliases tree:
Note: If the needed object is not mapped yet, click Map New Object to map the object manually.
If TestComplete is configured to map objects automatically, you can also select the object from screen. TestComplete will add it to the Aliases tree and select it automatically.
Auto-complete the entered aliases using Code Completion:
Using copy and paste (both in keyword tests and in scripts):