Posted: 18 Apr 2019 7:47 EDT Last activity: 10 Jun 2019 2:41 EDT
Pega Unit Testing for Sub Flows
I want to create a test case for subflow. But I can't use record test case option from the subflow actions tab as it is not really taking me to actual subflow and needs to recorded from parent flow(pyStartCase) only. I red in pdn that test case for sub flow would be against parent flow only, so I tried to record the test case from parent flow itself but whenever there is an assignement created and routed to some WB/WL, the record test case option is getting disappeared. Can someone please suggest the way to create tests case for sub flows ?
***Edited by Moderator Marissa to update platform capability tags****
"whenever there is an assignement created and routed to some WB/WL, the record test case option is getting disappeared"
This should be same observation with the normal flows also. Should not be specific to subflows. To test your flows, I think you need to route all the assignments to current operator or run your test-case with an operato(Eg:Admin) who has master access to all the assignments.