...
In QAS, Desktop Objects include attributes such as class, properties, and property values. You can work with two types of desktop application objects:
Descriptive Programming (DP)
...
Create DP objects manually or import UFT objects from a Test Shared Repository (*.tsr file).
Update the DP objects in Qualitia Automation Studio when necessary.
Refer to the below sections for detailed instructions.
Object Repository (OR)
...
For UFT objects stored in a Test Shared Repository (tsr), specify the path to the tsr file to map the repository with Qualitia Automation Studio.
Use UFT objects from the mapped repository in your test cases.
...
This section covers Importing Objects from a TSR or BDB file, Modifying Objects imported from a TSR file, editing an uploaded TSR file, and deleting an uploaded TSR file.
Import Objects from a TSR or BDB File
After importing DP objects, QAS only adds the new DP object without updating or removing existing ones. If any object name and its class for an imported DP object conflicts with an existing object, QAS will append '_' followed by a sequential number (starting from 1) in the object name.
To import objects from a TSR or a BDB file:
Login Log in to QAS - Client.
Access Develop from left navigation to view Test Explorer screen.
In far right of the toolkit, click Objects icon.
You can view Object Repository with existing objects in a Desktop Project, sorted alphabetically.
When If you are landing land on this page for the first time, you can view the option to Import Objects.
Click the Import Objects icon or Import Objects button if you are seeing one in the Object Repository section.
A new popup appears, where you can:
Enter TSR Name.
Locate the TSR Select TSR Path file.
Click Import Objects.
You can see a Progress Indicator followed by the TSR being listed in the Object Repository.
If you see a Spinner icon next to TSR Name, it indicates that Upload is currently in progress. You can click the X button next to spinner icon to cancel the upload.
Once loaded, all the TSR objects are listed in Object Repository.
Click the Expand option before the TSR name to view the Objects.
Repeat these steps to update another TSR file.
To reorder the execution of multiple TSR files, select the TSR you want to change order.
Click the Reorder icon. You can a view a popup window that allows you to drag and drop to reorder.
Once completed, click Save. Otherwise, click Discard.
...
Info |
---|
Upload multiple TSR files to reduce the size of a single TSR file. This can vastly improve your test execution or object management or reduce the sync time. |
Modify Objects
...
Imported from a TSR File
Login to your UFT.
From top navigation menu, click Resources.
Select Resources Manager from the list.
From the File menu, click Open.
Enter the path for TSR file in Qualitia Automation Studio Project Folder.
Once the file is loaded in UFT, click Edit button.
Perform the necessary actions like
Adding a new object
Modifying an existing object
Removing an existing object
Click Save.
Navigate to Qualitia Automation Studio Object Repository.
All changes to TSR Objects are Automatically Synchronized.
If you see a Spinner icon next to TSR Name, it indicates that synchronization is currently in progress. Wasit Wait for the synchronization to be completed to view the changes.
Note |
---|
Ensure to select the TSR from Project folder of QAS. Selecting the file from any other sources will not update the Object Repository. |
Edit an
...
Uploaded TSR
...
File
Login Log in to QAS - Client.
Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.
In far right of the toolkit, click the Objects icon.
You can view Object Repository with existing objects in a Desktop Project, sorted alphabetically.
When If you are landing land on this page for the first time, you can see an option to Import Objects.
Hover on a TSR File you wanted to edit.
You can view an Edit (pencil) icon.
Click Edit.
You can view new popup window where you can update TSR Name.
Click Save to update. Otherwise, click Discard.
Delete an
...
Uploaded TSR
...
File
Login to QAS - Client.
Access Develop from left navigation to view Test Explorer screen.
In far right of the toolkit, click the Objects icon.
You can view Object Repository with existing objects in a Desktop Project, sorted alphabetically.
When you are landing on this page for the first time, you can see an option to Import Objects.
Hover on a TSR File you wanted to edit.
You can see a Delete (Bin) icon.
Click Delete.
You can view a new popup window to confirm the delete action.
Click Delete to proceed. Otherwise, click Discard.
Info |
---|
A Red Dot on the Refresh icon indicates one or more new objects are added to or updated in the repository. Click the Refresh icon to update newly captured objects. |
If by any chance the Auto synchronization did not work, hover on the TSR file and click Sync icon to explicitly trigger a sync. If you intend to sync all the TSR files, click the Sync icon next to the TSR node.
...
Info |
---|
If you do not define any object property with its value, the object gets highlighted in red and termed as an empty object. |
Edit a DP Object
Follow these steps to edit a DP object:
Login to QAS - Client.
Access Develop from left navigation to view Test Explorer screen.
In far right of the toolkit, click the Objects icon.
You can view the Object Repository with existing objects in a Desktop Project, sorted alphabetically.
If you are landing on this screen for the first time, you can see the option to Import Objects.
In the bottom section, click Descriptive Programming node.
Double click the object you want to edit.
Doble Double clicking an object opens the Object Details view.
Click Edit (pencil) icon to enable edit mode.
Make necessary changes.
Click Save to update; otherwise, click Discard.
While adding new objects, you have two options:
To create a parent object, click Add Object at same level.
To create a child object, find the parent object under which you want to add the child.
Click Add Contained Object button.
Follow the same process for adding an Object (9.b).
...
Solution: Another user will have to release a lock to get the file release from lock and for conflict situation, the user can reload the project through settings Settings tab.
Issue: Object Repository objects are not visible in Qualitia.
...