Question

1
Replies
145
Views
Jacob Berg (bergj)
PEGA
Lead Service Assurance Advisor
Pegasystems Inc.
US
bergj Member since 2015 1 post
PEGA
Posted: March 23, 2018
Last activity: April 2, 2018
Posted: 23 Mar 2018 13:27 EDT
Last activity: 2 Apr 2018 8:23 EDT
Closed
Solved

Test Case "is in" comparator

Has anyone successfully used the "is in" comparator for a List Assertion on a Test Case rule? I would like to test that the pyStatusWork values in a List Data Page are in a valid list. For example, D_RequestReport.pxResults(1).pyStatusWork = "Resolved-Completed" would be a valid result if the Expected Value list is something like ("Resolved-Completed","Resolved-Rejected", "Open"). If D_RequestReport.pxResults(1).pyStatusWork = "Resolved-Withdrawn" the result would be invalid, using the aforementioned list.

Please let me know. Thank you.

DevOps Testing Applications
Moderation Team has archived post, 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.