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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.