Question

3
Replies
336
Views
Andrew Carmon (AndrewC0382)
DWP

DWP
GB
AndrewC0382 Member since 2016 3 posts
DWP
Posted: July 10, 2019
Last activity: August 6, 2019
Posted: 10 Jul 2019 8:58 EDT
Last activity: 6 Aug 2019 5:22 EDT
Closed

Creating a Test Case for date manipulation in a Decision Table

The decision table works as expected in the application.

I am attempting to create a test case for a decision table. This table takes a string of text, and returns an altered datetime value

I added a Data Transform to the test case to set the ScheduleDate, as well as the pyCalendar value,.

The top condition passes the test, but the second condition evaluates based on CurrentDateTime rather than the ScheduleDate. Is there something I can do in my test case to ensure that it returns a date value based on ScheduleDate rather than the current date?

Low-Code App Development Enterprise Application Development Dev/Designer Studio 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.