Chapter 8. Keyword Tests

In this chapter we will cover the following recipes:

  • Recording and understanding Keyword Tests
  • Adding new actions to existing Keyword Tests
  • Enhancing Keyword Tests using loops
  • Creating object checkpoints
  • Calling script functions from Keyword Tests
  • Converting Keyword Tests to scripts
  • Creating our own Keyword driver

Introduction

Automated tests are sometimes created by people who do not have experience in programming. For such cases TestComplete has a feature called Keyword Tests.

On the one hand, Keyword Tests are designed to be easily created and supported in a visual way, when users don't need to write code. On the other hand, Keyword Tests have almost the same abilities as Script Tests do: we can record them, modify them, and debug them.

Another advantage of the Keyword Tests is that they look the same for different types of application (Win32, .NET, Web, and so on), thus allowing us to concentrate on the tests themselves.

In this chapter we will consider some of the most important aspects of Keyword Tests and finally will create our own Keyword driver with user-defined keywords.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.71.211