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 52

Object Repository Automation

UFT object repository automation model enables users to manipulate object repositories and their contents from outside of UFT. Any language and development environment that supports automation can be used to write OR automation programs. For example VBScript, JavaScript, Visual Basic, Visual C++ or Visual Studio.NET. All object repository manipulation activities like add, remove, rename etc. can be performed using code.

Automating object repository proves to be useful when requirement is to perform the same tasks multiple times or on multiple shared object repositories.

UFT provides two APIs to automate object repository:

  • ObjectRepositoryUtil object
  • TOCollection object
NOTES

Object Repository automation ...

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