Header
OV_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 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 object, 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 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
Login to QAS - Client.
Access Develop from left navigation to view Test Explorer screen.
Click Objects icon from extreme right of the toolkit.
You can view Object Repository, where all Objects of a Project are listed in alphabetical order.
Under a Project, you can view all the Pages from which the Objects are captured.
Click Expand button before each web page to view its Objects.
If you are landing on this page for the first time, you will see a bank Object Repository with a Create Object button.
Click Create Object button.
This will open a form where you can:
Enter the object Name.
To use the Smart Locator feature during execution, ensure to check the Smart Object checkbox.
If you are selecting the Smart Object, you will be prompted to confirm, click Ok.
Choose Technology from the dropdown.
To add multiple locators, click + icon next to Locator.
You can add up to 5 locators for an object.
Select the Locator Type and Value using the dropdown for each locator.
Once added, the Execution will take place in the sequence the locators are added.
You can add similar locators for more than one time.
You should be able to expand and collapse entire locator section by clicking on Locator dropdown.
Deleting Locators
Click the Bin icon in line with the locator Type to delete the locator.
Clicking the bin icon will open a pop-up message Deleting locator will not be recovered.
Click Yes to continue; otherwise, click No.
Hovering over the locator type will highlight it in gray color.
📞📚 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