Versions Compared

Key

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

...

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.

If you choose to disable this option, the object will no longer be identified by Smart Locator. If you wish to re-enable this option for this object at a later stage, you'll need to either learn this object anew using Qualitia Object Spy or specify a valid XPath for the object. The object will be re-enabled for Smart Locator identification only after its first execution.

You have the capability to include an object from a web application currently under test with just a single click. You can then choose the type of locator that best suits your needs. Qualitia additionally offers you the flexibility to include objects in the form of an image object.

Below is the standard sequence for incorporating objects for a typical web Web application:

  1. Link

  2. Name

  3. ID

  4. XPath

  5. CSS

For SFDC (Salesforce) applications, the standard sequence differs slightly and is as follows:

...

Before moving forward, please confirm that

  1. You've installed Object Spy on your browser of preference

  2. Your computer has connectivity to the Qualitia Server.

  3. 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 as Salesforce applications are not fully supported on Edge.

...

  1. Initiate either the Edge or Chrome Object Spy. For an in-depth guide on launching a web object spy, please refer to Launching Object Spy from the Browser.

  2. Input the URL of the application you're testing into the address bar.Ensure you are in Learn Objects Tab. <insert Screenshot>

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

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

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

  6. After including all the necessary objects, click Save to Repository.

  7. 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. Initiate Chrome Object Spy.

  2. For comprehensive guidelines on how to launch a web object spy, please refer to Launching Object Spy from the Browser.

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

  4. Input the URL of the application you're testing into the address bar.

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

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

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

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

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

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

Note

Note: Duplicate objects are not allowed.

View Repository

<TBD>

Filter Objects List

...

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

  1. Initiate the browser (Edge or Chrome) that has the Web Object Spy enabled.

  2. For a comprehensive guide on how to launch a web object spy, please refer to Launching Object Spy from the Browser.

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

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

  5. You will see three options

    1. Edit

    2. Highlight

    3. Delete

  6. Click the Edit (Pencil) icon adjacent to the object you intend to modify. For more detailed instructions on how to modify an object learned via the Hover mode, refer to 'Editing an Object'.

  7. You can edit

    1. Name: Name of the Object

    2. Class: Class of the Object

    3. Locator Type

    4. Locator Value

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

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

  2. For detailed instructions a comprehensive guide on how to launch a web object spy, please refer to Launching Object Spy from the Browser.

  3. In Within the Repository section, locate and select the page under which the object exists that needs to be updatedthat requires updating resides.

  4. Click the edit icon next to the Hover on the object that you want to modify. For comprehensive instructions on how to edit an object learnt by the Image mode, refer to Editing an Image Object. Note: Please note that SmartLocator mode doesn't support the Image mode.Amend the object details as needed, and then click Save. Remember, you cannot modify the locator type of the image objectedit.

  5. You will see four options

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

    2. Edit

    3. Highlight

    4. Delete

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

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

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

  9. Click the new image you wanted to replace, the image object will be updated.

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

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

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

A vital note about Qualitia SmartLocator:

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

If you choose to disable this option, the object will no longer be identified by SmartLocator. If you wish to re-enable this option for this object at a later stage, you'll need to either learn this object anew using Qualitia Object Spy or specify a valid XPath for the object. The object will be re-enabled for SmartLocator identification only after its first execution.

Deleting Objects

...

Note

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

Deleting Objects

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

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

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

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

  5. You will see three options

    1. Edit

    2. Highlight

    3. Delete

  6. Click the Delete (bin) icon.

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

Highlighting Objects

TBD

Challenges in Object Identification and Remedies

...