Architect Page Objects Creation Overview
Creating a Page Objects with Architect is done in the same way as creating a test case in Architect. The only difference comes when saving, the user should select Test Type: Page Object.
How to Create a Page Object in Architect
-
To begin, click on + New Test
button in the upper right corner of the screen and select Architect from the drop-down menu
Note: The Architect plugin must be installed in Chrome browser. - Enter the starting URL
- Check the box I understand that no production credentials should be used in my test case
- Click Start and the URL of the application under test will open, and the Architect will launch
-
In this example, we will create a Page Object by walking through the test case, allowing the Architect to record the steps, as shown in the screenshot below:
- Once you have finished recording the page object actions, click Save
-
Give the page object a Name, and then click Continue
-
Identify these recorded actions as a Page Object from the Test Type dropdown menu
-
Confirm the Page Object Name and then click the Save button
-
The Page Object will be saved under the Page Object tab on the Test Listing page
- This page object can now be used/added in any test case
See also Set a Page Object Within an Existing Test Case.