Pega Scenario Testing

Is it possible to run a part of a scenario test and then change persona at a point in the process, and then have the scenario continue under the new persona? E.g. simulating real world handovers of a case.

@DUGGM

AS of now scenario testing does not support persona based testing. you can find full limitations and possibility with scenario testing here Limitations of Pega Scenario testing | Support Center

@RajeshVenkata Hi Rajesh, as per the latest PegaTestAutomationKit 1.5 version, pega scenario testing is supporting the Role-Based testing.

But when we try to run the test cases from the Application landing page as an individual test case or from the created suite, test execution is failing immediately and throwing error message as below-

“During the execution of testcase, the scenario testing framework has caught some javascript errors. Please make sure to fix the application javascript logic generated errors and try running again.”

In one of your previous thread, it was said like, this is will be taken care as part of PegaTestAutomationKit 1.4 version, but still it remains the same in 1.5 version.

could you please let me know if any patch is available for this issue?

Please find the screenshot attached for your reference.

Your help is highly appreciated. Thanks.

@RamakrishnaU5813

Scenario test fails if your application has any js errors generated during scenario test runs. those js errors are related to application, until application team fix the js error scenario test fails with same reason.

Could you please share js error in console while running scenario test?

Could you please share application screen shot showing PegaTestAutomationKit added to your application?

@RajeshVenkata Please find the attached screenshots specific to

1.PegaTestAutomationKit 1.5 version which is the latest used for Role Based Testing. Please note that, It is displaying as version 1 instead of 1.5, so i selected the version as 1.

2.js error in the console.

But i am using the default customer service case type (Schedule Activity) for demo purpose. It is running fine when we run it from the specific portal Toggle Automation tool bar (Run and Debug are working fine).

But the same test case when we run from the Application landing page->Test Cases or Test Suites, throwing the js error even for the Schedule Activity case Type available in CS framework.

Could you please provide any work around to execute the recorded scripts from the application landing page if available.

Thanks

JSError_PST.docx (390 KB)

@RamakrishnaU5813

From the screen shot of error, its clear that its application generated errors, there are around 107 errors shown in screen shot. these errors are to be fixed by application team. scenario testing team simply catches those errors and stops execution.

To discuss about the issues fast, you may create support request.