Pega-Model
Overviewโ
The Pega-Model library is a culmination of our extensive experience in testing Pega applications. Our aim is to simplify automated testing, making it stable, fast, reliable, and easy to implement and maintain. The genesis of this library lies in the concept of reusable components, addressing the challenges posed by automating Pega testing, such as repeatable elements, sections, iframes with generic selectors, and a complex DOM structure.
The Pega-Model library adeptly handles these intricate scenarios, empowering even citizen developers to effortlessly implement straightforward test cases for Pega applications. No longer do you need to build each control from the ground up; instead, you can leverage existing controls. We've curated a wealth of control methods (e.g., for text input fields, dropdowns, autocomplete, radio buttons, multiselection fields, and other out-of-the-box Pega controls) and widgets (e.g., login, logoff, create case, menu, left panel, iframe, action button, etc.).
Continual enhancements ensure the reliability and maintainability of this library. A smart operator manager facilitates seamless parallel test execution, while a state-tracker contributes to test stability, eliminating the need for countless implicit waits. With Pega-Model, your tests become flexible, easy to construct, adjust, and reuse.
Follow these steps to get up to speed up ๐๐ผโ
-
Install the Pega-model library (you must have Test Maker installed too).
-
Give some meaningful data-test-id to Pega controls and UI elements used in the application (it is recommended, but it's not a must. It is possible to implements tests with any type of selectors: id, xpath, texts, etc.).
-
Implement the test cases in the Data-Driven style by applying Page Objects.
-
Use an Operator Manager to create the user pool to avoid conflicts in Pega, and to be able to run the test cases in parallel.
-
Enable an Is App Busy Evaluator.
-
Run easy to maintain, reliable test cases in different environments using 'extra' configuration settings.