Header

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Editing an Object

Sometimes, an object's name or properties might change, or you might want to rearrange your object hierarchy. Here's how you can edit an object in Qualitia Automation Studio (QAS):

View Object

View Object Repository via Object Spy

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

  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.

  4. You will see Object Repository.

  5. All the objects will be listed.

  6. Initiate Object Spy. For comprehensive guidelines on how to launch a web object spy, please refer to Launching Object.

  7. By default, you will land in Learn Objects Tab. <insert Screenshot>

  8. Click Repository tab.

  9. All the Pages from which the Objects captured under the Project will be listed.

  10. Click Refresh icon to update newly captured objects.

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

View Objects via Object Repository

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

  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.

  4. You will see Object Repository.

  5. All the objects will be listed.

  6. Click Refresh icon to update newly captured objects.

  7. Use the Seach bar to find Objects quickly.

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

  9. Use Collapse All to hide the child Objects.

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

Filter Objects in Object Spy.

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

  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.

  4. You will see Object Repository.

  5. All the objects will be listed.

  6. Initiate Object Spy. For comprehensive guidelines on how to launch a web object spy, please refer to Launching Object.

  7. By default, you will land in Learn Objects Tab. <insert Screenshot>

  8. Click Repository tab.

  9. All the Pages from which the Objects captured under the Project will be listed.

  10. Click the expand section to view the Objects under each page.

  11. If you wish to search for an Object, click Filter icon.

    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.

  12. Objects that match the filter criteria will be listed.

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

Edit Objects

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>

  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.

  4. You will see Object Repository.

  5. Initiate Object Spy. For comprehensive guidelines on how to launch a web object spy, please refer to Launching Object.

  6. By default, you will land in Learn Objects Tab. <insert Screenshot>

  7. All the Pages from which the Objects captured under the Project will be listed.

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

  9. Within the Repository section, locate and select the page under which the object that requires updating resides.

  10. Hover on the object that you want to edit.

  11. You will see three options

    1. Edit

    2. Highlight

    3. Delete

  12. Click the Edit (Pencil) icon adjacent to the object you intend to modify.

  13. You can edit

    1. Name: Name of the Object

    2. Class: Class of the Object

    3. Locator Type

    4. Locator Value

  14. if you prefer to change the object with another object, click Update Object icon.

  15. The section will change to light orange color to give the feedback that the Update Object mode is on.

  16. Click on the new Object you wanted to replace; the object will be updated.

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

  18. Once updated, click the Tick mark.

  19. After making the necessary changes to the object details, click Save.

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

Note: 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 edit 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>

  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.

  4. You will see Object Repository.

  5. All the objects will be listed.

  6. Initiate Chrome Object Spy. For comprehensive guidelines on how to launch a web object spy, please refer to Launching Object.

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

  8. Within the Repository section, locate and select the page under which the object that requires updating resides.

  9. Hover on the object that you want to edit.

  10. You will see four options:

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

    2. Edit.

    3. Highlight.

    4. Delete.

  11. Amend the object details as needed, you can update:

    1. Name: Name of the Object.

    2. Class: Class of the Object.

    3. Locator Type.

    4. Locator Value.

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

  13. The section will change to light orange color to give the feedback that the Update Object mode is on.

  14. Click the new image you wanted to replace; the image object will be updated.

  15. Click Save to save the changes, if you have clicked edit by mistake or you don’t want the changes made to be saved, click Reset.

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

  17. 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.

Note: Please note that Smart Locator mode doesn't support the Image mode.

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>

  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.

  4. You will see Object Repository.

  5. All the objects will be listed.

  6. Click Refresh icon to update newly captured objects.

  7. Double click on the Object you intend to edit.

  8. You will see the Object Details.

  9. Click Edit (pencil) icon to enable edit mode.

  10. Make necessary edits.

  11. Click Save to save the changes, and Discard if you had accidentally clicked.

  12. Upon clicking Save, you will see a message Object Created Successfully.

Remove Objects

Remove Objects from Object Repository

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

  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.

  4. You will see Object Repository.

  5. All the objects will be listed.

  6. Click Refresh icon to update newly captured objects.

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

  8. You will see the Object Details.

  9. Click Delete (Bin) icon to delete.

  10. You will be prompted to confirm deletion.

  11. Click Delete to delete and Discard if you had accidentally clicked delete icon.

Remove 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>

  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.

  4. You will see Object Repository.

  5. All the objects will be listed.

  6. Within the Repository section, locate and select the page under which the object that requires updating resides.

  7. Initiate Chrome Object Spy. For comprehensive guidelines on how to launch a web object spy, please refer to Launching Object.

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

  9. Hover on the object that you want to edit.

  10. You will see three options:

    1. Edit

    2. Highlight

    3. Delete

  11. Click the Delete (bin) icon.

  12. 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 a parent object, will remove all its child objects as well.

  • No labels