Document toolboxDocument toolbox

Adding Web Application Objects

You can add an object of a web application under test with a single-click and select the locator type of your preference. 

The following is the default sequence to add objects for a web application:

  • Link

  • Name

  • ID

  • XPath

  • CSS

The following is the default sequence to add objects for an SFDC application:

  • SFDC:Label

  • Link

  • Name

  • ID

  • XPath

  • CSS

You can change the locator type sequence as per your requirements. 

Ensure that you have installed Object Spy on the browser of your choice and your computer is connected to Qualitia Server.

Ensure that you have selected a Salesforce project when adding objects of a Salesforce application. 

For adding objects of a Salesforce application, Qualitia recommends using Chrome Object Spy only as Salesforce does not support viewing their applications on Edge.    

To add Web Application Objects:

  1. Launch either Edge or Chrome Object Spy.
    For detailed instructions on how to launch a web object spy, refer to Launching Object Spy from the Browser.
  2. Enter the application under test URL in the address bar.
  3. Enable the Select Mode on.

  4. Hover the mouse pointer over the object and click it once the object details are highlighted.
    The object is added into the list in the Object Spy window.
  5. After adding all the required objects, click Save to Repository.




  6. To add the objects for a child window, do one of the following:
    1. Open the child window, and open its associated Object Spy to add the child window objects to a new child window object repository.
    2. Open the child window. Click the Select Mode button of the Object Spy associated with the parent window to add the child window objects to the parent window object repository. You can switch between parent and child windows to add their objects using the Select Mode button.  

      It is recommended to use Web Object Spy in left dock mode or right dock mode. If you want to use it in any other dock mode, re-enable the Select Mode button to start using it.

      You can also detach Object Spy UI with the application under the test page and also add the child window objects as shown in the above-mentioned step. However, if you are adding objects for multiple application pages in the detach mode, the Web Object Spy adds the objects of all the pages in the same object repository.