Ask the Expert - Test Automation with Prasad Vadlamudi

Join Prasad in this month's Ask the Expert session on Test Automation!

Meet Prasad: Prasad is a senior product manager for Pega test automation area. He has been working with Pega for about 1.5 years. He owns out of the box unit testing capabilities in Pega platform using PegaUnit framework. He has been managing the demos and workshops across various stakeholders and helping teams to adopt the framework.

Message from Prasad: Hi, PegaUnit is a simple and easy to use framework which improves the speed & quality of your application testing. Please post your doubts, queries related to this area and I will be happy to answer them.

Ask the Expert Rules

  • Follow the Product Support Community's Community Rules of Engagement
  • This is not a Live Chat - Prasad will reply to your questions over the course of this two-week event
  • Questions should be clearly and succinctly expressed
  • Questions should be of interest to many others in the audience
  • Have fun!

Group Tags


Keep up to date on this post and subscribe to comments

September 4, 2017 - 5:25am

Hi Prasad

automated test suites within PEGA for testing connections.  What are options for efficiently testing connection points as we move through enviornments or add new functionality? Does Pega offer any automated testing functions?

September 6, 2017 - 7:53am
Response to sravankumarp5787

Hi Prasad,

Can I have a answer to this query.


Thank you.

September 6, 2017 - 8:35am
Response to sravankumarp5787

Hi Sravan

I have replied to this query which is acknowledged by you.

<excerpt from the below reply>

Right now we are not providing automation for integrations & advise users to use tools like soap UI or wrap them with data pages / activities and use PegaUnit framework.

September 4, 2017 - 5:48am


Please find the link to the PegaUnit documentation in PDN.


September 4, 2017 - 6:57am
Response to Prasad.Vadlamudi

Hi Prasad,


I want to Automate the connections (like Soap) when we move to different environments like (Production) it should automatically test the connection and should display the connection is established successfully. 

The below link https://pdn.pega.com/pegaunit-testing/pegaunit-testing it shows only for some rules not for the integrations.how can we achieve the automating the connections in the integrations?.

Thank you.


September 4, 2017 - 8:11am
Response to sravankumarp5787

Hi Sravan,

I gave that link as a general starting point for PegaUnit framework. It was not a reply to your query:-). Sorry about that. Right now we are not providing automation for integrations & advise users to use tools like soap UI or wrap them with data pages / activities and use PegaUnit framework.


September 14, 2017 - 12:26pm
Response to Prasad.Vadlamudi

Good One. Thanks.

September 4, 2017 - 8:28am

Hi Prasad,

Thank you for your reply.

September 6, 2017 - 1:31am

HI Prasad,


is there any course available in PDN for PegaUnit?




September 6, 2017 - 2:21am
Response to PrernaK7

Hi Prerna

There is no course for PegaUnit yet in PDN. We will be launching a course & few demo videos very soon. For now, you may please go through below documentation & in case of any queries/doubts, please approach us and we will be able to help you out.




September 6, 2017 - 1:50am

Hi Prasad,

Can you suggest any tool / feature within Pega that helps to automate PEGA screens and their actions. Thanks! I do not think AUT can help in UI automation. 

September 6, 2017 - 2:25am
Response to Ajithkumar_R

Hi Ajith

We have plans to extend PegaUnit framework to cater UI automation (Sections & respective actions). As of now, there is no in-built feature for this purpose. You may leverage flow automation (Using PegaUnit) to verify the results of UI actions in the whole process but as such not the UI components.



September 8, 2017 - 5:59am
Response to Prasad.Vadlamudi

Thanks Prasad..

September 6, 2017 - 4:08am


How would you suggest to integrate PegaUnit with an already existing selenium suite of tests. Can Pega unit be called via an API? Could we pass expected test data to it for example?

Thank You,

September 6, 2017 - 8:54am
Response to Anna_B_Buchanan

Hi Anna

PegaUnit provides a service to trigger the test cases from any external system and returns test results in XML format. Please refer to the link below to understand more about it.


As the data (input & expected output) is tightly coupled with the test cases, it is not possible to pass any expected data to these test cases.

September 7, 2017 - 7:07am

Are there future plans to release more PegaUnit test REST calls besides 'pzExecuteTests'? We would like to integrate our Valori Data subsetting and anonimization solution with PegaUnit (and any other Pega Framework). Data subsetting and anonimization is quite a daunting challenging, but mandatory due to government regulations. Automating this process saves a lot of time and will even be beneficial to unittesting.

September 8, 2017 - 3:00am
Response to Michel Kraaij


There are currently don't have any plans to release more REST services which can offer data masking / sub-setting capabilities. Reason behind this is that the test data is tightly coupled with the PegaUnit test cases. One may use the existing service to select which tests to be executed but not with what data they should be executed with. If you referring to something else, please let us know what type of APIs are you looking for and your requirements, so that we can get back more precisely.

September 7, 2017 - 3:15pm

how to move code and zip file to production tell me the process from first ot last

September 8, 2017 - 3:04am
Response to kalyanp7


If you are referring to the code related to test cases/suites, then it is very much similar to your other rules in Pega. Test case / suites in Pega are nothing but rules. So, the process of RAP, import remains same. The general guidance is to store all test case / test suite rules in a separate ruleset, so that you can restrict shipping of any such test rulesets to environments like production where you don't want your tests to be visible.

September 8, 2017 - 4:21am

Hi Prasad

I have a scenario where Pega unit test is not working. Please let me know if there is any way to achieve this


I had created the test case using flow .

1. On Submit of a work object 2 assignments are getting created.

2. From review harness , Other Actions -> if we perform recall,  the flow is getting rerouted to initial stage.

3. after performing update continue the flow and resolve work object.

After recording the test case and if I run the test case , the work object is stuck at the point of recall and test result is failing as the flow is not able to progress further and other assertions are not working. 

Is there a way to progress the flow?

Please Note: Recall functionality is customized in our application 

September 11, 2017 - 7:25am
Response to pals3

Hi Pal

Any customized actions may not work with this framework's current version as it supports only the out of the box local actions & flow actions that are configured as part of the flow or case type. It's a known limitation.

September 8, 2017 - 5:20am

In case we have a Straight Through Process (no human intervention), I guess we cant record the Unit Test cases. How would you suggest to test such flows with PegaUnit Test?

September 11, 2017 - 8:03am
Response to KunalKakade


Even if there is no human intervention or the flow doesn't need any inputs from user, we can still go ahead and record a test case using the "Create test case" button that is shown once the flow execution completes.

September 12, 2017 - 9:09am

Hi Prasad - I am currently working on Jenkins CI/CD Pipeline implementation for a Pega project on top of Pega 7.2.2 platform. I have the following questions on Pega Unit Test.

1. Can we use PegaUnit to define test cases for application flows which are built on some Pega Framework say Pega Survey, Pega CPM which might have custom rules like "Question", "Intent" and so on? Or does it only support vanilla Pega application(s)?

2. Does PegaUnit in platform 7.3 provide full end to end coverage of all types of rules? Even for Pega Frameworks?

3. Is there any limitation of PegaUnit for Pega 7.3 platform? 




September 13, 2017 - 6:43am
Response to ArnabD75

Hi Arnab

For all PegaUnit supported rules you are creating in your application you can create test cases using PegaUnit framework, irrespective of the applications it is built-on. Flow & Case type rules are supported only in 7.3 version by PegaUnit but not in 7.2.2. As of 7.3, most commonly used rule types are supported but there are other rule types which are yet to be supported. PDN can be referred to know the list of rule types.

September 13, 2017 - 11:40am

Hi Prasad,

When creating a test case for flow/case type rule. There is an OOTB Data transform created for user inputs under the Recorded case section with a shortcut link labelled “View test data”. Is there a way to customise the name used for this Data transform without editing the OOTB activity rule (ID: Save, Ruleset: Pega-AutoTest) during the creation?

Thanks in Advance

September 14, 2017 - 7:16am
Response to RuairiM5

Hi Ruairi

There is no way other way to change the auto generated name for the data transform used to store the user inputs. As the activity that generates this name is Pega's internal code, it is not advisable to modify or overwrite it as it may have other impacts during upgrades. Is it that you want to follow your own naming convention for the DT or something else?

September 14, 2017 - 7:37am
Response to Prasad.Vadlamudi

Hi Prasad,

We would like to follow our own naming conventions for this DT Rule. But if there is no way to do this at present then maybe it could be considered as an update in the future :)

Thanks for you quick response.


September 15, 2017 - 8:14am
Response to RuairiM5

Sure. Will consider. Thanks for the feedback:-)

September 15, 2017 - 3:42am

September 15, 2017 - 8:18am

My sincere thanks to people for trying out the framework and coming up with queries and feedback. We will keep working on them & try to make automated testing more efficient for Pega community. 



September 15, 2017 - 8:36am

Thank you for the great discussion and special thanks to Prasad for being a wonderful expert in this Ask the Expert session!

Lochana | Community Moderator | Pegasystems Inc.