This guide was started in may 2010 while trying the SmartBear TestComplete 8 30-day trial version.
Important: TestComplete needs about 1GB space on C:\-drive to unzip MSI-files, and 700MB free space on the drive you wish to install it on.
Installation is simple with only a few steps in the wizard.
To use the software you need to activate it. The software will automatically prompt for activation when started.
The activation process contacts the SmartBear server through TCP/IP
]. If the activation fails, make sure that the port is open.
is a list of quick start video tutorials.
Running on virtual machine
If the software is installed on a virtual machine it is necessary to run with the following flag. This can be added to the shortcut. Change
<path to install folder>
<path to install folder>\Bin\TestComplete.exe --disable-vm-check
Project types available
- Generic Windows Application
- Adobe AIR
Here follows the steps for creating a test for a website. Most of the steps are from SmartBears video tutorial
. According to the tutorial the Web test plugin is only available in the Enterprise (and trial) version.
- Create a new project [ctrl+shit+n]:
- On the first windows of the wizard enter project name. Change the location if you like.
- Tested Application Type: Select 'Web'.
- Web Testing Settings: Select 'Functional testing of web pages'
- Tested Web Pages: skip
- Test Visualizer Settings: Uncheck boxes if you do not need the visualizer.
- Project's Scripting Language: Choose the language you like.
- Right click TestedApps in the Project Explorer.
- Select 'Add' --> 'New Item...'.
- Find and select the browser executable you wish to use (Firefox, Internet Explorer...).
- In the Workspace area (right) click on the ellipse (...) on the right under Parameters.
- Enter the URL to the website in the 'Command-line parameters' text field. Click OK.
- Start recording a new test by clicking the icon with the red ball and a key.
- Click the arrow next to 'Run Tested Applications' and select 'firefox'.
- Create the test entries, which can be things like:
- Navigate to pages.
- Check properties of elements (text, drop down boxes...):
- Click on the arrow next to the 'Create New Property Checkpoint' icon.
- Select 'Create Property Checkpoint'.
- Drag'n'Drop the 'Use Finder Tool' or use the Select object with cursor to select the element to test.
- In the preview you can verify the element you selected. Click Next.
- On the list of properties for the element, select the innerText (or whatever you wish to test).
- Click next and change the 'Value' field if necessary. This is the value that the element must have to make the test pass.
- Close firefox.
- Stop the test.
For some reason a 'NcpBudgetGui' is showing up with a click on the escape button (Might be because of VirtualBox). These items need to be deleted or they will make the test fail.
Now you can run the test and see if it passes.
Script based tests
In addition to the regular tests, you can also make script based tests with the following script languages
[Source: TestComplete Tip 4 (email)]
- Delphi Script