System Task Scheduler - processes
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- System Task Scheduler
- Task Scheduler Status - Widget
Scenario 1: 'System Task Scheduler' - Task Process(s) validation
Specific Setup:
- 'View Definition' form has been used to add the ‘Task Scheduler Status’ widget to Home View for the logged in user
- In form "System Task Scheduler", have or create a task [TaskA] that can be selected in "Schedules" field. For this test, a "State Form Definition" form file was created that selects all records in the "SYSTEM.patient_current_demographics" table and the definition was then set up in the "State Form Task Scheduler" as a task.
Steps
- Open form "System Task Scheduler".
- Select [TaskA] from the "Schedule(s)" field
- Select "Hourly" in the "Recurrence Pattern" field
- Enter "1" in "Task Occurrence Sequence" field
- Select today's date [DateA] in the "Range of Occurrence", "Start By" field
- Select the desired start time in the "Range of Occurrence", "Start Time" field, note the time entered [StartTime]
- Select tomorrows date [DateB] in the "Range of Occurrence", "End By" field
- Set the desired end time in the "Range of Occurrence", to be after "3:00 AM" the next day, for example "4:00AM". Note the end time entered [EndTime]
- Click "Schedule Task"
- At the home screen, refresh the ‘Task Scheduler Status’ widget
- Ensure [TaskA] is listed with the expected "Last Run Date" [DateA] and "Last Run Time" [StartTime] noted in step 1
- Refresh the widget periodically, for example every 5 or 10 minutes before another hour has passed
- Ensure just one row is listed for [TaskA] and it still displays the same "Last Run Date" [DateA] and "Last Run Time" as in step 2a
- Wait till one hour has passed since the [StartTime]
- Click to refresh the "Task Scheduler Status" widget
- Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" as today's date [DateA] and the "Last Run Time" equates to [StartTime] plus 1 hour
- Wait until another hour has passed since the [StartTime]
- Click to refresh the "Task Scheduler Status" widget
- Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" as today's date [DateA] and the "Last Run Time" equates to [StartTime] plus 2 hours
- Repeat step 4 periodically, for example every 3 hours up till before the [EndTime]
- Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" still as today's date [DateA] and the "Last Run Time" equates the [StartTime] plus the number hours that have passed since the [StartTime]
- Wait till the next day and when [EndTime] noted in step 1 has passed
- Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" as the [DateB] and the "Last Run Time" is equal to [End Time] noted in step 1
|
Topics
• System Task Scheduler
|