Enhancing Web Objects

Add Object

This feature can be used to prototype objects which can be mapped to actual objects in the future.
1.Click on the Add Object icon present in the Action Bar of the Object Identification Page.
Object Identification Page – Add Object
2.Add object pop up appears as shown below.
Add Object Pop Up
3.Enter the Object name and select the object type from Select Object Type dropdown.
Select Object Type Dropdown
4.To add multiple objects use Add icon and to delete specific objects use Delete icon button present on the right side for each object entry.
Delete and Add icon
5.Click on the Submit button to complete the process (or Reset button to reset the changes).
Submit or Reset
6.On submitting, the newly added object will be displayed distinctively and a message is also displayed as show below.
Newly Added Object on Object Identification Page
7.Click on Save Button in Object Identification page to save the object.

Map Object

This feature is used to Map the prototype objects created using ‘Add Object’ with identified objects.
1.Click on the Map Object icon present in the Action Bar of the Object Identification Page.
Object Identification Page - Map Object
2.Map Object pop up appears.
Map Object Pop Up
3.Click on Show all Objects button to view all the objects.
4.Click on Custom Objects.
Custom Objects
5.To map the object, drag the object from Scraped Object section and drop it on the object present in Custom Objects section.
Mapping by Drag and Drop
6.Click on the Submit button to complete the mapping process (or Un-link button to unlink the mapped object).
Submit to Complete Mapping Process
7.On successful mapping, a confirmation message is displayed.
Object Mapping Confirmation
Note: To successfully map the object, the object type of the identified and custom object should be the same.

Replace Object

This feature is used to replace the existing scraped objects with new scraped objects. When the scraped objects are extensively used across the test cases but in the later phase of the AUT’s development, the object properties are changed, then the scraped objects can be replaced, as replacing objects in the scrape screen will also replace the same objects in the test steps of the test cases.
1.Click on the ‘Replace Object’ icon present in the Action Bar of the Object Identification page.
Object Identification Page – Replace Object
2.Select the browser on which new objects are to be scraped.
Replace Object – Browser Selection
3.Once the browser is selected, a scrapper window is launched for the user to scrape new objects.
4.Once scraping is completed, the ‘Replace Object’ pop up is displayed. The pop up provides users the option to select the type of replacement.
5.Click on the required object type from the ‘Newly Scraped Objects’ to view the objects based on the object type.
Replace Object – New Scraped Objects
6.On object type selection (click), the newly scraped objects of the selected object type will be visible.
7.To replace (map) the scraped objects with the newly scraped objects, drag the object (to be replaced) from ‘Scraped Objects’ section and drop it on the object (to be replaced with) under the selected object type within the ‘Newly Scraped Objects’ section.
Replace Object – Mapping by drag and drop
NOTE: On replacing objects, the replaced object’s properties will be updated with the properties of the newly scraped object (including the object name).
8.To un-map mapped objects, select (by clicking) the mapped object and click on the ‘Un-Map’ button.
9.Click on the ‘Replace Keywords’ button to complete the object and its keyword(s) mapping process.
Replace Object – Replace Keywords Button
10.On click of the ‘Replace Keywords’ button, the mappings made will be displayed. The keyword mappings for the same are to be done by performing the following steps.
Replace Object – Replace Keywords
11.Expand any mapping entry, to update their respective keywords used within the screen’s dependent test scripts.
Replace Keywords – Expand mapping entry to replace keywords
12.After the keyword mappings have been made for any mapped objects, click on the ‘Save’ button associated with the mappings to successfully perform the object and its keyword(s) replacements.
Note: Only one mapping (object mapping with its dependent keyword mappings) can be saved at a time.
Replace Keywords – Save replaced keywords for mapped object
13.On click of the ‘Save’ button, a confirmation message is displayed.
Object and keyword replacing confirmation
14.Upon confirmation, a message stating “Scrape Data Replaced Successfully!” is displayed.
Note: Newly scraped objects which were not used for replacing will be discarded.

Compare Object

This feature can be used to compare already identified objects with their current properties on the web page and update the required objects.
1.Click on the Compare Object icon.
Object Identification Page – Compare Object
2.On clicking compare object icon, a pop-up with browser options will be displayed. Select the required browser.
Compare Object Pop Up
3.The selected browser and Avo Assure object identification window is opened. ICE will automatically navigate to the URL that was last used during object identification. Click on the 'Start Compare' button to start the process.
Start Compare
4.After comparing is finished, navigate to the object identification page.
5.If there are any changes in object properties, the Update and Cancel button are displayed along with the changed object list. Select all the checkboxes for the objects which need to be updated.
Object Identification Page - Updation of Objects
6.Click on Update button to update the objects properties. Objects will be updated successfully.
Objects updated successfully
7.Click on the Cancel button to retain the objects properties.
8.If there are no changes in objects properties, the Cancel button will be displayed along with the unchanged object list.
9.If the user is trying to compare an object which doesn't exist in the AUT then Cancel button will be displayed along with object Not Found list.
Objects not Found

Create Object

This feature can be used to create an object and specify the identifiers with which the objects can be uniquely identified.

Creating a New Object

1.Click on the Create Object icon present in the Action Bar of the Object Identification Page.
On Click on Create Object
2.Create object pop up appears.
Create Object Pop Up
3.Enter the object name, select the object type and enter the properties such as URL, Relative Xpath, Absolute Xpath, ID, Name, Class, Query Selector. Click on Save to save the properties of the object.
Input Object Properties
4.Click on Delete icon to delete the object, click on Edit icon to edit an object and click on Add icon to add a new object.
Delete, Edit and Add Objects
5.Click on the Submit button to add all the created objects to the screen.
Addition of Created Objects to Screen
6.After creating the objects, the following success message will be displayed.
Addition of Objects - Success

Editing Created Object

1.Select the created object and click on the ‘Edit’ button.
Selecting created object to edit its details
2.The Edit Object pop up appears.
Edit Object
3.Perform necessary changes and click on the ‘Save’ button.
Edit changes saved
4.Click on the ‘Submit’ button.
Submitting edited object changes