Editing an Object
Sometimes, an object's name or properties might change, or you might want to rearrange your object hierarchy. Here's how you can edit an object in Qualitia Automation Studio (QAS):
Login to you QAS - Client.
Access Develop from left navigation of your QAS -Client to view the Test Explorer screen.
Click Objects icon from the right side of the screen.
A slide-out panel will appear where the existing objects arelisted.
If you have 100s of objects, use the search bar to quickly search for the objects.
Double click an existing object you want to edit to view the object details.
Click the Pencil icon to edit.
Edit the fields you need to update.
Click Save to finish.
Note: If you want to change the locator type and the locator value for an object, remember to uncheck the SmartLocator checkbox first.
Note: You cannot change the class of an Object. If it is accidentally created, then delete the object.
You can also move objects to different parent objects or make them independent. Just select the object you want to move and select a different parent object.
Removing Objects
Over time, you might accumulate objects that you no longer need. Here's how you can remove them:
Click Develop from the left navigation panel.
Click Objects icon from the right side of the screen.
A slide-out panel will appear where the existing objects are listed.
If you have 100s of objects use the search bar to quickly search for the objects.
Double click on an existing object you wanted to edit.
You can view the complete Object details.
Click Bin icon to delete.
You will see a confirmation message screen to confirm the delete action.
Click Delete to proceed; othewise, click Cancel.
Note: Remember, you can only remove objects that are not part of any tasks or test cases. Removing parent object, will remove all its child objects as well.
Viewing Test Cases Before Modifying Objects
Before updating an object, check which test cases might get affected. This can help you understand the impact of your changes. Here's how you can do it:
Login to your QAS - Client.
Access Develop from left navigation to view Test Explorer screen.
Click Objects icon from the right side of the screen.
A slide-out panel will appear where the existing objects are listed.
In the left panel, find the object you are planning to update.
This could be a parent or child object that's been used in some tasks.
Right-click on the object, then click on View Test Cases from the context menu.
This will show you a list of all the test cases where the given object is used. If you select an object from the list view (right-pane) and choose to edit it, you will also see a list of impacted tasks. You can then decide whether to proceed with the edits or take some other action based on the potential impact.
Editing an Image Object
Editing an image object is like editing a regular object, but there are a few additional fields:
Image Accuracy: This lets you specify the image pixel accuracy value, which ranges from 1 to 100. For example, if you set the image accuracy value to 10, then it will verify the image object by matching 10% of the image pixels. The default value is 70.
Time out: This lets you specify the maximum time, in seconds, that you want the system to spend searching for the object.
Polling Interval: This lets you specify the polling interval in milliseconds.
Class: This lets you select the desired class.
To change the pointer position of the image, click the image and set the pointer to the desired location. When you're done, click Done, then Save.