Hey folks,
I try here to give you reference for taking automation approach for PEGA automation projects. I have used UFT 12.02 for PEGA 7.2.2 version automation in one of my project. Following are checklist, which can help.
I try here to give you reference for taking automation approach for PEGA automation projects. I have used UFT 12.02 for PEGA 7.2.2 version automation in one of my project. Following are checklist, which can help.
- As PEGA application is rule based and flow based application, there were always few set of pages will be used in application. Before deciding framework, dry run the whole application flow for the pages behavior.
- As pages, might be limited, we can use object repository approach for the application as size will not grow. For few PEGAcontrols, we need to write descriptive programming as well. Mostly frame related problems occurs for few control identification.
- As it is rule based application, may be require to run different set of test with combination of test data to test the rules, but pages remains same. So try use data driven approach while using framework. Keep all the functions generic so with any combination of test data, we can use same functions.
- As its having flow based application too, driver script should having provision to calling different functions in sequences to drive the flow. Write module based functions for easy flow driven.
- Most of the flow driven by some actions like approve, reject etc., so write function in generic with switch cases to handle the different flow along with data passing approach.
- Few scenarios may be having multiple data at same flow, then there should be some provision to handle multiple entry of test data by passing argument in split way.
- Few controls are dynamic based on the conditions, so we can handle it using regular expression. for ex., few property values like , \strname1 can handle in as $\strname1, like that.
- Controls are similar to rest web applications for PEGA. UFT can identify it properly, there is no additional add ins require.
- For error handling, we can used on error resume next statement at function level.
- Facing sync issue for application, which hurdle in night run execution. so increase wait time much to avoid such things.
- Try to keep all function libary at module levels.
- Use environment variables for sharing constant value across test suite
- keep configuration files for easy project path references.
- keep files references at top level with public variable to access across the test suite for implementing rules.
- keep generic functions to connect external files, fetching values or rules to implement, export test results etc.
- while executing UFT , we need to enable add on in internet explore for PEGA.
Regards,
Trupti