Pega snippet 8:
Get to know how we can use Scenario Test Case.
Background: We can use UI-based functional tests and end-to-end scenario tests to verify that end-to-end cases work as expected. With the UI-based scenario testing tool, developers can create functional and useful tests for single-page applications (SPAs) rather than write complex code. Access to the scenario test feature is granted with the @baseclass pxScenarioTestAutomation privilege. This privilege is available with the out-of-the-box PegaRULES:SysAdm4 role.
Steps to follow:
1. Lets create a test case by using Automation Recorder.
2. We can specify either a Case type or Portal scenario test.
3. The test case records information in clear, easy-to-read business scenario steps.
4. We can stop the recording and create the test case by clicking the Stop and save test case button.
5. We can give test case name and description.
6. We can select the test case.
7. We can run and verify the test case.
8. We can observe the test case is passed.