Question

3
Replies
145
Views
LDEBLAAUW Member since 2010 10 posts
Ordina
Posted: November 26, 2018
Last activity: December 5, 2018
Closed

Pega UnitTest, how to deal with Fault scenario when data entry allready in database

Hi,

I am having some trouble in automating a Pega unit test with the following scenario. From a pega casetype/flow we are writing a (Person) entitity to the database. The happy flow scenario is no problem to test but where I am having some trouble in finding the correct way is to test the Fault scenario ie the Person record allready exists so the outcome of the flow is a fault. The test should still be green since the fault is expected but after having tried al sorts of properties and pages it seems the Pega Unit test allways fails.

Any hints, tips appreciated.

Regards,
Leo

Low-Code App Development Testing Applications
Moderation Team has archived post
Share this page LinkedIn