Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

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.

...

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 to add a web object.

  • Link

  • Name

  • ID

  • XPath

  • CSS

Locator Types for Mobile Objects

The following locator types are used to add a mobile object.          

...

Rules for Duplicate Objects

  • You can add an existing object under a 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 the object automatically depending on time span.

  • You cannot add the same object with the same name and same locator values under the same page.

Info

To add objects for a desktop application, refer to Working with Qualitia for Desktop Applications.

Adding an Object

The first step in the automation of manual test cases is adding objects to the object repository. 

...

To add objects for a desktop application, refer to Working with Qualitia for Desktop Applications.

Adding a Web or an SFDC Object 

Perform the following steps to add a web object or an SFDC object for an application under test. 

...

  1. (Optional) To continue adding another object, select the Create Another checkbox.

  2. Click Save.

Adding a Mobile Native Object

Perform the following steps to add a mobile-native object only for mobile application under test. 

...

  1. From the Expand Menu, click Develop.

  2. Click the Objects tab.

  3. Do one of the following:

    • To create a parent object, click Create Object.

    • To create a child object, from the left page, point to the parent object under which you want to add, click the Create New Object button (

      )

  4. From the Technology drop-down list, select Mobile.

  5. Enter Object Name and Description.

  6. Select Class from the drop-down list.

  7. Select Locator Type and enter its associated Locator Value.

  8. In the Search Class field, enter the class details displayed in the Appium Inspector or UIAutomatorViewer and then click the Search icon.  
    This will automatically select the Qualitia Class of the object.

  9. Do one of the following:

    • To add an Android application object, select Android Locator Type and enter its associated Android Locator Value 

    • To add an iOS application object, select iOS Locator Type and enter its associated iOS Locator Value.

  10. (Optional) To continue adding another object, select the Create Another checkbox.

  11. Click Save.

Editing an Object

You need to edit an object when its name or properties change. Also, you can place an object under another parent object or make it independent.

...

  • If you want to change the locator type and the locator value for an object, you must disable its SmartLocator checkbox.

  • All the objects captured under different hierarchies can be transferred into another parent object tree or made independent. To change the Object Hierarchy, perform the following steps:

    • On the left pane of the Objects tab, select the object that you want to move.

    • Drag and drop the selected object under another parent object or make it independent within the left pane.

Removing Objects

During the course of the project, a number of objects get deleted or removed. Qualitia helps you removing unwanted objects from the object repository. 

...

  1. From the Expand Menu, click Develop.

  2. Click the Objects tab.The details of the selected object are displayed on the right pane of the Objects screen.

  3. From the left pane, select a parent or a child object, click the Remove Object button (

    ).The system asks for confirmation about the deletion of the required object.

  4. Click Yes.

Viewing Test Cases Before Modifying Objects

Whenever Object properties are edited, the impact of the changes must be indicated to the user. The View Test Case feature provides an option to you on the object list displayed in the left navigation tree view. The View Test Case option displays a list of impacted test cases in which the object has been used.

...

  1. From the Expand Menu, click Develop.

  2. Click the Objects tab.

  3. In the left pane, right-click the parent or child object which has been used in some tasks.

  4. Click View TestCases from the context-menu.

Important Information on Object Property Values

You must know the following information related to property value of an object.

...