Document toolboxDocument toolbox

Adding Objects Using Different Modes

In Qualitia you can use multiple modes to add objects from the application under test into Qualitia's object repository.


Right-Click Mode

You can right-click the object which you want to add from the application under test and select Add Objects from the context-menu options.

To add object using the right-click mode:

  1. From the Objects screen, click Spy.
    The Object Spy window appears.
  2. Navigate to the page from where you want to add objects.
  3. Ensure that Select Object option is disabled. 
  4. Point to an object that needs to be added.
    The object is highlighted with a blue border.
  5. Right-click the object and select Add Object from the context-menu.
    A confirmation message appears after the object is added.
    An object is added to the repository using the precedence set in Locator Priority Settings.
  • While pointing to an object ensure you have pointed to an object with its appropriate Object Class.
  • Objects that are added manually with CSS/DOM Locator Type values cannot be highlighted.
  • When adding new object in the repository, if object already exists, Qualitia notifies displaying the object name that is used while adding this object into the repository.

Left-Click Mode

Many a times, due to some security measurements, Web applications do not allow right-clicking UI elements. You can use the left-click mode to add objects from such applications. 

To add object using the left-click mode:

  1. From the Objects screen, click Spy.
    The Object Spy window appears.
  2. From the Settings > Inspection. 
  3. Select Capture Mode as Left-Click and click OK.

  4. Navigate to the page from where you want to add objects.
  5. Ensure that Select Object option is enabled.
  6. Left-click the object which you want to add into the repository.
    A confirmation message appears after the object is added.

When adding new object in the repository, if object already exists, Qualitia notifies displaying the object name that is used while adding this object into the repository.

Mouse Hover

In this mode, you can add objects into the repository just by hovering mouse over the required object.

To add object using the mouse hover mode:

  1. From the Objects screen, click Spy.
    The Object Spy window appears.
  2. From the Settings > Inspection. 
  3. Select Capture Mode as Mouse Hover and click OK.

  4. Navigate to the page from where you want to add objects.
  5. Ensure that the Select Object option is enabled.
  6. Hover the mouse pointer over the object which you want to add into the repository.
    A confirmation message appears after the object is added.


When adding new object in the repository, if object already exists, Qualitia notifies displaying the object name that is used while adding this object into the repository.

Selecting Object Attribute On-The-Fly

Qualitia gives you ability to select object attribute on-the-fly when adding objects in the Right-Click Mode. 

To select object attribute on-the-fly: 

  1. From the Objects screen, click Spy.
    The Object Spy window appears.
  2. Navigate to the page from where you want to add objects.
  3. Right-click the object and select Add Object By from the context-menu.
  4. Select the object attribute using which you want to add object into the repository.
    A confirmation message appears after the object is added.

    When adding new object in the repository, if object already exists, Qualitia notifies displaying the object name that is used while adding this object into the repository.