Question

2
Replies
61
Views
Close popover
Karolina Davis (Karolina@TT)
TalkTalk

TalkTalk
GB
Karolina@TT Member since 2018 2 posts
TalkTalk
Posted: January 24, 2020
Last activity: January 29, 2020
Closed

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)

Enterprise Application Development Dev/Designer Studio DevOps Testing Applications
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.