Question
Last activity: 30 Dec 2019 16:03 EST
Automation Testing in Pega 8
Hi Team, I would like to know if we have regression testing capabilities covered in Pega Infinity 8 platform. How strong is Pega 8 platform from automation testing perspective.
***Edited by Moderator: Pallavi to update platform capability tags***
- Model-based scenario testing
- Unit testing: nested test suites
- Data-test-id support for repeating dynamic layouts


Ordina System Integration & Development BV
NL
Is there any documentation/tutorial available on this? I am looking for a way to automate the following kind of tests:
Chain test a case with multiple users which use not only pega but also a web interface
Test connectivity to external parties
Test connection and use data from soap and rest calls for a chain test
making a test dashboard
Scheduling automated tests.
So far I have only been able to find pages in the community which tell me that this is possible in pega 8.1. I have not been able to find any instructions including the 8.0 CSA Which would be logical if scenario testing has only be added in 8.1(https://community1.pega.com/community/pega-support/question/ui-based-tests-automated-scenario-testing)
This tells me sort of how it works (https://community.pega.com/knowledgebase/articles/create-ui-based-tests-automated-scenario-testing) however in the 8.1 personal edition I am not able to get it to work.
A tutorial would be much appreciated!
Hello!
The following links should be able to answer most of your doubts:
- https://community.pega.com/knowledgebase/articles/whats-new-pega-platform/devops-and-automated-testing
- https://community.pega.com/video-library/pega-81-update-whats-new-automated-testing
Thank you,
Pawan
Hi,
Pega 8 is pretty strong in supporting automated testing. It has some inbuilt features that are very useful for supporting your automated regression test. For instance, PegaUnit is very useful for your unit tests, but it can also be used to check the connectivity to external parties (create a seperate suite which runs unit tests on the data pages/activities that use the connections).
You can also use the OOTB API to support your higher level tests (e.g. create/update/retrieve cases, assignments and data).
For UI testing, Pega has released scenario testing (make sure you open a case portal and click the gear on the bottom right to reveal the automation recorder). However, at this time we do not use it for automated UI-regression tests. It is pretty suitable for smoke tests, but when you want a maintainable, robust UI testsuite, I would recommend a non-Pega tool for now.
But I think scheduling of Test Suite has been removed from version 8, right? Is it also available.
P.S. I don't have version 8.x available to see the capability.