Architect Page Objects Creation

Architect Page Objects Creation Overview

Creating Page Objects with Architect is similar to creating a test case. The main difference lies in selecting the test type as "Page Object" when saving.

How to Create a Page Object in Architect

Step 1: Begin the Process

  1. Start a New Architect Test: Click on the   + New Architect Test button in the upper right corner of the screen.

    Note: The Architect plugin must be installed in the Chrome browser.

  2. Enter Starting URL: Input the URL of the application you wish to test.

Step 2: Launch Architect

  1. Confirm Understanding: Check the box stating, "I understand that no production credentials should be used in my test case."
  2. Start Architect: Click Start. The URL of the application under test will open, and Architect will launch.

Step 3: Record Actions

  1. Record Actions: Walk through the test case, allowing Architect to record the steps.

Step 4: Save Test case

  1. Save Recording: Once you have finished recording the page object actions, click Save.
  2. Name the Page Object: Provide a name for the page object and click Continue.

Step 5: Set as Page Object

  1. Test Type: Identify these recorded actions as a Page Object from the Test Type dropdown menu.
  2. Confirm and Save: Confirm the Page Object name and then click the Save button.

Step 6: Verify Page Object

  1. Locate Page Object: The Page Object will be saved under the Page Object tab on the Test Listing page.
  2. Use Page Object: This Page Object can now be used/added in any test case.

For further information, refer to Set a Page Object Within an Existing Test Case.