You are here: Record management > Rule and application testing > PegaUnit testing > Page assertions
Page assertions
You can configure page assertions to determine if a page exists on the clipboard or if a page has errors.
You can configure page assertions on the following types of pages:
- Embedded pages
- Data pages
- Data pages with parameters
- Embedded pages within data pages that either have or do not have parameters
- Top-level pages
For example, an activity runs every week to check the last login time of all operators and deletes any operator record (page) from the system if the last login was six months ago. When you test this activity:
- Set up the clipboard to load an operator page that has the last login time as six months ago.
- Create a page assertion that ensures that the page no longer exists after the activity runs.
Open topic with navigation