For verifying the functionality of a new process and its associated UI elements, the combination of
creating scenario tests and adding explicit assertions is most effective.
A . Add explicit assertions on the UI elements: Assertions are used in testing to verify that a UI
element is in the expected state or contains the expected value after certain interactions have
occurred. They are crucial for ensuring that the UI behaves as intended, making them an integral part
of thorough testing strategies.
D . Create a scenario test for the case type: Scenario tests allow you to record a sequence of
interactions within your application to simulate real-world usage. Creating a scenario test for a case
type enables the recording and playback of interactions, including navigating through the process
and inputting data into fields, to verify that the entire case behaves as expected from start to finish.
Both options, when used together, provide a powerful approach to testing by allowing you to define
and verify the expected behavior of UI elements within the context of the complete process flow of a
case type.
Reference: Pega Academy materials on scenario testing, which include instructions for creating
scenario tests and adding assertions to ensure the accuracy of both the process flow and the UI
element interactions.