Editing Page Objects

Editing Page Objects Overview

Page Objects can be edited as easily as test cases and are ready for use across a whole project.

  1. Open a project to the Test Listing page
  2. Click the Page Objects tab in the left sidebar panel.

  3. Under the Actions column, clicking the (...) button will open a menu: View / Rename page object / Delete


  4. Selecting Rename Page Object will open the modal to change the name of the Page Object


  5. Clicking View from the (...) button menu under the Actions column will bring the user to the PO Details page


  6. The Page Object name can also be edited on the PO Details page by hovering over the name in the file path and clicking the pencil icon


  7. Open the Actions menu to check the Audit Log of the Page Object


  8. Hover over the space between actions to see the Insert Action button, click the button to open the Insert menu and select the action to insert into the Page Object
    Note: Element-based Actions can only be added via Slider View.


  9. A modal will open, according to the action selected, including any necessary parameters to set


  10. A second modal will open for you to confirm the addition of the action as well as the number of tests using the Page Object
    POConfirmTestInclusion.png

  11. The inserted action is now included in the Page Object


  12. As with Test Cases, all actions can be expanded to see the Settings, Flags, and Information available to that action
  13. Click the Action banner to expand the action, each action will contain a Settings and Advanced tab as well as buttons for Delete action, Local Edit, and Clone action


 Edit a Page Object in Slider View

  1. Click the View button to the right of any action to see the Page Object in Slider View


  2. As with Test Cases, all settings for each Action are available by clicking the gear icon


  3. Open the Actions (...) menu for options to open Local Edit or Delete the action


  4. Expand the action to access the Skip Action, Enable Force React or Positional Selection flags


  5. As with the PO Details page and all Test Cases, hover between two actions to see the Insert Action button
    Note: Only non-Element-based Actions are available to Insert in a Page Object when in Slider View.


Note: All the same functionality and more is available when a Page Object is included within a Test Case. In addition, the Slider View may be used for other advanced editing such as Smart Screenshots for Quick Select and Quick Add. Quick Select, unlike other edits to Page Objects, only affects that particular test for that particular browser.

Note: Page Object Parameterization may also be used from within a Test Case for scenarios where certain Page Object data may be different for specific test cases.