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.

Qualitia users can create add two types of objects; Web and Mobile Native.


Adding Web Objects

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

Expandtitle

To add Web objects:

  1. Click Develop >Objects >New.
    The New Object screen is displayed.
  2. Select Object Type as Web.
  3. Click Browse to select the Parent Object and enter Object Name and Description.
  4. Select Class from the drop-down list.
  5. Select Locator Type.
  6. Enter Locator Value.

    Note

    When creating the Web objects, the Xpath field is a read-only field that will display the xpath captured during object import. The manually entered xpath will hide the auto-captured xpath property for the object.


Adding Mobile Native Objects

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

Expandtitle

To add Mobile

Native objects

native Objects:

  1. Click Develop > Objects > New.
    The New Object screen is displayed.
  2. Select Object Type as Mobile Native.
  3. Select Parent Object under which you want to create these new objects.
  4. Enter Description.
  5. In the Search Class field, enter the class details displayed in the Appium Inspector or UIAutomatorViewer and then click the Search icon.
Select the Class using the drop-down list
  1.  
    This will automatically select the Qualitia Class of the object.
  2. 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
  3. Click OK.