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. While creating an object, you need to identify the controls of the application under test for creating objects and gather information about object properties.

You add two types of objects; Web and Mobile.

Info

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



Adding Web Objects

In order to automate the web application testing, you need to add the web objects of the application under test. 

To add Web objects:

  1. From the Expand Menu, click Develop.
  2. Click the Objects tab.
  3. The New Object screen appears.
  4. Select Object Type as Web.
  5. Search and select Parent Object Do one of the following:
    • To create a parent object, click Create Object.
    • To create a child object, from the left page, select the part object under which you want to add
    this new object. By default, objects will be added under the Root object.
    • , click plus.  
  6. Enter Object Name and Description.
  7. Select Class from the drop-down list.
  8. Select Locator Type and enter its associated Locator Value.
  9. (Optional) Enter Time Out in seconds.
  10. (Optional) Enter Polling Interval in milliseconds.

    Note

    If you specify Time Out and Polling Interval, Qualitia uses the Explicit Wait mode and override these values entered in the associated execution profile. 


Adding Mobile Native Objects

In order to automate the mobile native application testing, you need to add these objects of application under test. Perform the following steps to add a mobile native or a mobile web object.

To add Mobile native Native Objects:

  1. Click Develop > Objects > New.
    The New Object screen appears.
  2. Select Object Type as Mobile NativeFrom the Expand Menu, click Develop.
  3. Click the Objects tab.
  4. Do one of the following:
    • To create a parent object, click Create Object.
    • To create a child object, from the left page, select the part object under which you want to add, click plus.  
  5. Enter Object Name and Description.
  6. Select Parent Object under which you want to create these new objects.
  7. Enter Description.
  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 device, select Android Locator Type and enter Android Locator Value or
    • If the object is from iOS device, select iOS Locator Type and enter iOS Locator Value
  10. Click OK.