Recording Link: KT sessions for Support on Qualitia 9-20230821_170310-Meeting Recording.mp4 (sharepoint.com)
Amid rapid digital transformation, Qualitia Automation Studio’s (QAS) “Desktop Objects” feature offers a robust solution for efficient test automation. 🔧Qualitia Automation Studio (QAS) for Desktop supports creation of script-less test cases for desktop applications. This software leverages Micro Focus - Unified Functional Testing (UFT) to add objects and manage test suite executions. The functionality for handling test artifacts, like test case creation and test suite execution, remains the same across desktop, web, and mobile applications.
💻 QAS’s Desktop Objects feature is crafted to streamline the creation, maintenance, and usage of desktop application test objects. With this feature, users can import and synchronize objects from HP Mirco-focus Unified Functional Testing’s (UFT) shared object repositories, ensuring seamless integration and alignment between your testing tools and repositories. This flexibility caters to diverse project needs and significantly boosts the efficiency of your test automation process.
🚀 Compatibility: One of the standout attributes of the Desktop Objects feature is its compatibility with other test automation tools. This feature fosters a harmonized work environment, resulting in improved productivity and quality of your test automation efforts.
🎯 Convenience: Setting up and using the Desktop Objects is simple and intuitive. Users can effortlessly import shared object repositories, view the imported objects, and manage the associated properties all within the QAS interface. This ease of usage reduces the learning curve for a team, allowing them to focus on other aspects of software quality.
⏱️ Efficiency: The true potency of the Desktop Objects feature lies in its ability to create and manage test cases that accurately reflect the desktop application under test. This not only refines the test case creation process but also saves valuable time for your test automation team.
🔄 Synchronization: QAS adopts an innovative approach to sync object, ensuring your test objects in QAS are always up - to - date with the shared object repository. This feature enhances the stability of your test cases, reducing test execution failures due to outdated or missing objects.
📂Intuitiveness: Desktop Objects feature provides a logical structure to manage your objects, making it easier for your team to navigate and handle these crucial test automation elements.
🔐 Secure: QAS safeguards all your desktop objects, ensuring they are secure and only accessible within the confines of the Qualitia Automation Studio environment. This assures control and integrity over your test objects, promoting quality assurance in your test automation process.
Introduction
...
Desktop
...
The functionality for handling test artefacts, like test case creation and test suite execution, remains the same across desktop, web, and mobile applications.
However, creating test objects for desktop applications is a different process. This guide will walk you through the specifics of working with desktop objects in Qualitia.
...
Objects
...
In QAS, Desktop Objects include attributes such as class, properties, and property values. You will 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 Working with DP Objects 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.
Refer to Working with OR Objects the below section for detailed instructions.
Supported Technologies
Use Qualitia for Desktop to test desktop applications built with the following technologies:
Technology |
.Net SilverLight |
.Net WebForms |
.Net Windows Forms |
.Net WPF |
ActiveX |
Delphi |
Flex |
Generic |
Mobile |
Oracle |
PeopleSoft |
PowerBuilder |
SAP Web |
SAPNWBC |
SAPWDJ |
SAPWebTxt |
SAPUI5 |
Seibel |
Stringray |
Supplemental |
Swing |
Terminal Emulators |
UI Automation |
Visual Basic |
VisualAge Smalltalk |
Web2.0 and Web |
Win |
Windows Runtime |
Object Repository
...
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 will only add adds the new DP objects 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.
Follow these steps to To import objects from a TSR or a BDB file:
Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.
Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.
Click Objects icon from extreme In far right of the toolkit, click 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 will see a button to Import Objects.If Objects arealready added, all the Objects under the Desktop Project will be listed.All the Objects listed will be alphabetically sortedcan 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 will appear appears, where you can:
Enter TSR Name.
Locate the TSR Select TSR Path file.
Click Import Objects.
You will 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 will be are listed in Object Repository.
Click the Expand Button option before the TSR name to view the Objects.
If you wish Repeat these steps to update another TSR file, follow the same steps.
If you have To reorder the execution of multiple TSR files added and wish to reorder the execution, select the TSR you want to change order and click .
Click the Reorder icon. This will bring a pop up where you can You can a view a popup window that allows you to drag and drop to reorder.
Order doneOnce completed, click Saveelse . Otherwise, click Discard.
Note |
---|
Remember, UFT objects in Qualitia Studio cannot be modified directly. Modify the existing UFT objects or add new ones in the repository and the changes will be synchronized automatically Qualitia Automation Studioto automatically synchronize with QAS. |
Info |
---|
Use the ability to upload Upload multiple TSR files to reduce the size of a single TSR file which will . 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 will be are Automatically Synchronized.
If you see a Spinner icon next to TSR Name, it indicates that synchronization is currently in progress. Wasit for the synchronization to be completed to view the changes.
Note |
---|
Ensure to select the TSR from Qualitia Automation Studio Project FolderProject folder of QAS. Selecting the file from any other sources will not update the Object Repository. |
Edit an uploaded TSR file
...
Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.
Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.
Click Objects icon from extreme 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 will can see a button an option to Import Objects.If Objects arealready added, all the Objects under the Desktop Project will be listed.
All the Objects listed will be alphabetically sorted.
Hover on a TSR File you wanted to edit.
You will see can view an Edit (pencil) icon.
Click Edit.
A You can view new popup will appear window where you can update TSR Name.
Click Save to update and Discard to discard. Otherwise, click Discard.
Delete an uploaded TSR file
...
Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.
Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.
Click Objects icon from extreme 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 will can see a button to Import Objects.If Objects arealready added, all the Objects under the Desktop Project will be listed.All the Objects listed will be alphabetically sortedan option to Import Objects.
Hover on a TSR File you wanted to edit.
You will can see a Delete (Bin) icon.
Click Delete.
A You can view a new popup will appear where you can confirm deletionwindow to confirm the delete action.
Click Delete to Delete and Discard to discardproceed. Otherwise, click Discard.
Info |
---|
If you see aA Red Dot on the Refresh icon , it indicates that a new object has been indicates one or more new objects are added to repository or updated by another userin 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.
Note |
---|
The If a user is editing the TSR file through Qualitia then it will be locked if any user or you for that matter is trying to edit the TSR file in UFTfor another user. It will show a pop-up message TSR is locked by admin user on QSPL machine. |
Descriptive Programming (DP) Objects
Add a DP Object
Follow these steps to add a DP object:
Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.
Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.
Click Objects icon from extreme In far right of the toolkit, click the Objects icon.
You
can view Object Repository showing existing objects in a Desktop Project, sorted alphabetically.
When If you are landing on this page for the first time, you will can see a button the option to Import Objects.If Objects arealready added, all the Objects under the Desktop Project will be listed.
All the Objects listed will be alphabetically sorted.
Click Descriptive Programming node in the bottom pane.
You will have In the bottom section, click the Descriptive Programming node.
Here, you are presented with two options:
Import from a TSR or BDP BDB file.
Click Import Objects button.
A popup
window open.
From the Import Path field, locate the TSR or BDP BDB file.
Once done, click Get Objects to proceed. Otherwise, click Discardif accidentally clicked.
You
can also see a Progress Indicator.
If you see a A Spinner icon next to Descriptive Programming node, 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 will be are listed in Object Repository > Descriptive Programming node.
Click the Expand Button option before the TSR name to view the its Objects.
Create Object Manually
Click Create Object button.
A form will appear where you can You can view a form to:
Enter Object Name
Select Technology
Select Class
Select Parent
Enter Description
Add Properties
Locator
Locator Value
Once entered, click Save to add and . Otherwise, click Discard to discard.
You will see all the added can view all existing objects under the Descriptive Programming Node.
While adding new objects, you have two options:
Parent object: To create a parent object, click on Add Object at same level.
Child object: 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)as shown above.
Info |
---|
Note: If you don't do not define any object property with its value, the object will be gets highlighted in red and termed as an empty object. |
Edit a DP Object
Follow these steps to edit a DP object:
Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.
Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.
Click Objects icon from extreme 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.
When If you are landing on this page screen for the first time, you will can see a button the option to Import Objects.If Objects arealready added, all the Objects under the Desktop Project will be listed.
All the Objects listed will be alphabetically sorted.
Click In the bottom section, click Descriptive Programming node in the bottom pane.
Double click the object you wanted want to edit.
You will see Doble clicking an object opens the Object Details view.
Click Edit (pencil) icon to enable edit mode.
Make necessary changes.
Click Save to update else ; otherwise, click Discardto not update.
While adding new objects, you have two options:
To create a parent object, click on 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).
Delete DP Objects
Note |
---|
Before deleting any DP object, be aware of the following:
|
Follow these steps to delete DP objects:
Login to Qualitia Automation Studio Client <insert Screenshot>QAS - Client.
Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.
Click Objects icon from extreme 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 on this page for the first time, you will see a button are presented the option to Import Objects.If Objects arealready added, all the Objects under the Desktop Project will be listed.
All the Objects listed will be alphabetically sorted.
Click From the bottom screen, click Descriptive Programming node in the bottom pane.
Double click the object you wanted want to edit.
You will see By double clicking the object, you can view the Object Details.
Click Delete (Bin) icon to enable edit mode.
Press Ctrl (in Windows) and click all the objects that you want to delete.
You will get a popup to confirm. Click Delete else if you don’t want to delete click Discard.
💡 Golden Nuggets: Best Practices for Desktop Object Management
...
You are then prompted to confirm the delete action.
Click Delete to proceed. Otherwise, click Discard.
🔧 Got a problem? Let’s fix!
Sometimes you might face issues while working with desktop objects in Qualitia. Here are some solutions for common problems:
...
Issue: File Locked and conflict situation.
Solution: Another user will have to release a lock to get the file release from lock and for conflict situation user can reload the project through settings tab.
Issue: Object Repository objects are not visible in Qualitia.
Solution: Make sure you have mapped your project with the correct tsr TSR file containing your Object Repository objects. If you have made changes in the repository, remember to synchronize the repository with Qualitia.
...
Issue: Unable to import a DP object from a tsr TSR file.
Solution: Ensure that the tsr TSR file is not open in UFT or any other application during the import process.
...
Remember, to get the most accurate results, always keep your object repository updated and synchronize the changes with Qualitia Automation Studio. Happy testing!
📞📚 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!