Chapter 8. Utility and Reserved Objects

In this chapter, we will cover the following recipes:

  • Using global variables (Environment)
  • Customizing mouse operations (DeviceReplay)
  • Managing processes (SystemUtil)
  • Measuring time (MercuryTimers)
  • Resolving file locations (PathFinder)
  • Loading shared object repositories (RepositoriesCollection)
  • Loading and creating XML documents (XMLUtil)
  • Drawing a rectangle on the screen with Win32 API methods (Extern)
  • Verifying binary file contents (FileCompare)
  • Implementing a custom reserved object
  • Using remote objects
  • Utility statements

Introduction

This chapter describes how to use the utility and reserved objects included in UFT replace with out-of-the-box. These objects are loaded automatically on launching UFT, so that their methods ...

Get Advanced UFT 12 for Test Engineers Cookbook 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.