Adding an Existing Page Object During Test Case Creation in Architect

Once a Page Object (Resusable Element) has been created, it can be added at any time during test case creation in Architect.  

How to Add an Existing Page Object During Test Case Creation

  1. Page Objects, once created, are stored in the Page Objects tab on the Functional Test page.mceclip0.png
  2. To add an existing page object to a test case during creation, launch Architect for the application under test. *In this example, we will be adding the Page Object = Demo Site_Page Object to a test case during creation.
  3. To add the page object, click on the + Type Instructions in Architect to open Advanced Actions.
  4. Select Page Objects (see below)  mceclip1.png
  5. Select from the list of available (already created) page objects.  Here we are selecting Demo Site_Page Object. mceclip2.png
  6. This will open and display the list of test case steps related to this page object. See below:mceclip3.png
  7. Click Add to add this page object to the test case steps.
  8. The page object has now been added to the test case, noting the PO flag in green. mceclip4.png
  9. Proceed as usual, recording the steps in the test case.  
  10. When test case creation is complete, proceed to Save and name the test case, with the page object included.  Noting, the Test Type = Test Case.