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 or whose class is a page that contains objects.
- Child: An object present under a page class, which is used in test cases. A child object can have child objects too.
Info |
---|
To add objects for a desktop application, refer to Working with Qualitia for Desktop Applications. |
Adding a Web Object
In order to automate the web application testing, you need Perform the following steps to add the web objects of the application under test.
To add Web objects:
- From the Expand Menu, click Develop.
- Click the Objects tab.
- 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 parent object under which you want to add, click plus.
- Enter Object Name and Description.
- Select Class from the drop-down list.
- Select Locator Type and enter its associated Locator Value.
- (Optional) Enter Time Out in seconds.
(Optional) Enter Polling Interval in milliseconds.
Note If you specify Time Out and Polling Interval, Qualitia uses the Explicit Wait mode and override during the execution by overriding these values entered specified in the associated execution profile.
(Optional) To continue adding another object, select the Create Another checkbox.
Click Save.
Adding a Mobile Native Object
Perform the following steps to add a mobile native or a mobile web object-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.
To add Mobile Native Objects:
- From the Expand Menu, click Develop.
- Click the Objects tab.
- 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.
- Enter Object Name and Description.
- Select Parent Object under which you want to create these new objects.Enter DescriptionClass from the drop-down list.
- Select Locator Type and enter its associated Locator Value.
- 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. - 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.