O'Reilly logo

Agile Automation and Unified Funtional Testing by Rajeev Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 58

Reserved Objects

Reserved objects are object types for which UFT creates only a single instance during run-time on demand. Unlike instances of other UFT objects like Scripting.Dictionary where objects are created explicitly during test run; a reserved object is created on demand when referenced in test code during test execution.

Reserved objects enable users to retrieve or control UFT settings or to modify UFT behavior during a run session. For example, UFT object Environment is a reserved object with ProgId ‘Mercury.MicEnvironment’. Similarly, Crypt object is a UFT reserved object with ProgId ‘Mercury.Encrypter’.

DEVELOPING CUSTOM RESERVED OBJECTS FOR UFT

In this chapter, we will discuss how to create custom reserved objects which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required