In Qualitia, Objects are the controls of the application under test. Objects are displayed with their attributes like object name and class. To describe a test object, you have to provide a set of property names and their property values. The test object description helps to identify the objects in Application under Test (AUT).
The Objects section on the Develop screen of Automation Studio allows you to perform object related functions such as create objects, edit objects, delete objects, search objects, and import objects.
On the left pane of the Develop screen, all the objects are organized in a tree view structure.
To view the child objects, click the object in the left pane from the object tree.
To create new child objects, click the object in the left pane from the object tree and then click the New button.
Important information on property values:
Regular expressions can be used in the Property Value field. Qualitia supports the regular expression syntax defined by the underlying tool. For example, suppose there is a Browser with the title Qualitia. A user can give the title property in the form of regular expression as Qua.*
A key name can be used in the Property Value field where the key name should be enclosed in braces. During execution, the value from the key will be retrieved and substituted for the corresponding property. For example, suppose you have set up to store the value Qualitia under the key PropKey and then you want to work on a Browser with the title Qualitia. In this case, on the Object Management screen, you can use the Property Value for the Browser's title as {PropKey}. This is mainly to help you identify an object which has a run-time property value.
To use value from the key, you must pass the key name inside braces. For example, if the key name is QKey, to use value from the key, you must enclose the key name inside braces like, {QKey}.
The scope of key will remain only across the tasks within a test case.
You can concatenate key with a static string or a static string with key. A key with a key combination can also be passed in the Property Value field. For example, if you have set up to store two keys, Prop1Key and Prop2Key with values "Qua" and "litia" in them respectively. In this case, the following combinations in the property value field will yield output as shown below:
Property Value field
Actual value during Execution
{Prop1Key}{Prop2Key}
Qualitia
Qua{Prop2Key}
Qualitia
{Prop1Key}litia
Qualitia
Qualitia
Qualitia
If the following characters are found in the property value of an object, they are preceded by '/' (forward slash) because these characters are used as identifiers in Qualitia.
Character
Description
{
Key name identifiers
}
Key name identifiers
/
Escape character in Qualitia
^
Array data separator For Example, John^Smith^Lucy^Maggi array data can be passed using ^ as a separator.
Locator Types for Web Objects
The following locator types are used for adding a web object.
Link
Name
XPath
ID
CSS
Locator Types for Mobile Objects
UiAutomator
ID
Accessibility ID
Class
XPath
You can add web and mobile objects in a project in the following ways:
Add an object manually
Add objects through ObjectSpy
Using Qualitia Automation Recorder
Rules for Duplicate Objects
You can add an existing object under different page, but it renames the object automatically.
When you add an object with same name and same locator values manually , either Qualitia does not allow or might rename automatically depending on time span.
You cannot add a same object with same name and same locator values under the same page.