Creating role-specific scenario tests
For more comprehensive and improved testing, you can create role-specific scenario tests that record interactions between your application and a user with a specific role. Then, you can conveniently run scenario tests for all access roles that your operator includes. For example, if you are an administrator with access to access roles of a manager and an HR worker in an HR application, you can create and then run tests that focus on interactions assigned to an administrator, a manager, and an HR worker.
- Ensure that you have the access group for which you want to create a scenario test. For more information, see Defining operator contact information and application access.
- Create a test ruleset in which to store the scenario test. For more information, see Creating a test ruleset to store test cases.
- Add the pxScenarioTestAutomation privilege to your access role. For more information, see Granting privileges to an access role.
- Set the pzPegaSUT dynamic system setting to true. For more information, see Configuring dynamic system settings.
- Start creating a scenario test.For more information, see Creating scenario tests.
- After you finish recording the scenario test, on the New test case form, select the Role specific test checkbox.
- In the AccessGroupInfo field, provide an access group
that applies to the test.
For example: To indicate that the scenario test applies to the UI that an HR worker views, select MyApp:HRWorker. - Click Save.

Previous topic Pega Test Automation Kit 1.5 Next topic Pega Test Automation Kit 1.4