Question

3
Replies
284
Views
Close popover
Andrew Carmon (AndrewC0382)
DWP

DWP
GB
AndrewC0382 Member since 2016 3 posts
DWP
Posted: July 10, 2019
Last activity: August 6, 2019
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 Dev/Designer Studio DevOps Testing Applications
Moderation Team has archived post