Question

2
Replies
60
Views
Karolina@TT Member since 2018 2 posts
TalkTalk
Posted: January 24, 2020
Last activity: January 29, 2020

Unable to pass AUT for when rules using ootb function checking page list values

Unable to pass AUT for when rules using ootb function checking page list values. The default expected results is not recognizing the page list instead treating it as a page.

Steps to reproduce the issue:

  1. Configured a When rule as below
  1. When a Test case created for this When rule its getting failed(Highlighted part is expected results). Instead of page list (.Error.Errors()) it is defined as a page (.Error.Errors).

  1. We used set up data transform to set values for .Error.Errors(1).ErrorCode=IPBM2004.

  1. This is causing the test case to fail and is throwing error in tracer as shown below With

The property RunRecordPrimaryPage.Error.Errors was of mode Page List while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setValueOverride(Object) was expecting a String or Page mode. Details: (none)

Low-Code App Development Dev/Designer Studio Low-Code App Development Testing Applications
Share this page LinkedIn