TestComplete samples (both built-in and additional) are located in the <Users>\Public\Public Documents\TestComplete 14 Samples folder.
Some file managers display the Public Documents folder as Documents.
About
Microsoft Office samples illustrate how you can work with Microsoft Office applications from scripts. These scripts demonstrate how to export data to Word, read data from Excel and Access, and how to send emails using Outlook.
These samples are a part of the additional sample package. To use them, download this package from support.smartbear.com/testcomplete/downloads/samples and install it.
After the installation is over, you can find the samples in the <TestComplete 14 Samples>\Common\MSOffice folder.
Files
The sample projects are organized by the scripting language they use and by the Microsoft Office application they work with:
Note: |
There are examples only for certain applications and scripting languages. |
JavaScript
JavaScriptJavaScript
Excel
<TestComplete 14 Samples>\Common\MSOffice\JavaScript\Excel_JavaScript
Word
<TestComplete 14 Samples>\Common\MSOffice\JavaScript\Word_JavaScript
JScript
JScriptJScript
Access
<TestComplete 14 Samples>\Common\MSOffice\JScript\Access_JScript
Excel
<TestComplete 14 Samples>\Common\MSOffice\JScript\Excel_JScript
Outlook
<TestComplete 14 Samples>\Common\MSOffice\JScript\Outlook_JScript
Word
<TestComplete 14 Samples>\Common\MSOffice\JScript\Word_JScript
Python
PythonPython
Excel
<TestComplete 14 Samples>\Common\MSOffice\Python\Excel_Python
Word
<TestComplete 14 Samples>\Common\MSOffice\Python\Word_Python
VBScript
VBScriptVBScript
Access
<TestComplete 14 Samples>\Common\MSOffice\VBScript\Access_VBScript
Excel
<TestComplete 14 Samples>\Common\MSOffice\VBScript\Excel_VBScript
Outlook
<TestComplete 14 Samples>\Common\MSOffice\VBScript\Outlook_VBScript
Word
<TestComplete 14 Samples>\Common\MSOffice\VBScript\Word_VBScript
DelphiScript
DelphiScriptDelphiScript
Access
<TestComplete 14 Samples>\Common\MSOffice\DelphiScript\Access_DelphiScript
Excel
<TestComplete 14 Samples>\Common\MSOffice\DelphiScript\Excel_DelphiScript
Outlook
<TestComplete 14 Samples>\Common\MSOffice\DelphiScript\Outlook_DelphiScript
Word
<TestComplete 14 Samples>\Common\MSOffice\DelphiScript\Word_DelphiScript
See Also
TestComplete Samples
Working With COM Objects
Tutorials and Samples
Video Tutorials (web)