Document toolboxDocument toolbox

Header

Multi-locator

Qualitia Automation Studio (QAS) allows you to add and delete multiple locators for an object. You can add up to 5 locators. Multi-locator supports all the applications. If the Smart Locator won’t work for an application, you can switch to multi-locator and perform a successful execution.

Multi-locator only works for web objects, not for Mobile or SFDC.

Benefits of multi-locator

Adding multiple locators for an object allows you to run a successful execution without interruption. During the execution, if the first locator fails to identify the element, it will automatically move to the next one and so on until it reaches the last one.

If all the locators fail, QAS will switch to Smart Locator.

Adding Multiple Locators

  1. Log in 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 Object Repository, where all Objects of a Project are listed in alphabetical order.

  4. Under a Project, you can view all the pages from which the objects are captured.

  5. Click Expand button before each web page to view its Objects.

  6. If you land on this page for the first time, you will see a bank Object Repository with a Create Object button.

  7. Click Create Object button.

  8. This will open a form where you can:

    1. Enter the object Name.

    2. To use the Smart Locator feature during execution, ensure to check the Smart Object checkbox.

      1. If you are selecting the Smart Object, you will be prompted to confirm, click OK.

    3. Choose Technology from the dropdown.

  9. To add multiple locators, click + icon next to Locator.

    image-20240116-105810-20240214-074537.png
  10. You can add up to 5 locators for an object.

  11. Select the Locator Type and Value using the dropdown for each locator.

  12. Once added, the Execution will take place in the sequence the locators are added.

  • You can add similar locators more than one time.

  • You should be able to expand and collapse entire locator section by clicking on Locator dropdown.

Deleting Locators

  1. Click the Bin icon in line with the locator Type to delete the locator.

  2. Clicking the bin icon will open a pop-up message Deleted locators will not be recovered.

  3. Click Yes to continue; otherwise, click No.

  4. Hovering over the locator type will highlight it in gray color.

image-20240214-081742.png

 

 

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

Footer