TestComplete supports various testing types and methodologies: unit testing, functional and GUI testing, regression testing, distributed testing, and others (see Different Ways of Testing). In this tutorial, we will create a functional test—the kind that is used most often. Functional tests check the interface between the application on one side and the rest of the system and users on the other side. They verify that the application functions as expected.
A typical functional test consists of test commands that perform various actions such as simulating clicks and keystrokes, running test commands in a loop, and verifying object contents.
In TestComplete, functional tests can be created in the form of keyword tests and scripts. Tests of both kinds can be recorded or created from scratch with built-in editors. Creating keyword tests is visual, easy and does not require a programming background. Scripting requires understanding script commands, but gives you the ability to create more powerful and flexible tests. TestComplete supports scripting in:
- JavaScript
- JScript
- Python
- VBScript
- DelphiScript
- C#Script
- C++Script
You can create scripts in the language you know best.
In this tutorial, we will use the keyword testing feature.
See Also
Introducing Automated Testing and TestComplete
Different Ways of Testing
Keyword Tests
Writing Scripts - Overview