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 ...

Get Agile Automation and Unified Funtional Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.