Versions Compared

Key

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

Adding Web Objects

The first step in the automation of manual test cases is creation of objectsadding 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 can obtain the information about object properties from a test automation tool like HP UFT.

Qualitia users can create add two types of objects from the New Object screen; 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. 

To create an object from Web applicationadd Web objects:

  1. Click Click Develop >Objects >New.
    The The New Object screen  screen is displayed. Click Browse to enter parent object, object name, description, and to select class.
  2. Select Object Type as Web.
  3. Select Parent Object under which you want to create these new objects.
  4. Enter Object Name.
  5. Enter Click Browse to select the Parent Object and enter Object Name and Description.
  6. Select Select Class from  from the drop-down list.
  7. Select Locator Type.
  8. Enter Locator Value

    .
Image Removed
  1. .

    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

To create an object from Mobile Native application

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

To add Mobile native Objects:

  1. Click Develop > Objects > New.
    The New Object screen is displayed. Click Browse to enter parent object, object name, description, and to select class.
  2. Select Object Type as Mobile Native.
  3. Select Parent Object under which you want to create these new objects.
  4. Enter the Description.Select the Class using drop-down list Description.
  5. 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.
  6. 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
  7. Click OK.

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.

Image Removed