Versions Compared

Key

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

Add web Application Objects

Choosing between Image Objects and Mouse Hover can largely depend on the specific context and requirements of the application under test. Here are a few use cases that might help clarify when to choose one over the other:

...

In conclusion, your choice between Image Objects and Mouse Hover depends on the specifics of the application you're testing. For comprehensive testing, you would ideally want to use a mix of both, depending on the context, to ensure all aspects of the application are thoroughly tested.

A vital note about Qualitia Smart Locator:

Smart Locator has the capacity to automatically identify dynamic objects during the execution of a test case. If this option is enabled, you won't be able to edit object details such as the locator value and locator type.

...

The last locator precedence will be stored and when you login for the next time, the same locator precedence will be defaulted.

...

📚Prerequisites

Before moving forward, please confirm that

  1. Your computer has connectivity to the Qualitia Server.

  2. In the scenario of adding objects from a Salesforce application, it's crucial to ensure you've selected a Salesforce project. Salesforce applications are best viewed/added via the Chrome Object Spy ObjectSpy as Salesforce applications are not fully supported on Edge.

Adding Objects

Add Web Application Objects (excluding image objects)

The inclusion of web application objects (excluding image objects) involves the following steps:

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

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

  3. Initiate either the Edge or Chrome Object Spy ObjectSpy. For an in-depth guide on launching a web object spyObjectSpy, please refer to Launching Object SpyObjectSpy.

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

  5. Enable Hover mode, as shown in the screenshot. <Screenshot>

  6. Position your mouse pointer over the object and once the object details are highlighted, click on it.

  7. This action will result in the object being added to the list in the Object Spy ObjectSpy window.

  8. If you prefer to edit or delete any of the existing objects in the session, hover on the added Object in Object Spy ObjectSpy window.

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

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

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

  17. At the bottom of the screen, you can see the number of objects from this page added to the repository.

If you need to incorporate objects for a child window, you can follow one of these methods:

  1. Launch the child window and open its corresponding Object Spy to include the child window objects into a new child window object repository.

  2. Open the child window and click the Hover button of the Object Spy associated with the parent window. This will add the child window objects to the parent window object repository. You can switch between the parent and child windows to include their objects using the Hover button.

Add Image Objects

When it comes to integrating image objects, the process is as follows:

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

  2. Access Develop from left navigation of your Qualitia Automation Studio QAS - 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 ObjectSpy. 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. Input the URL of the application you're testing into the address bar.

  9. Activate Image mode, as illustrated in the screenshot. <include screenshot>

  10. Choose the image you wish to include using the drag and drop method and set the position of the pointer by clicking on the image.

  11. The image object will then be added to the list in the Object Spy ObjectSpy window.

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

  13. You will see three options

    1. Edit

    2. Highlight

    3. Delete

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

  15. You can edit

    1. Name: Name of the Object

    2. Class: Class of the Object

    3. Locator Type

    4. Locator Value

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

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

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

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

  20. After incorporating all the necessary objects, click Save to Repository.

  21. Your objects will be stored in the repository, as shown in the relevant screenshot.

  22. It is suggested that you use the Web Object Spy in either left dock mode or right dock mode. However, if you prefer using it in a different dock mode, you can simply click the Hover/Image button to commence usage.

Additionally, you have the ability to separate the Object Spy UI from the application under test page, and also include the objects of child windows, as explained in the previous step. It's important to note though, if you're including objects for multiple application pages in detached mode, the Web Object Spy will incorporate the objects of all the pages into the same object repository.

...

Duplicate objects are not allowed.

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:

...

Note

The object will be locked for 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.

Highlight Objects

  1. Login to QAS - Client <insert Screenshot>

  2. Access Develop from left navigation of your Qualitia Automation Studio QAS - 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 Initiate either the Edge or Chrome ObjectSpy. For an in-depth guide on launching a web object spy, please refer to Launching ObjectObjectSpy.

  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 three 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
  15. Click Highlight icon.

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

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

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

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

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

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

Highlight Objects

TBD

Challenges in Object Identification and Remedies

...

  1. object that was used will be highlighted in the browser window.

💡Golden Nuggets: Best Practices for Object Management

  • Please note that the screen resolution where optimum UX for Object Spy will work would be 884px x 675px.

📞📚 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!