Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Qualitia Automation Studio (QAS) enables you to easily manage Objects. You can view objects, edit existing Objects and remove unwanted or redundant ones.

📚Prerequisites:

  • User must have access to QAS - Client.

  • User must have “Manage Objects “privileges to access Object toolkit.

Edit an Object

Sometimes, an object's name or properties might change, or you might want to rearrange your object hierarchy.

...

View Object

To view Object Repository via Object Spy

...

  1. Login to QAS - Client.

  2. Access Develop from left navigation to view the Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit to view the Object Repository.

    1. All the objects are listed in the Object Repository.

  4. Launch Object Spy. By default, you will land in Learn Objects Tab.

    1. For a comprehensive guide to launch a web object spy, refer to Launching ObjectObjectSpy.

  5. Click the Repository tab.

  6. You Under Project, you can view all the Pages from which the Objects are captured under the Project.

  7. If you see a Red Dot on the Refresh icon, it indicates that a new object has been added to repository or updated by another user.

  8. Click the Refresh icon to update newly captured objects.

  9. If you see a Light Bulb icon next to an Object, it indicates that the Smart Locator is used to identify the Object.

...

To view Objects via Object Repository

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view the Object Repository,where all the objects will be listed.

  4. Click Refresh icon to update newly captured objects.

  5. Use the Seach bar to find Objects quicklysearch for Objects based on keywords.

    1. Use Expand All option to expand all the parent objects.

    2. Use Collapse All to hide the child Objects.

  6. Double Click on an the desired Object to view its details (referred to as Object Details.)

The number next to Smart Object indicates the number of test cases in which this the given object is used. No number indicates, this the given Object is not used in any test case.

By Hovering on When you hover over the info icon in on the Object Details pagescreen, you can 'll see the Object object creator in the Updated By field and the date in which it got updated in Updated On details. If the object was not updated you will be seeing Created By and Created On details.

...

of the update in the Updated On field.

View Test Cases Before Modifying

...

Objects from Object Repository

Before updating an object, check which test cases might get affected . This can help you to understand the impact of your changes. Here's how you can do it:

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view the Object Repository

    .All the objects will be
    1. where all objects are listed.

  4. Double Click on an any Object to view Object Detailsits details.

  5. Click the Number next to Smart Object.

    1. A new popup window will appear and list all the Test Cases that uses this Object. It's the popup of list and user can only copy paste the Test Case name.

Filter Objects in Object Spy

...

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view the Object Repository

    .All the objects will be
    1. , where all objects are listed.

  4. Initiate Launch or start Object Spy.

    1. For a comprehensive

    guidelines on how
    1. guide to launch a web object spy,

    please
    1. refer to Launching

    Object
    1. ObjectSpy.

    2. By default, you

    will
    1. land in the Learn Objects Tab.

    <insert Screenshot>
  5. Click the Repository tab.All

    1. Under Project, you can view all the Pages from which the Objects are captured

    under the Project will be listed
    1. .

  6. Click the expand section Expand icon to view the Objects under each page.

  7. If you wish to search for an Object, click Filter iconUsing the Filter option, you can narrow down your search.

    1. Select the Web Page dropdown from which you want to filter Objects.

    2. From the Object Class, select the WebElement you want to Filter.

  8. Objects Once the Filters are applied, you can view the objects that match the filter given criteria will be listed.

  9. If you prefer to To clear the filters, simply click x button next to each of the filter option.

Create Object

Create Object via Object Spy

  1. Login to QAS - Client.

  2. Access Develop from left navigation to view Test Explorer screen.

...

  1. Click Objects icon from extreme right of the toolkit.

  2. When no Object exist, you are prompted to Create Object in the Object Repository screen.

  3. You can also click + Create Object from the top right corner of the Object Repository screen.

  4. Clicking Create Object will open a Create Object windowwith the following fields:

    1. Name: Enter an intuitive name for the object that is easy to recognize.

    2. Technology: Select Web or Mobile from the dropdown menu.

    3. Class: Select class of the Object from the dropdown menu.

    4. Parent: Select parent object if any.

    5. Description: A brief description about the object.

    6. Locator Type: Select the locator type from the dropdown menu.

    7. Locator Value: Enter the value.

  5. Once completed, click Save to proceed. Otherwise, click Discard.

Edit Object

Edit Objects from Object Repository via Object Spy

The Object Spy feature allows you to update object details, including their locator type and associated locator value.

To modify an object learned through the Hover mode, follow these steps:

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view the Object Repository, where all objects are listed.

  4. Initiate Launch the Object Spy.

    1. For a comprehensive

    guidelines
    1. guide on how to launch a web object spy,

    please
    1. refer to Launching

    Object
    1. ObjectSpy.

  5. By default, you will land in the Learn Objects Tab. <insert Screenshot>All the

    1. Under Projects, you can view all Pages from which the Objects are captured

    under the Project will be listed
    1. .

  6. Click the Expand button before each web page to view the Objects under the a page.

  7. Within the Repository section, locate and select the page under which the object that requires updating residesan object needs to be updated.

  8. Hover on over the object that you want to editupdate.

  9. You will see three options:

    1. Edit

    2. Highlight

    3. Delete

  10. Click the Edit (Pencil) icon adjacent next to the object you intend to modifyupdate.

  11. You can edit the following:

    1. Name: The Name of the Object.

    2. Class: The Class of the Object.

    3. The Locator Type.

    4. The Locator Value

    if you prefer to change the
    1. .

  12. To replace an object with another object, click the Update Object icon.

    1. The section

    will change
    1. changes to light orange color to

    give the feedback that
    1. indicate the Update Object mode is on.

    2. Click

    on
    1. the new Object

    you wanted to replace
    1. ; the

    object will be updated
    1. previous object gets replaced with the latest one.

  13. Double click the Page Name to Edit the name of the page.

  14. Once updated, click the Tick mark.

  15. After making the necessary changes to the object detailsOnce updated, click Save.

  16. Once all the changes are made, click Save To Repository to update the changes.

...

...

Keep in mind that Smart Locator mode does not support changes to the Locator Value (HTML tag/structure) or Locator Type. If you intend to

...

update them, uncheck the Smart Locator.

For a use case, consider a website where the properties of a web element, say a button, have been updated during a website revamp. You can use this process to update the details of the button in your test script.

To modify an object learned through the Image mode:

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view the Object Repository

    .All the objects will be
    1. , where all objects are listed.

  4. Initiate Chrome Object Spy.

    1. For a comprehensive

    guidelines on how
    1. guide to launch a web object spy,

    please
    1. refer to Launching

    Object
    1. ObjectSpy.

  5. Ensure you are in Learn Objects Tab. <insert Screenshot>

  6. Within the Repository section, locate and select the page under which the object that requires updating residesan object needs to be updated.

  7. Hover on over the object that you want to editupdate.

  8. You will see four options:

    1. A camera icon to indicate it is , indicating an image object.

    2. Edit.

    3. Highlight.

    4. Delete.

  9. Amend Update the object details as needed, you . You can update the following:

    1. Name: The Name of the Object.

    2. Class: The Class of the Object.

    3. The Locator Type.

    4. The Locator Value.

  10. If you prefer to change To replace the image object with another image, click the Update Object icon.

    1. The section

    will change to
    1. appears light orange

    color
    1. to

    give
    1. indicate the

    feedback that the
    1. Update Object mode is on.

    2. Click the new image

    you wanted
    1. to replace

    ;
    1. the existing one.

    2. The latest image object

    will be
    1. gets updated.

    2. Click Save to

    save the changes, if you have clicked edit by mistake or you don’t want the changes made to be saved
    1. proceed; otherwise, click Reset.

  11. Once all the changes are made, click Save To Repository to update the changes.

    1. As an example, if the source of an image object has been changed on the website, you might need to update the test script to reflect this change.

...

...

Please note that Smart Locator mode

...

does not support the Image mode.

Note

The object will be locked in any edits if any user or you for that matter is trying to edit the Object in Object Repository and trying to edit it using the Object Spy.

Edit Objects in Object Repository

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view Object Repository

    .All the objects will be
    1. , where all objects are listed.

  4. Click the Refresh icon to update newly captured objects.

  5. Double click on the Object you intend to editupdate. You will see can view the Object Details screen.

  6. Click the Edit (pencil) icon to enable the edit mode.

  7. Make necessary editsupdates.

  8. Click Save to save the changes; otherwise, and click Discard if you had accidentally clicked.

    1. Upon clicking Save, you

    will see a message Object Created Successfully
    1. can view the Object Successfully Updated.

Info

If you see a Lock icon next to the Object Name, it indicates that it is being edited by a user. Hover on the lock icon to view the User who is currently editing the Object.

Remove Objects

Remove Objects from Object Repository

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view Object Repository

    .All the
    1. , where all objects will be listed.

  4. Click the Refresh icon to update newly captured objects.

  5. Double click on the Object you intend to delete.

    1. You

    will see
    1. can view the Object Details screen.

  6. Click Delete (Bin) icon to delete. You will be are prompted to confirm deletionthe delete action.

  7. Click Delete to delete and proceed; otherwise, click Discard if you had accidentally clicked delete icon.

    1. The selected object is now deleted.

Remove Objects from Object Repository via Object Spy

The Object Spy feature allows you to update delete object details, including their locator type and associated locator value.

To modify delete an object learned through the Hover mode, follow these steps:

  1. Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click the Objects icon from extreme right of the toolkit.

    1. You

    will see
    1. can view the Object Repository

    .All the objects will be
    1. , where all objects are listed.

  4. Within the Repository section, locate find and select the page under which the object that requires updating residesan object needs to be deleted.

  5. Initiate Chrome Object Spy.

    1. For a comprehensive

    guidelines on how
    1. guide to launch a web object spy,

    please
    1. refer to Launching

    Object
    1. ObjectSpy.

  6. Ensure you are in the Learn Objects Tab. <insert Screenshot>

  7. Hover on the object that you want to editdelete.

  8. You will see three options:

    1. Edit

    2. Highlight

    3. Delete

  9. Click the Delete (binBin) icon.

  10. Once all the changes are made, click Save To Repository to update the changes.

Remember, you can only remove objects that are not part of any tasks or test cases. Removing Also, removing a parent object, will remove all its child objects as well.

💡Golden Nuggets: Best Practices for Object Management


🔧 Got a problem? Let’s fix!

 

📞📚 Here to Help: Support and Resources

Need a helping hand? Don't hesitate to reach out to your Qualitia Relationship Manager. For more resources, our official Qualitia documentation and community website are just a click away!