Tuesday, 20 March 2012

Virtual Object Configuration in QTP

Some of the objects looks like standard objects in the Application Under Test but they will not be recognized by QTP. So, we need to configure the objects in such a way that the recognized by QTP. Such objects are called as Virtual Objects.

In Virtual object configuration we need to mark the certain area or the User Defined Object as Virtual object.Virtual object enables us to run the tests on the objects which are not identified by QTP. We can manage the virtual objects by using Virtual Object Manager.

We can configure the Virtual Objects by following the steps mentioned below.

  • Navigate to Tools Menu
  • Go to Virtual Objects
  • Select "New Virtual Object" option
  • Click Next
  • Mark the area of the application with the help of Mark Button Option
  • Click Next
  • Select any one of the following options
               01.Entire Parent Hierarchy
                02.Parent Only
  • Click Next
  • Enter the specified object name (Ex: Login)
  • Specify the collection name
  • Click on Finish
We can create and manage the Virtual Manager feature in QTP.


Post a Comment

Back To Top