Keyword-Driven Testing
Keyword-Driven Testing is called Keyword Testing in TestComplete and consists of operations that correspond to automated testing actions. Each operation specifies the action to be simulated and the parameters associated with the action. The test engine executes the automated test, operation-by-operation, and thus simulates user actions on the application under test.
Create Automated Software Tests Easily and Quickly
Keyword tests can be recorded or created visually in a keyword testing editor. To create automated software tests with keyword testing, no programming skills are needed, so even inexperienced users can use them to create powerful automated software tests immediately, without having to learn a scripting language. To create automated software tests faster, you can record new operations into existing automated software tests or modify the recorded automated software tests in the keyword test editor:
Create Robust Automated Software Tests that Work with Any Application
Automated software tests, created with TestComplete’s keyword testing feature, works with any 32-bit or 64-bit Windows, .NET, Java or web application. They simulate user actions on any window, dialog box or control and can use special methods and properties to simulate user actions on popular menus and controls. TestComplete’s keyword testing feature can also access, internal objects, methods and properties of the application under test.
Keyword testing in TestComplete is object-oriented and does not depend on the controls’ layout on the screen. This makes your automated software tests resistant to changes in the application.
Get started with Keyword Testing and try TestComplete for free.
Built-In Keyword-Driven Testing Operations
TestComplete offers a lot of built-in operations that let you easily perform various automated software testing actions on the application under test with keyword testing:
-
Launch tested applications and web browsers.
-
Simulate user actions on the tested processes, windows, controls, menus and objects, check the object’s state and run other automated software tests.
-
Easily create keyword testing checkpoints for your automated software tests to verify specific functionality of your application.
-
Post messages and images to the automated test log.
-
Perform advanced operations and even organize the execution flow: create loops, check conditions, handle exceptions, and much more. By using these operations you can automate complex actions and implement various execution algorithms with keyword testing.
Use Automated Test Scripts to Perform Complex Tasks
Automated test scripts can be called while using keyword testing or even use code snippets to specify operation parameters.
Automate Unit, Functional, Data-Driven and Other Automated Software Tests
You can directly call other automated software test types while using TestComplete’s keyword testing feature. Easily integrate automated software tests defined in your application into one automated test battery and automate all unit tests, keyword tests, automated test scripts and low-level procedures.
Variables and Parameters in Keyword Tests
Keyword testing with TestComplete allows you to use variables and parameters. You can use them to specify operation parameters, so your automated software tests work with external values passed to the automated test rather than with hard-coded data. This makes your keyword testing more flexible and universal.
Convert Keyword-Driven Tests to Scripts
TestComplete allows you to convert your keyword tests to their script equivalents. The keyword to script conversion is ideal for advanced users who need a copy of the automated test created by a novice user. It is also a good way for novice testers to familiarize themselves with the scripting language used in their automated tests.
Debug Keyword-Driven Tests
TestComplete includes a keyword test debugger that allows you to execute your keyword tests step-by-step, trace into other keyword tests and script routines that are called from the debugged keyword test, evaluate parameters, variables and code expressions, set breakpoints (ordinary and conditional) and perform other keyword testing actions. Keyword testing and automated test script debuggers are integrated seamlessly. If you debug a keyword test that calls an automated test script routine, you can trace into the automated test script routine and continue debugging. Similarly, if you debug automated test script code that runs a keyword test, you can trace into the keyword test and step through its keyword testing operations.
Extend Keyword-Driven Tests With Custom Operations
Keyword testing in TestComplete is built on an open architecture. You can easily create custom operations and extend your keyword tests with them. This feature lets you automate complex tasks or perform those automated software test actions that do not have built-in operations. The custom operations look and behave in the same way as built-in operations. The TestComplete package includes sample files and modules that show you how to get started creating your keyword testing extensions.
Get started with Keyword Testing and try TestComplete for free.