Chapter 21

Objects

The first step towards developing test code for an action (GUI test) is to identify the GUI objects and the operations to be performed on them. For example, development of login action would involve:

  • On username edit box performing set operation to set the user name.
  • On password edit box performing set operation to set the password.
  • On login button performing a mouse click operation to login to the application.

Once the GUI objects have been identified, next step is to capture the attributes/properties that describe the object and store this description. UFT stores this description in an object storehouse called Object Repository. Each GUI object is assigned a unique name in object repository. This is called the logical ...

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.