Versions Compared

Key

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

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

An object repository contains:

  • Parent: An object whose class is a page.
  • Child: An object present under a page class, which is used in test cases. A child object can also have a set of child objects too.


Info

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



Adding a Web Object

Perform the following steps to add the web objects of for the application under test. 

To add Web objects:

  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 pagepane, select point to the parent object under which you want to add, click plus.  the Create New Object button (Image Added) as shown in the following figure:
      Image Added

  4. Enter Object Name and Description.
  5. Select Class from the drop-down list.
  6. Select Locator Type and enter its associated Locator Value.
  7. To use the SmartLocator feature during the execution, select the SmartLocator checkbox.
  8. (Optional) Enter Time Out in seconds.
  9. (Optional) Enter Polling Interval in milliseconds.
Note

If you specify Time Out and Polling Interval, Qualitia uses the Explicit Wait mode during the execution by overriding these values specified in the associated execution profile. 

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

See also,

  • Searching Objects
  • Editing an Object
  • Removing Objects
  • Viewing Test Cases Before Modifying Objects





    Adding a Mobile Native Object

    Perform the following steps to add a mobile-native object only . If you want to add a web-view context for a mobile object, then select the technology as Web. For instructions on how to add a web object, refer to Add a Web Object.mobile application under test. 

    To add Mobile Native Objects:

    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, select point to the part parent object under which you want to add, click plus.  the Create New Object button (Image Added)
    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:
      • If the object is from Android deviceTo add an Android application object, select Android Locator Type and enter enter its associated Android Locator Value orIf the object is from iOS device 
      • To add an iOS application object, select iOS Locator Type and enter enter its associated iOS Locator Value
      Click OK
      • .
    10. (Optional) To continue adding another object, select the Create Another checkbox.
    11. Click Save.