Versions Compared

Key

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

...

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

  5. Click the Repository tab.

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

  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.

...

  1. Login to QAS - Client.

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

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

    1. You can view the Object Repository where all objects are listed.

  4. Double Click on any Object to view its 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 QAS - Client.

  2. Access Develop from to view Test Explorer screen.

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

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

  4. Launch or start Object Spy.

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

    2. By default, you land in the Learn Objects Tab.

  5. Click the Repository tab.

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

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

  7. Using 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. Once the Filters are applied, you can view the objects that match the given criteria.

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

...

  1. Login to QAS - Client.

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

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

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

  4. Launch the Object Spy.

    1. For a comprehensive guide on how to launch a web object spy, refer to Launching ObjectSpy.

  5. By default, you land in the Learn Objects Tab.

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

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

  7. Within the Repository section, locate and select the page under which an object needs to be updated.

  8. Hover over the object you want to update.

  9. You will see three options:

    1. Edit

    2. Highlight

    3. Delete

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

  11. You can edit the following:

    1. The Name of the Object.

    2. The Class of the Object.

    3. The Locator Type.

    4. The Locator Value.

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

    1. The section changes to light orange color to indicate the Update Object mode is on.

    2. Click the new Object; the 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. Once 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.

...

  1. Login to QAS - Client.

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

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

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

  4. Initiate Chrome Object Spy.

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

  5. Ensure you are in Learn Objects Tab.

  6. Within the Repository section, locate and select the page under which an object needs to be updated.

  7. Hover over the object you want to update.

  8. You will see four options:

    1. A camera icon, indicating an image object.

    2. Edit

    3. Highlight

    4. Delete

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

    1. The Name of the Object.

    2. The Class of the Object.

    3. The Locator Type.

    4. The Locator Value.

  10. To replace the image object with another image, click the Update Object icon.

    1. The section appears light orange to indicate the Update Object mode is on.

    2. Click the new image to replace the existing one.

    3. The latest image object gets updated.

    4. Click Save to proceed; otherwise, click Reset.

  11. Once all 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.

...

  1. Login to QAS - Client.

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

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

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

  4. Within the Repository section, find and select the page under an object needs to be deleted.

  5. Initiate Chrome Object Spy.

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

  6. Ensure you are in the Learn Objects Tab.

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

  8. You will see three options:

    1. Edit

    2. Highlight

    3. Delete

  9. Click the Delete (Bin) icon.

...