Versions Compared

Key

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

...

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):

  1. Login to you QAS - Client.

  2. Access Develop from left navigation of your QAS -Client to view the Test Explorer screen.

  3. Click Objects icon from the right side of the screen.

    1. A slide-out panel will appear where the existing objects arelisted.

  4. If you have 100s of objects, use the search bar to quickly search for the objects.

  5. Double click an existing object you want to edit to view the object details.

  6. Click the Pencil icon to edit.

  7. Edit the fields you need to update.

  8. Click Save to finish.

Note: If you want to change the locator type and the locator value for an object, remember to uncheck the SmartLocator checkbox first.

Note: You cannot change the class of an Object. If it is accidentally created, then delete the object.

You can also move objects to different parent objects or make them independent. Just select the object you want to move and select a different parent object.

Removing Objects

Over time, you might accumulate objects that you no longer need. Here's how you can remove them:

  1. Click Develop from the left navigation panel.

  2. Click Objects icon from the right side of the screen.

    1. A slide-out panel will appear where the existing objects are listed.

  3. If you have 100s of objects use the search bar to quickly search for the objects.

  4. Double click on an existing object you wanted to edit.

    1. You can view the complete Object details.

  5. Click Bin icon to delete.

  6. You will see a confirmation message screen to confirm the delete action.

  7. Click Delete to proceed; othewise, click Cancel.

 

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

Viewing Test Cases Before Modifying Objects 

...

This will show you a list of all the test cases where the given object is used. If you select an object from the list view (right-pane) and choose to edit it, you will also see a list of impacted tasks. You can then decide whether to proceed with the edits or take some other action based on the potential impact.

Editing an Image Object

 Editing an image object is like editing a regular object, but there are a few additional fields:

  1. Image Accuracy: This lets you specify the image pixel accuracy value, which ranges from 1 to 100. For example, if you set the image accuracy value to 10, then it will verify the image object by matching 10% of the image pixels. The default value is 70.

  2. Time out: This lets you specify the maximum time, in seconds, that you want the system to spend searching for the object.

  3. Polling Interval: This lets you specify the polling interval in milliseconds.

  4. Class: This lets you select the desired class.

To change the pointer position of the image, click the image and set the pointer to the desired location. When you're done, click Done, then Save.

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

Filter Objects List

  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. By default, you will land in Learn Objects Tab. <insert Screenshot>

  7. Click Repository tab.

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

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

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

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

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

Edit Objects from Object Repository

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 Pages from which the Objects captured under the Project will be listed.

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

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

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

  9. You will see three options

    1. Edit

    2. Highlight

    3. Delete

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

  11. You can edit

    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 object with another object, 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 on the new Object you wanted to replace; the object will be updated.

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

  16. Once updated, click the Tick mark.

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

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

Note

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. Initiate the browser (Edge or Chrome) that has the Web Object Spy enabled.

  9. For a comprehensive guide on how to launch a web object spy, please refer to Launching Object Spy.

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

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

  12. You will see four options:

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

    2. Edit.

    3. Highlight.

    4. Delete.

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

  14. If you prefer to change the image object with another image, 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 the new image you wanted to replace; the image object will be updated.

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

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

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

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

Remove Objects from Object Repository

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. Hover on the object that you want to edit.

  8. You will see three options:

    1. Edit

    2. Highlight

    3. Delete

  9. Click the Delete (bin) icon.

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

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