State Form Task Scheduler
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form Task Scheduler
- System Task Scheduler
Scenario 1: Scheduling a "State Form Definition" file(s) to be sent to an "FTP" Server (File Type - 'SFTP-Password')
Specific Setup:
- Have two state form definition files created in form "State Form Definition" [DefA] and [DefB]
- In form "State Form Definition", [DefA] and [DefB] have the following fields populate:
- The "File Path" field is populated with a directory location [FileLocation], that exists on the logged in users workstation
- In form "State Form Batch Creation" a batch file [Batchfile], has been created that contains state form definition files [DefA] and [DefB]
- Have an "FTP Server" set up to receive files
- Have the following "FTP Server" information available in order to populate the "State Form Task Scheduler" form during testing:
- The "Service Directory" location
- The "Server Host Name"
- The "Server Port Number"
- The "Server Username" field
- The "Server Password" field
Steps
- Open the 'State Form Task Scheduler' form
- Select [DefA]
- Select "Yes" in the "Create File" field
- Select "Yes" in "Send File To FTP Server" field
- In the "FTP Type" field, select "SFTP - Password"
- Based on the valid FTP values stated in the setup, populate the following required fields:
- "Server Host Name"
- "Server Port Number"
- "Server Username"
- "Server Password"
- "Service Directory"
- Click [Test FTP Connection]
- Validate test is successful
- For each FTP field populated in step 1e, enter an invalid value
- Click [Test FTP Connection]
- Validate the test is not successful
- Set the field back to the valid entry
- Submit the form
- Validate the form files successfully
- Open form "System Task Scheduler"
- Select the task set up for [DefA] in step 2 from the "Schedule(s)" field
- Populate the "Recurrence Pattern" field with desired value
- Populate the "Task Occurrence" field with the desired value
- Populate the "Start By" field with the desired date for the task to start
- Populate the "Start Time" field with the desired time for the task to start
- Select "No" in the "Inactive Task" field
- Click [Schedule Task]
- Close the form
- When the scheduled start by date and time for task filed in step 3 has passed:
- Validate the state form file [DefA] exists in the folder [FileLocation] on the logged in users server, set in step1
- Open the file
- Validate data results are as expected
- Validate the state form file [DefA] exists in the [Service Directory] location on the "FTP" server, specified in step 1e
- Open the file
- Validate date results are as expected
- Repeat steps 1 and 2, selecting the batch file [DefB]
- When the scheduled start by date and time for task filed has passed:
- Validate the state form file(s) [DefA] and [DefB] exists in the folder [FileLocation] on the logged in users server, set in step1
- Open each file
- Validate data results are as expected
- Validate the state form file [DefA] and [DefB] exists in the [Service Directory] location on the "FTP" server, specified in step 1e
- Open each file
- Validate date results are as expected
|
Topics
• NX
• State Form Task Scheduler
|
State Form Task Scheduler
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form File Generation
- State Form Task Scheduler
- System Task Scheduler
Scenario 1: "State Form Task Scheduler" - Scheduled a task for a' State Form Definition' file (Create File - No)
Specific Setup:
- Have a state form definition file created in form "State Form Definition" [DefinitionA] with the "File Path" field populated with a valid folder location on the Avatar server. Make note of the folder location
Steps
- Open form "State Form Task Scheduler"
- Select "Single Definition" in the "Type" field
- Select the [DefinitionA] from the "Select Batch or Definition" drop down list
- Set field "Create File" to "No"
- Set the "File Description" field to a desired file name
- Select "Static" in the "Change From Date"
- Set the "Static Date" field to today's date
- Select "Static" in the "Change Through Date"
- Set the "Static Date" field to today's date
- Select "Yes" in the "Create File" field
- Click [Submit]
- At the dialog, "Filed. In order for compiles to be run, the new task must be scheduled using the 'System Task Scheduler' form", click [OK]
- Open the "System Task Scheduler" form
- In the "Schedule(s)" field, select the task created in step for [DefinitionA] in step 1
- Select a desired recurrence type pattern from the "Recurrence Pattern" field. For example "Daily"
- Populate a desired value in the "Task Occurrence Sequence".
- Populate the "Start By" field with today's date
- Populate the "Start Time" field with a time later than the current time
- Click [Schedule Task]
- Close the form
- Wait till the "Start Time" set in step 2 has passed
- Open the "State Form File Generation" form.
- Select [DefinitionA] in the "State Form" field
- Select "Dump File" in the "File Generation Options" field
- In the "Select File" field, select the compiled file for [DefinitionA], generated by the automated task set up in step 2
- Click [Process]
- Validate data displayed on the report is as expected
- On the Avatar server:
- Navigate to the folder location noted in the setup, where the state form file was set to be created
- Validate no file was generated, as expected since field "Create File" was set to "No" in step 1c
|
Topics
• State Form Task Scheduler
|