Book Image

Advanced UFT 12 for Test Engineers Cookbook

Book Image

Advanced UFT 12 for Test Engineers Cookbook

Overview of this book

Table of Contents (18 chapters)
Advanced UFT 12 for Test Engineers Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Setting mandatory and assistive properties for a class


In this recipe, we will see how to change the default settings for object identification, which identifies the TO properties that UFT uses in its attempt to achieve unequivocal object identification. After reading this recipe, you will be able to view, analyze, and change the properties UFT uses to identify a TO. You will also acquire a deep understanding of how these properties are used by UFT to achieve object identification.

Getting ready

Before trying this recipe, ensure that the required hooks in the technology adapters, which are defined as add-ins or plug-ins for each of the relevant technologies (Web, .NET, Java, and so on.), are loaded, and that the current test has them defined in its settings.

How to do it...

Proceed with the following steps:

  1. From the UFT home page, navigate to Tools | Object Identification…. The following dialog will open:

    The preceding screenshot shows the dialog after selecting Web from the Environment listbox...