Header
OV_Add Web, Mobile and SFDC Objects
Prior to automating your manual test cases, add objects to your object repository to include:
Parent objects: These are objects whose class is a page.
Child objects: These are objects present under a page class and used in your test cases. A child object can also have its own set of child objects.
If you are working with a desktop application, you will need to refer to the guide on Working with Qualitia for Desktop Applications
View Objects
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.
Click the Expand button before each Parent Object to view its Child Objects.
If you are landing on this page for the first time, you will be seeing a bank Object Repository with a Create Object button.
If you have several objects, use the Search function to quickly search for the desired objects.
Light Bulb object next to an object indicates that the Object is a Smart Object.
Add a Web, Mobile, or an SFDC Object
Image objects do not support manual creation, and Time Out and Polling Interval options do not work for SFDC objects. Also, you can only create an SFDC object in a Salesforce project.
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.
In case of a SFDC or Web Object
Select the Class from the dropdown.
Add a Description.
(Optional) If you want to specify a Time Out, enter it in seconds.
(Optional) If you want to specify a Polling Interval, enter it in milliseconds.
Remember, if you specify these, QAS will use the Explicit Wait mode during execution, overriding the values specified in the associated execution profile.
Select the Locator Type and enter the corresponding Locator Value.
In case of Mobile Object
Select the Class from the dropdown.
Enter a Description.
Choose
Android Locator Type and Locator Value.
IOS Locator Type and Locator Value.
To continue adding another object right away, check the Create Another checkbox.
Once completed, click Save to add the object to repository; otherwise, click Discard.
Now, you have two options:
To create a parent object, click Add Object at same level.
To create a child object, find the parent object from the left pane under which you want to add the child. Then, click Add Contained Object button.
Follow the same process for adding an Object.
In case of Child Object, select the Parent from the dropdown.
If you want to continue adding another object right away, check the Create Another checkbox.
Click Save to add the object to repository; otherwise, click Discard to avoid saving in repository.
Remember, you can add an SFDC object using either the SFDC:Label or XPath locator types. And if you're working on a Salesforce project, you can also add web and mobile objects for the associated web and mobile application objects.
💡Golden Nuggets: Best Practices for Adding Objects
🔧 Got a problem? Let’s fix!
📞📚 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