Applies to TestComplete 14.30, last modified on November 21, 2019

Clipboard checkpoints enable you to verify the current text content of the clipboard.

Creating the Checkpoint

The Clipboard property of the Sys object returns the current contents of the clipboard. So, to create the checkpoint you should write script code or use a keyword test operation that will check the property value. If you are going to use the checkpoint in a script, then you can either write the comparison code manually, or use specific toolbar items that generate this code. For detailed information on creating the clipboard checkpoints, see the following topics:

Requirements

The clipboard checkpoints are created with the script extensions technology. The toolbar items which automates the generation of comparison code are only available if the Clipboard Checkpoint is installed in TestComplete.

Checkpoint’s Source Code

The clipboard checkpoint demonstrates how you can extend the TestComplete functionality with the script extension technology. You can find the checkpoint’s source code in the AQAScriptExtensions.tcx file that is located in the <TestComplete>\Bin\Extensions\ScriptExtensions folder. This file is a ZIP archive that has the .tcx extension. So, you can use any zip archiver to unpack files from it. For information on the extension’s files, see Pre-Installed Script Extensions.

See Also

About Checkpoints
Script Extensions
Pre-Installed Script Extensions

Highlight search results