5. Creating an Icon

Applies to TestComplete 14.10, last modified on June 5, 2019

Now, we can create an image for the items to be added to the Recording and Tools toolbars.

The image must be a 16×16 BMP or PNG file with the 24-bit or lower color depth . The color of the lowest left pixel is treated as the “transparent” color.

To create a bitmap or PNG, you can use any graphic editor, for instance, MSPaint.

clc-icon.bmp
clc-icon.bmp
Right-click the image and select Copy from the context menu

You can copy the image from this topic:

  • Right-click the image on the right and select Copy from the context menu. This will copy the image to the clipboard.

  • Switch to the graphic editor and paste the copied image to it.

Save the image under the clc-icon.bmp name to the C:\My Extensions\ActionsExtension folder (that is, to the folder that contains the description.xml file).

Prev     Next

See Also

Script Extensions
Creating Actions - Basic Concepts

Highlight search results