Editing Page Objects Overview
Page Objects can be edited as easily as test cases and are ready for use across a whole project.
- Open a project to the Test Listing page.
- Click the Page Objects tab in the left sidebar panel.
- Under the Actions column, clicking the Action button will open a menu: View / Rename Page Object / Delete.
- Selecting Rename Page Object will open a modal to change the name of the Page Object.
- Clicking View from the Action button menu under the Actions column will bring the user to the PO Details page.
- 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.
- Selecting Rename Page Object will open a modal to change the name of the Page Object.
- Open the Settings menu to check the Audit Log, Bulk Update Actions, Bulk Delete Actions, Remove/Add Global, and Lock Page Object.
- Click on Remove Global to open a popup window to remove the page object as global.
- Click on Lock Page Object to open a popup window to lock the page object.
Note: Only Site Admin, Team Admin and Project Admin can interact with the Lock Page Object button.
- Click on Remove Global to open a popup window to remove the page object as global.
- 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. - A modal will open according to the action selected, including any necessary parameters to set.
- 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.
- The inserted action is now included in the Page Object.
- As with test cases, all actions can be expanded to see the Settings, Flags, and Information available for that action.
- 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.
- 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
- Click the View button to the right of any action to see the Page Object in Slider View.
- As with test cases, all settings for each action are available by clicking the gear icon.
- Open the Actions (...) menu for options to Delete the action and on the Header under Action Quick Add and Local Edit Button are available
- Expand the action to access the Skip Action, Enable Force React, or Positional Selection flags.
- As with the PO Details page and all test cases, Click the Quick Add button at the step to see the Insert action.
Note: Only non-element-based actions are available to insert in a Page Object when in Slider View.
Additional Notes:
- 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.
- 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.