Categories
Automation

What Is an Automation Kit?

Discover in this section what is an automation kit and how to use it. We will also discover some Automation Kit types. Let’s check. 

What Is an Automation Kit? 

An automation kit is a collection of objects that you can use to create a test or to develop an automation framework. So, the main features of automation kits are:

  • A suite of test objects that you use to create, organize, and run tests
  • Test object template that you can use to create your test objects
  • A test container is used to group several test objects and to run them as a single unit
  • Any necessary environment or data provider objects and information

Types of Automation Kit

The following list shows the different types of automation kits available in QTP:




Ads by Digital Adoption


  • Built-in automation kits
  • Test Object Automation Kits
  • Test Object Container Automation Kits
  • Data Provider Automation Kits
  • Environment Automation Kits
  • Custom automation kits

Let’s go into details about the different automation kits. 

Built-in Automation Kits

Built-in automation kits are the ones that are shipped with QTP and they are predefined. There is also a built-in automation kit for each of the available object libraries in QTP. Also, these built-in automation kits include all the objects that can be used in a script or in a test container to automate a given object library.

Test Object Automation Kits

Test object automation kits are used to automate test objects. But creating a test object automation kit involves creating a test object template and a test container. So, you can use a test object automation kit to automate a single test object, a group of test objects, or a group of test objects and their containers. 

Test Object Container Automation Kits

Test object container automation kits are used to automate test object containers. You can create a test object container automation kit when you want to automate a collection of objects.

Data Provider Automation Kits

Data provider automation kits are used to automate the interaction with an iData provider.

Environment Automation Kits

Environment automation kits are used to automate the interaction with a QTP environment or a third-party application. Also, this usually contains an environment object and any required environment variables and data providers.

Custom Automation Kits

Custom automation kits allow you to reuse test objects and other objects in another script or another QTP project. You can create a custom automation kit when:

  • You want to reuse a test object and its container as a single unit.
  • To reuse an environment object and all the associated data providers.
  • You want to reuse an automation kit, and you need to change some of its objects or elements.

Custom automation kits can be used in any test object automation kits, provided that the custom script objects they contain are compatible with the test object they are used in.

Moreover, custom automation kits can also be used as a standalone project or as a framework. You can also use custom scripts as “black box” test objects and adapt them to different environments and data providers. 

Conclusion

In this chapter, we learned what automation kits are. We also discovered the different types of automation kits available in QTP. We also encountered the most important objects that we use to create our automation kits.




Ads by Digital Adoption