Question

3
Replies
262
Views
AndrewC0382 Member since 2016 3 posts
DWP
Posted: 1 year ago
Last activity: 1 year 1 month ago
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 Low-Code App Development Dev/Designer Studio Low-Code App Development Testing Applications
Moderation Team has archived post
Share this page LinkedIn