Generate Page Object Models (POMs)
Page Object Models (POMs) are structured representations of your application's pages, identifying interactive elements and their properties. CaseRunner generates POMs from the uploaded page metadata.
Prerequisites
- Pages Metadata must be uploaded and processed.
- Features should be extracted (used to contextualize POM generation).
Steps
- Navigate to the Pages Metadata tab and select the pages you want to include.
- Go to the POMs tab.
- Click "Generate Page Object Models".
- Wait for the generation to complete.
Note
When generating a Page Object Model, the pages metadata uploaded for the project will be used along with the extracted features for context.
Reviewing POMs
Once generation is complete, you will see a list of generated POMs. Each POM corresponds to a page in your application and contains:
- Page elements and their locators
- Element types (buttons, inputs, links, etc.)
- Element properties and attributes
You can review and edit the generated POMs in the built-in editor if adjustments are needed.
Next Step
Generate Test Cases using the POMs and extracted features.