The first step in the automation of manual test cases is creation of objects. 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 two types of objects from the New Object screen; Web and Mobile Native.
To create an object from Web application:
- Click Develop > Objects > New.
The New Object screen is displayed. Click Browse to enter parent object, object name, description, and to select class.
- Select Object Type as Web.
- Select Parent Object under which you want to create these new objects.
- Enter Object Name.
- Enter Description.
- Select Class from the drop-down list.
- Select Locator Type.
- Enter Locator Value.
To create an object from Mobile Native application:
- Click Develop > Objects > New.
The New Object screen is displayed. Click Browse to enter parent object, object name, description, and to select class.
- Select Object Type as Mobile Native.
- Select Parent Object under which you want to create these new objects.
- Enter the Description.
- Select the Class using drop-down list.
- 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
- 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.