To open a captured page object model in Test Modeller, select the relevant context and navigate to the "Models" tab. Click on a Page Object Model to inspect it.
A page object model contains every scanned page object, categorized row-by-row by type and element name. Expanding a given row will display the captured information associated with that element:
The captured information includes:
The parameter: the identifier that will be used by automated tests to interact with the page object.
The identifier type, for instance ID, class name, type, and path type.
The confidence rating: the likelihood that the element will exercise that page element during automated testing.
Click a row's blue edit button to edit, add, or remove identifiers associated with a given element:
To delete an identifier from a given element, click the red cross button for that row. The identifier will no longer be used by automated tests to exercise that element. Clicking "New Identifier" will add a new row:
Select an identifier type, specify the ID, and click "OK". The identifier will now be used by automated tests to exercise the edited element.
Click "new object" in the Page Object viewer to manually add a new page object. Provide an object name, add identifiers by row, and then select the identifier type and specify the ID.
Any changes made to existing page objects that are linked to models will be reflected automatically in the automated test pack. This provides a quick and centralised approach to editing and maintaining existing automated tests. Elements are updated across every automated test in which they feature in, saving time when compared with repetitiously updating every test individually.
TEST MODELLER UI SCANNER