Creating an automated unit test case for a sub flow
I’m using pega 7.4. and using case types for our current implementation. I want to write test case for a subflow which is being called from a middle stage of the case type.
This sub flow required few properties which will be captured during earlier stages.
The record test case option is available on the sub flow. But there is no way to pass parameters or create a test page to capture the required data.
Question:
Can we start recording an unit test case for a middle stage by passing parameters or coping the current workpage ?
Or do we always have to start recording the test case from the beginning of the case type / from a starter flow and create the test cases when we reach the middle stage which we need to save the test cases on.?