Support Article
Scenario Based Testing fails to input value
SA-105979
Summary
During Scenario Based Testing, when re-executing the steps that require a value to be input in a Text field, the test cases fail. However, a value is never input in the Text field.
Error Messages
Not Applicable
Steps to Reproduce
- Log in as a user with Scenario Testing permissions.
- Launch the portal.
- Click the Gear icon.
- Click the Scenario Test icon.
- Click Create Test Case.
- Click Portal.
- Record the Interaction, including the step that inputs a value in to the Text field
- Stop and Save the test case.
- Launch the Scenario Testing tool in Pega Dev Studio.
- Select the checkbox next to the created test case
- Click 'Run Selected'. The test executes until it reaches a step in which a value must be input. It clicks on the Text input field, but does not input any value. After a delay, the test proceeds to the next step in the test case.
Root Cause
The test failed due to an invalid value that was set for the 'pzPegaSUT' Dynamic System Setting (DSS). The DSS had the value set as 'True' instead of 'true'.
Resolution
Perform the following local-change:
Set 'pzPegaSUT' DSS and the value as 'true' (lowercase).
Published July 25, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.